[Java SE] How to Silently Install Java SE JDK and JRE in Separate User-defined Directories
(Doc ID 1412533.1)
Last updated on FEBRUARY 09, 2024
Applies to:
Java SE JDK and JRE - Version 1.3.1 and laterMicrosoft Windows (32-bit)
Microsoft Windows x64 (64-bit)
Goal
On Windows operating systems, Java SE can be installed in non-interactive mode via command-line installation. For Java SE, this approach is called 'silent installation'. With Java SE 6, the details are described in 'JRE Installer Options':
According to the documentation, the Java SE JDK can be installed in a user-defined directory by using the '[INSTALLDIR=§§drive>:\§§install_path>]' parameter. However, Java SE JDK installs not only the JDK, but also a corresponding public JRE in a separate directory. This JRE is installed in the default directory 'C:\Program Files\Java\jre6'.
The question is: how can the installation directory for the JRE (that comes with the JDK) be specified in a command-line installation?
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |