How do I deploy Java using Active Directory across a network?
This article applies to:
This help page is intended for network administrators. It is assumed that you have sufficient knowledge to perform the technical steps.
The information on this article describes an unsupported practice. Oracle Support Customers must use the installers provided by Oracle to receive support on installation issues.
Extract the .msi file from the installerFollow these steps to extract the .msi file from the installer for deployment through Active Directory based network:
From your temp location, you can use Active Directory to distribute the Java msi and cab files to as many client Windows platforms as you want.
Things to note during deploy process:
Uninstallation with MSIEXEC.EXE command
Method 1 (Specify original msi file)In order to uninstall a Java specify /x parameter and msi file name (with a full path) which was used previously to perform an installation of that particular Java version.
Example: Command for Uninstall of Java version 6 Update 43 is
Method 2 (Specify GUID)The command to uninstall is
Note: To find a GUID for a specified Java version installed on the system go through registry:
For each found key check InstallProperties sub-key. If DisplayName property matches the Java version you want to uninstall then, UninstallString contains the complete uninstall command with GUID number.
Example: For Uninstall of Java version 7 Update 40
Navigate to [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\
there is a product: 4EA42A62D9304AC4784BF238120704FF
under InstallProperties key of that product there are:
DisplayName=Java 7 Update 40
Once you have collected these information now Run following command to uninstall this version of Java.
Command to Uninstall in GUI mode:
Command to Uninstall in silent mode: