I am running a Java 32-bit app on Mac OS X Leopard via Web Start. I need to make sure the VM loads in 32-bit mode. How can I do this in the JNLP?
+2
A:
I found the answer right after I posted. In the "resources" tag you can do a line like below. The "-d32" will force the 32-bit VM load:
<j2se version="1.5+" java-vm-args="-d32" href="http://java.sun.com/products/autodl/j2se"/>
Ken
2009-09-25 16:00:19
A:
Unfortunately it does not work on Windows.
java -d32
produces following
Unrecognized option: -d32
Could not create the Java virtual machine.
Does anybody knows the answer?
Dmitry
2010-05-19 21:25:26
It seems to be impossible on Windows: *All other platforms (Windows and Linux) contain separate 32 and 64-bit installation packages. If both packages are installed on a system, you select one or the other by adding the appropriate "bin" directory to your path* (From http://www.oracle.com/technetwork/java/hotspotfaq-138619.html#64bit_description)
DR
2010-08-18 11:25:38