Packaging Java for Internet Explorer

The following steps are required to enable Java packaged on any Windows OS to run in a Container on Windows 10.

Step-by-step guide

  1. Follow How to create a Container for IE in order to package Java for Internet Explorer using the Cloudhouse Auto Packager
  2. Within the Container, open AppRegistry.xml
  3. Find the following CSLID: {08B0E5C0-4FCB-11CF-AAA5-00401C608501}
  4. This CLSID has a TreatAs key which references another CLSID, for example {CAFEEFAC-0016-0000-0017-ABCDEFFEDCBB}
  5. Within  AppRegistry.xml find the CLSID that matches the TreatAs Key from Step  4, for example {CAFEEFAC-0016-0000-0017-ABCDEFFEDCBB}
  6. Copy all of the entries that correspond to the above CLSID, for example

    <Write>                             
    <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKLM\SOFTWARE\Classes\CLSID\{08B0E5C0-4FCB-11CF-AAA5-00401C608501}</KeyName>                             
    <ValueName />                              
    <Value xsi:nil="true" />              
    </Write>
                   
    <Write>                              
    <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKLM\SOFTWARE\Classes\CLSID\{08B0E5C0-4FCB-11CF-AAA5-00401C608501}\TreatAs</KeyName>                              
    <ValueName />                              
    <Value ValueType="String">{CAFEEFAC-0016-0000-0027-ABCDEFFEDCBB}</Value>              
    </Write>      
           
    <Write>                             
    <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKLM\SOFTWARE\Classes\CLSID\{CAFEEFAC-0016-0000-0027-ABCDEFFEDCBB}</KeyName>
    <ValueName />                             
    <Value ValueType="String">Java Plug-in 1.6.0_27</Value>              
    </Write>
                   
    <Write>                             
    <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKLM\SOFTWARE\Classes\CLSID\{CAFEEFAC-0016-0000-0027-ABCDEFFEDCBB}\InprocServer32</KeyName>                             
    <ValueName />                             
    <Value ValueType="String">%ProgramFilesX86%\Java\jre6\bin\jp2iexp.dll</Value>            
    </Write>
                   
    <Write>                            
    <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKLM\SOFTWARE\Classes\CLSID\{CAFEEFAC-0016-0000-0027-ABCDEFFEDCBB}\InprocServer32</KeyName>                           
    <ValueName>ThreadingModel</ValueName>                            
    <Value ValueType="String">Apartment</Value>             
    </Write>
  7. Within the copied CLSIDs modify the CLSID to {08B0E5C0-4FCB-11CF-AAA5-00401C608501}, as shown in the code below
    <Write>
           <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKLM\SOFTWARE\Classes\CLSID\{08B0E5C0-4FCB-11CF-AAA5-00401C608501}</KeyName>
           <ValueName />
           <Value xsi:nil="true" />
    </Write>
    <Write>
       <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKLM\SOFTWARE\Classes\CLSID\{08B0E5C0-4FCB-11CF-AAA5-00401C608501}\TreatAs</KeyName>
       <ValueName />
       <Value ValueType="String">{CAFEEFAC-0016-0000-0027-ABCDEFFEDCBB}</Value>
    </Write>
    <Write>
      <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKLM\SOFTWARE\Classes\CLSID\{08B0E5C0-4FCB-11CF-AAA5-00401C608501}</KeyName>
      <ValueName />
      <Value ValueType="String">Java Plug-in 1.6.0_27</Value>
    </Write>
    <Write>
      <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKLM\SOFTWARE\Classes\CLSID\{08B0E5C0-4FCB-11CF-AAA5-00401C608501}\InprocServer32</KeyName>
      <ValueName />
      <Value ValueType="String">%ProgramFilesX86%\Java\jre6\bin\jp2iexp.dll</Value>
      </Write>
    <Write>
      <KeyName>HKEY_CURRENT_USER\Software\Cloudhouse\AppAccelerator\%GUID%\HKLM\SOFTWARE\Classes\CLSID\{08B0E5C0-4FCB-11CF-AAA5-00401C608501}\InprocServer32</KeyName>
      <ValueName>ThreadingModel</ValueName>
      <Value ValueType="String">Apartment</Value>
    </Write>
  8. Save the changes to AppRegistry.xml file, and exit.
Was this article helpful?

Can't find what you're looking for?

Contact Support