JRE Deployment with Active Directory


This procedure describes how to obtain the .msi file necessary to deploy the Java Runtime Environment (JRE) across a Windows 2000/Windows XP Active Directory-based network. It works for version 1.4.2 and later of the JRE installers. Sun includes an .msi (Microsoft Installer) file bundled up in the JRE Windows Offline installers. The .msi file extracted below can be assigned to an Active Directory software distribution policy.

  1. Download and launch the Sun JRE Windows Offline Installion executable (.exe) file.

  2. Retrieve the "Java 2 Runtime Environment, SE v1.4.2_01.msi" file from the LocalAppData folder (the user's Application Data folder). The LocalAppData folder will differ for each Windows platform.

  3. Inside this folder you will find a folder named:
           {7148F0A6-6813-11D6-A77b-00B0D0142010}
    The last 6 digits of this CLSID and the name of the .msi file will differ for each release number.

  4. From there, you can use Active Directory to distribute this .msi file to as many client Windows platforms as you want.

  5. If you want to register the JRE as the default VM of Internet Explorer, Mozilla, and Netscape, you will have to create a transform that will set the variables IEXPLORER, MOZILLA, and NETSCAPE6 to 1 in the Property.idt table. You can find instructions on how to generate and use transforms at the Microsoft MSDN site.