Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Forcing java 32 bit execution

807580Feb 16 2010 — edited Feb 17 2010
Is there a definitive way to determine all the JVMs (both 64 bit and 32 bit) installed on a system (windows) programatically? I know i can do it from java control panel but I am more looking how to find it from a script.

I have a 32 bit application for which I am trying to write an installer for. I want to install 32 bit java if it's not already installed and also force 32 bit java to launch my application if both 64 bit and 32 bit are installed. On Macs I know that there is a -d32 options, is there something similar on windows.

Somehow the whole 64 bit and 32 bit java execution is very confusing :(
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 17 2010
Added on Feb 16 2010
17 comments
3,216 views