This page describes server JRE for Linux system requirements and gives installation instructions.
This page has these topics:
See "JDK 8 and JRE 8 Installation Start Here" for general information about installing.
For information on enhancements to JDK 8 that relate to the installer, see "Installer Enhancements in JDK 8"
Note: For RPM-based Linux distributions, such as Red Hat or SuSE, refer to the RPM-based installation instructions. |
See http://www.oracle.com/technetwork/java/javase/certconfig-2095354.html
for information about supported platforms, operating systems, and browsers.
This topic describes version notation and gives the instructions for installing Server JRE.
For instructions containing the notation version
, substitute the appropriate Server JRE update version number. For example, if you are installing Server JRE 8 update release 21, the following string representing the name of the bundle:
server-jre-8uversion-linux-i586.tar.gz
becomes:
server-jre-8u21-linux-i586.tar.gz
Note that, as in the preceding example, the version
number is sometimes preceded with the letter u
, for example, 8u21
, and sometimes it is preceded with an underbar, for example, jre1.8.0_21
.
This procedure installs the Server JRE for 64-bit Linux, using an archive binary file (.tar.gz
).
These instructions use the following file:
server-jre-8uversion-linux-x64.tar.gz
Download the file. Before the file can be downloaded, you must accept the license agreement. The archive binary can be installed by anyone (not only root users), in any location that you can write to. However, only the root user can install the Server JRE into the system location.
Before the file can be downloaded, you must accept the license agreement. The archive binary can be installed by anyone (not only root users), in any location that you can write to. However, only the root user can install the Server JRE into the system location.
Change directory to the location where you would like the Server JRE to be installed, then move the .tar.gz
archive binary to the current directory.
Unpack the tarball and install the Server JRE.
% tar zxvf server-jre-8uversion-linux-x64.tar.gz
The Server JRE files are installed in a directory called jdk1.8.0_version in the current directory.
Delete the .tar.gz
file if you want to save disk space.
This topic gives supplementary installation information.
Installing the software creates a directory called jdk1.8.0_
version
. Note that if you choose to install the Java SE Server JRE into system-wide location such as /usr/jre
, you must first become root to gain the necessary permissions. If you do not have root access, simply install the Java SE Server JRE into your home directory, or a subdirectory that you have permission to write to.
If you install the software in a directory that contains a subdirectory named jdk1.8.0_
version
, the new software overwrites files of the same name in that jdk1.8.0_
version
directory. Rename the old directory if it contains files you would like to keep.
By default, the installation script configures the system such that the backing store for system preferences is created inside the Server JRE's installation directory. If the Server JRE is installed on a network-mounted drive, it and the system preferences can be exported for sharing with Java runtime environments on other machines.
See http://docs.oracle.com/javase/8/docs/technotes/guides/preferences/index.html
for more information about preferences in the Java platform.