JDK-7174696 : 64bit Java Webstart should be able to fall back to 32bit when needed
  • Type: Enhancement
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 7
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • OS: windows_7
  • CPU: x86
  • Submitted: 2012-06-06
  • Updated: 2015-05-28
  • Resolved: 2015-05-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Relates :  
Description
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.


JUSTIFICATION :
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 :
EXPECTED -
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
ACTUAL -
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