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

32/64-bit Java Control Panel on 64-bit Operating Systems

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 8u40
    • 7u55
    • install
    • x86_64
    • windows_7

      A DESCRIPTION OF THE REQUEST :
      It is difficult to manage and configure java runtime on 64-bit operating systems when applications requires 32-bit and 64-bit java runtime to be installed for home-user and enterprises.

      It is known that if both the 32-bit and 64-bit versions of Java are installed on the same computer, this 32-bit Java Control Panel isn’t available in the control panel. (Per Java Control Panel -http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/jcp/jcp.html#update)

      In later version of Java 7 and Java 8, Start Menu program group have been added with shortcuts.
      (Common Start Menu = %ProgramData%\Microsoft\Windows\Start Menu)
      Java\
           - About Java
           - Check for Updates
           - Configure Java
           - Get Help
           - Visit Java.com

      This helps a little to overcome the issue with the Window’s Control Panel but then you have to install the software in an specific order. First the 64-bit then 32-bit java packages. Then that way the Window’s Control Panel will have 64-bit Java Control Panel and then in the Start Menu has the Configure Java shortcut option for 32-bit. But this is still not transparent to end-users and is a just a workaround but not a standard solution as if something happens and the software needs reinstalled it cannot be guaranteed it would be done in the correct order.


      JUSTIFICATION :
      Out of the box the installation should have the correct settings and configuration so that both 32-bit and 64-bit java runtime can installed and maintained without workaround or known issues.

      There are settings that sometime needs to be configured by end-users as one off settings for debugging as well general maintenance (temp files, proxy settings) that make it difficult to locate the Java Control Panel with the out of the box installation. This needs to be transparent to end-users and have a standard way to access the settings and feature accordingly.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I would expect that the 32-bit and 64-bit installation would not step over each other in the Start Menu.


      I would expect that the 32-bit and 64-bit installation create the correct Windows Control Panel applet for Java such as:
      Java (32-bit)
      Java (64-bit) or Java
      Note: I know that some vendors do not include the label (64-bit) on Windows Control Panel Applets since the system is 64-bit.

      If this is not the case then do not provide the Java Control Panel in the Windows Control Panel at all and rely on the Start Menu Program Groups accordingly. This can be corrected as explained in the following article:

      Developing for the Control Panel
      http://msdn.microsoft.com/en-us/library/bb757044.aspx

      ACTUAL -
      32-bit and 64-bit installation do step over each other in the Start Menu
      Actual Start Menu Program Group Name:
      32-bit = "Java"
      64-bit "Java"

      Suggest the following:
      32-bit program group is called "Java (32-bit)"
      64-bit program group is called "Java (64-bit)"


      32-bit and 64-bit installation only one Java applet in Windows Control Panel called “Java’. This instance is only the 64-bit. When uninstall 64-bit the 32-bit doesn’t show up and returns and broken applet that returns an error “Application not found”. This requires you to uninstall and re-install 32-bit to have Java (32-bit) to show up.

      Per Developing for the Control Panel
      http://msdn.microsoft.com/en-us/library/bb757044.aspx
      You need two unique CLSID for 32 and 64 bit for the Control Panel to show up correctly when both are installed.

      Default registry setting for both 32 and 64 bit installation.
      [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\ControlPanelWOW64\NameSpace\{4299124F-F2C3-41b4-9C73-9236B2AD0E8F}]
      @="Java"

      [HKEY_CLASSES_ROOT\CLSID\{4299124F-F2C3-41b4-9C73-9236B2AD0E8E}]
      @="Java"
      "System.ControlPanel.Category"="8"
      "InfoTip"="@C:\\Program Files\\Java\\jre7\\bin\\javacpl.exe,-2"
      [HKEY_CLASSES_ROOT\CLSID\{4299124F-F2C3-41b4-9C73-9236B2AD0E8E}\DefaultIcon]
      @="C:\\Program Files\\Java\\jre7\\bin\\javacpl.exe"
      [HKEY_CLASSES_ROOT\CLSID\{4299124F-F2C3-41b4-9C73-9236B2AD0E8E}\Shell]
      [HKEY_CLASSES_ROOT\CLSID\{4299124F-F2C3-41b4-9C73-9236B2AD0E8E}\Shell\Open]
      [HKEY_CLASSES_ROOT\CLSID\{4299124F-F2C3-41b4-9C73-9236B2AD0E8E}\Shell\Open\Command]
      @="C:\\Program Files\\Java\\jre7\\bin\\javacpl.exe"


            avshastr Avani Shastri (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: