A DESCRIPTION OF THE REQUEST :
After you install 64bit JRE on a machine, it will replace the file association within the system so that launching a JNLP file will start with 64bit JRE regardless.
There are a couple of ways we can enhance Java Webstart to remediate this:
1) Make 32bit browser launch JNLP file with 32bit Java Webstat and vice versa
2) Add attributes to the j2se tag to allow JNLP file to suggest that it prefers to run on 32bit platform, and for 64bit Java Webstart to be able to launch with 32bit JRE.
Launch with 64bit would be fine if the application is pure Java and able to work with 64bit JVM, but the JNLP application with 64bit Java Webstart if it uses 32bit JNI or pure java application might not be able to work with 64bit JVM (for example, larger object size might means that some of the Xmx assumption within the JNLP is wrong).
EXPECTED VERSUS ACTUAL BEHAVIOR :
Normally you would expect that 32bit Web Browser would launch with 32bit Webstart, or there is a way to access 32bit Java Webstart when both 32bit and 64bit Webstart is installed
32bit browser always starts with 64bit Webstart
---------- BEGIN SOURCE ----------
1) Create a simple Java Webstart application, which uses a 32bit JNI dll within the application
2) Install 32bit JRE, then install 64bit JRE onto the system
3) Launch the Java Webstart application with JNI code. You will find that it fails to run the 32bit JNI application.
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Remove 64bit JRE