Home > Blogs > VMware ThinApp Blog

Step by Step Instructions on How to ThinApp JAVA Runtime version

Here are step-by-step instructions on how to install, configure, and capture JAVA Runtime version as a ThinApp Package. These instructions are provided "as is".


  • 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
  • A copy of JRE 1.3.120 setup

Instructions on How to ThinApp JAVA Runtime version

These are the basic instruction you will need on How to ThinApp JAVA  Runtime version

    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 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

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


This entry was posted in Applications on by .
Peter Bjork

About Peter Bjork

Peter Bjork is a Senior Staff Architect, Technical Marketing at VMware. He specializes in Identity and Access Management. He's widely appreciated as a speaker at events like VMworld, VMUG and vFORUM. He is the author of two books as well as numerous white papers and blog posts. When the work day is over, Peter volunteers as a Scout leader for the local Sea Scout troop outside Stockholm, Sweden. Twitter: @thepeb.

One thought on “Step by Step Instructions on How to ThinApp JAVA Runtime version

  1. Peter Björk

    Just wanted to add that this applies to Java runtime version 1.4x and older.

Comments are closed.