The Table lists the installer configuration file options that apply for each operating system.
Java on Linux Platforms This is an archive binary file that can be installed by anyone (not only the root users), in any location that you can write to. However, only the root user can install Java into the system location.
Note:
Substitute the value of Enable to1 and the value Disable to 0.
Use the same options at the command line when running the JRE Windows Offline Installer. See JRE Command-Line Installation.
Table 12-1 Configuration File Options
Option | Operating Systems | Values | Description | JRE Offline Installer | Saved in Runtime Config File |
---|---|---|---|---|---|
INSTALL_SILENT= | Windows | Enable , Disable | Silent (noninteractive) installation. Default: Disable | Yes | Yes |
INSTALLDIR= | Windows | path | Folder/directory into which the files are installed. Default: Operating system default path For Windows, this will work only for first time installation. Linux and Solaris use operating system tools for this purpose and installation directory relocation will be handled by operating system tools (for example: rpm --prefix=path )] | Yes | No |
STATIC= | Windows | Enable , Disable | Perform a static installation (see JRE Static Installation). Default: Disable | Yes | No |
AUTO_UPDATE= | Windows macOS | Enable , Disable | Enable the auto update feature. Default: Enable | Yes | Yes |
WEB_JAVA= | Windows macOS Linux | Enable , Disable | Configure the installation so downloaded Java applications are, or are not, allowed to run in a web browser or by Java Web Start. Default: Enable | Yes | No |
WEB_JAVA_SECURITY_LEVEL= | Windows macOS Linux | H (high), VH (very high) | Configure the installation's security level for Java applications running in a browser or run with Java Web Start. Default: H | Yes | No |
WEB_ANALYTICS= | Windows | Enable , Disable | Allow or disallow the installer to send installation-related statistics to an Oracle server. Default: Enable | Yes | Yes |
EULA= | Windows | Enable , Disable | If a Java applet or Java Web Start application is launched, then prompt the user to accept the end-user license agreement (EULA). Default: Disable | Yes | Yes |
REBOOT= | Windows | Enable , Disable | If disabled, then the installer will never prompt you to restart your computer after installing the JRE. However, in most cases, the installer does not need to restart your computer after installing the JRE. Default: Enable | Yes | No |
NOSTARTMENU= | Windows | Enable , Disable | Specify that the installer installs the JRE without setting up Java startup items. Default: Disable | Yes | No |
REMOVEOUTOFDATEJRES= | Windows | 0 , 1 | NOTE: Applicable to online and offline installers only ( .exe s and wrappers). Enables uninstallation of existing out-of-date JREs during the JRE installation.Using REMOVEOUTOFDATEJRES=0 leaves all out-of-date Java versions on the system.Using REMOVEOUTOFDATEJRES=1 removes all out-of-date Java versions from the system.For example, running jre–9.1.1.1.exe /s REMOVEOUTOFDATEJRES=1 removes all JREs below the security baseline. JREs above the security baseline are not uninstalled. | Yes | No |
How do I install Java ?
Choose the Operating System for instructions to install Java:Windows Download and Installation
Downloading and installing Java is easy and free. There are a couple ways by which you can get Java for Windows- Online download
- Offline download
Online
Manual installation downloads an IFTW (Install From The Web) executable program file and requires minimum user intervention. When you run this program, it fetches all the required files from the web, so you must remain connected to the Internet during the installation.- Administrative permission is required in order to install Java on Microsoft Windows.
- If you face difficulty using the online download option, try the offline download option.
» Instructions to download and install Java for Windows online
Offline
Offline installation requires you to download an executable file available at the manual Java download page, which includes all the files needed for the complete installation at the user's discretion. There is no need to remain connected to the Internet during the installation. The file can also be copied to and installed on another computer that is not connected to the Internet.- Administrative permission is required in order to install Java on Microsoft Windows.
Mac Download and Installation
Oracle Java can be installed on Mac versions 10.7.3 or later. A 64-bit browser (Safari, for example) is required to run Oracle Java on Mac.» Instructions to download and install Java for Mac
Linux Download and Installation
There are two types of installation packages.- Java on Linux Platforms
This is an archive binary file that can be installed by anyone (not only the root users), in any location that you can write to. However, only the root user can install Java into the system location. - Java on RPM-based Linux Platforms
32-bit RPM-based Linux platforms, such as Red Hat and SuSE, use a RPM binary file (.rpm) in the system location. You must be root to perform this installation.
» Instructions to download and install Java for Linux
Solaris Download and Installation
There are a few ways by which you can get Java for Solaris- Solaris SPARC (32-bit)
- Solaris SPARC (64-bit)
» Instructions to download and install Java for Solaris