Step by Step Instructions on How to ThinApp JAVA Runtime version 1.3.1.20
Here are step-by-step instructions on how to install, configure, and capture JAVA Runtime version 1.3.1.20 as a ThinApp Package. These instructions are provided "as is".
Requirements
- A clean built VM with no other installations.
- Familiarization with instructions on how to virtualize a software product via ThinApp (see, "How to Make a ThinApp Application" on http://blogs.vmware.com/thinapp).
- A copy of JRE 1.3.120 setup
Instructions on How to ThinApp JAVA Runtime version 1.3.1.20
These are the basic instruction you will need on How to ThinApp JAVA Runtime version 1.3.1.20.
1. Start with a clean Windows XP image only containing ThinApp Setup Capture
2. Launch ThinApp Setup Capture and create a pre-installation snapshot
3. Launch the JRE 1.3.1.20 setup
4. Run the post-installation snapshot in ThinApp Setup Capture.
5. Choose a Primary Data Container that suites you
6. Continue and finish the Setup Capture wizard without clicking on Build now
7. Open the project folder (default location: C:\Program Files\VMware\VMware ThinApp\Captures\Java 2 Runtime Environment Standard Edition v1.3.1_20)
a. Edit the text file HKEY_LOCAL_MACHINE.txt and add this key isolation at the top of the file
isolation_full HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects
b. Edit the text file HKEY_CURRENT_USER.txt and add this key isolation at the top of the file
isolation_full HKEY_CURRENT_USER\Software\Classes\CLSID
c. Create a text file in the project root directory with the name javafixer.vbs with the following content
Function OnFirstSandboxOwner
Set Shell = CreateObject("Wscript.Shell")
Shell.Run "regedit.exe /s %SYSTEMROOT%\javafix.reg"
End Function
d. Create a text file in the %SystemROOT% directory with the name javafix.reg and the following content
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\CLSID\javafix]
8. Create entry point for the application you want to launch inside the bubble containing the JRE
This example is for Mozilla Firefox and Internet Explorer.
9. Build the project!
10. Launch the Mozilla Firefox.exe or Internet Explorer entry point and visit http://www.javatester.org/version.html to verify correct JRE version


Just wanted to add that this applies to Java runtime version 1.4x and older.
Posted by: Peter Björk | September 23, 2009 at 02:04 AM