2 Replies Latest reply: Sep 27, 2007 1:14 PM by 843802 RSS

    Disable Secure Static Versioning, JRE 1.5.0_10 - Unable to get this to work

    843802
      I have tried this workaround suggested in this posting. I require JREs 1.4.2_12 and 1.5.0_10 to BOTH work on workstation. Static versioning is not working. After trying to access a site that requires JRE 1.4.2_12 I can see that JRE 1.5.0_10 has updated many registry keys and JRE 1.4.2_12 is no longer accessible. Are there other settings that need to be set besides the EnableSecureStaticVersioning set to 0? Any insight anyone can provide would be most appreciated....thank you.....

      Overall here is what I have tried:
      Platform is Windows XP SP2, IE 6
      Install JRE 1.4.2_12.
      Install JRE 1.5.0_10 (I tried other JRE's too) with vendor defaults.

      ------I have set EnableSecureStaticVersioning keys as follows:

      [HKEY_CURRENT_USER\SOFTWARE\JavaSoft]

      [HKEY_CURRENT_USER\SOFTWARE\JavaSoft\Java Deployment]

      [HKEY_CURRENT_USER\SOFTWARE\JavaSoft\Java Deployment\Policy]
      "EnableSecureStaticVersioning"=dword:00000000

      [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft]

      [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Deployment]

      [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Deployment\Policy]
      "EnableSecureStaticVersioning"=dword:00000000

      ------I have set 8AD9C840-044E-11D1-B3E9-00805F499D93 keys as follows:

      [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID{8AD9C840-044E-11D1-B3E9-00805F499D93}]
      @="Java Plug-in 1.4.2_12"

      [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID{8AD9C840-044E-11D1-B3E9-00805F499D93}\Control]
      "+"=""

      [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID{8AD9C840-044E-11D1-B3E9-00805F499D93}\InprocServer32]
      @="C:\\Program Files\\Java\\j2re1.4.2_12\\bin\\npjpi142_12.dll"
      "ThreadingModel"="Apartment"

      [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID{8AD9C840-044E-11D1-B3E9-00805F499D93}\MiscStatus]
      @="0"

      [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID{8AD9C840-044E-11D1-B3E9-00805F499D93}\MiscStatus\1]
      @="2449"

      [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID{8AD9C840-044E-11D1-B3E9-00805F499D93}\ProgID]
      @="JavaSoft.JavaBeansBridge.1"

      [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID{8AD9C840-044E-11D1-B3E9-00805F499D93}\Programmable]
      "+"=""

      [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID{8AD9C840-044E-11D1-B3E9-00805F499D93}\Version]
      @="1.1"

      [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID{8AD9C840-044E-11D1-B3E9-00805F499D93}\VersionIndependentProgID]
      @="JavaSoft.JavaBeansBridge"

      ------I have set CAFEEFAC-0014-0002-0012 keys as follows:

      [hkey_current_user\software\classes\CLSID{CAFEEFAC-0014-0002-0012-ABCDEFFEDCBA}]
      @="Java Plug-in 1.4.2_12"

      [hkey_current_user\software\classes\CLSID{CAFEEFAC-0014-0002-0012-ABCDEFFEDCBA}\InprocServer32]
      @="C:\\Program Files\\Java\\j2re1.4.2_12\\bin\\npjpi142_12.dll"
      "ThreadingModel"="Apartment"

      [hkey_current_user\software\classes\CLSID{CAFEEFAC-0014-0002-0012-ABCDEFFEDCBB}]
      @="Java Plug-in 1.4.2_12 <applet> redirector"

      [hkey_current_user\software\classes\CLSID{CAFEEFAC-0014-0002-0012-ABCDEFFEDCBB}\InprocServer32]
      @="C:\\Program Files\\Java\\j2re1.4.2_12\\bin\\npjpi142_12.dll"
      "ThreadingModel"="Apartment"

      [hkey_current_user\software\classes\CLSID{CAFEEFAC-0014-0002-0012-ABCDEFFEDCBC}]
      @="Java Plug-in 1.4.2_12"

      [hkey_current_user\software\classes\CLSID{CAFEEFAC-0014-0002-0012-ABCDEFFEDCBC}\InprocServer32]
      @="C:\\Program Files\\Java\\j2re1.4.2_12\\bin\\npjpi142_12.dll"
      "ThreadingModel"="Apartment"

      [hkey_current_user\software\classes\CLSID{CAFEEFAC-0014-0002-FFFF-ABCDEFFEDCBA}]
      @="Java Plug-in 1.4.2_12"

      [hkey_current_user\software\classes\CLSID{CAFEEFAC-0014-0002-FFFF-ABCDEFFEDCBA}\InprocServer32]
      @="C:\\Program Files\\Java\\j2re1.4.2_12\\bin\\npjpi142_12.dll"
      "ThreadingModel"="Apartment"

        • 1. Re: Disable Secure Static Versioning, JRE 1.5.0_10 - Unable to get this to work
          843802
          In general, it's not recommended to modify the registry manually.
          Another thing to note is that setting the registry keys under the HKLM branch should be applied to all users on the same machine so setting the same keys again under the HKCU branch is unnecessary.

          Instead of hacking the registry, please try using the 142 family clsid in the object tag to make use of the installed JRE 1.4.2 update release on the machine. For more details, refer to the following document:
          http://java.sun.com/javase/6/webnotes/family-clsid.html
          • 2. Re: Disable Secure Static Versioning, JRE 1.5.0_10 - Unable to get this to work
            843802
            Thank you for your reply.

            From what I can determine after accessing this website that requires JRE 1.4.2_12, the registry has been updated by JRE 1.5.0_10. All the clsids for all JREs have been updated to point to c:\Program Files\Java\jre1.5.0_10\ssv.dll.

            Example:
            CAFEEFAC-*0014-0002-0012*-ABCDEFFEDCBA\InprocServer32 points to c:\Program Files\Java\jre*1.5.0_10*\bin\ssv.dll.

            I've seen a few postings where setting the EnableSecureStaticVersioning stops JRE 1.5.0_10 from dynamic versioning but I am unable to get that to work. One posting said to set it in HKCU and HKLM but that does not work either.