jvm - Running java in 32 bit mode on windows 64 -


i need run java in 32 bit mode under windows 8.1 64 bit.

i have installed java 7 jre under c:\program files\java\jre7 (64bit jvm) , under c:\program files (x86)\java\jre7 (32bit jvm).

however, if cmd issue java -d32 -version, error:

error: java instance not support 32-bit jvm. please install desired version. 

without -d32 switch confirms running 64 bit jvm:

java(tm) se runtime environment (build 1.7.0_51-b13) java hotspot(tm) 64-bit server vm (build 24.51-b03, mixed mode) 

so opened java control panel , added 32bit jvm user installed jre (system tab not allow me change if running administrator), nothing changes.

i've read posts of users saying java 7+ -d32 mode should supported can't it. can me please?

note: please note cannot remove 64bit jvm because need other applications

i've found solution that. using launchj4 can wrap jar exe , can specify jre want use , force search 32bit jvm, set min , max version etc (see jre). wrapper automatically search installed jre's , chose 1 meets requirements.

also wrapping jar exe more convenient deploying application.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -