Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7174696

64bit Java Webstart should be able to fall back to 32bit when needed

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 7
    • Fix Version/s: 9
    • Component/s: deploy
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_7

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              herrick Andy Herrick
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: