Server JRE 7 Installation for Linux Platforms

See JDK 7 and JRE 7 Installation Guide for general information about installing.

For information on enhancements to JDK 7 that relate to the installer, see Installer Enhancements in JDK 7.


Note: For RPM-based Linux distributions, such as Red Hat or SuSE, refer to the RPM-based installation instructions.

System Requirements

See Oracle JDK 7 and JRE 7 Certified Systems Configurations for information about supported platforms, operating systems, and browsers.

Server JRE 7 Installation Instructions

For any text on this page containing the following notation, you must substitute the appropriate Server JRE update version number for the notation.
For example, if you are installing Server JRE 7 update release 21, the following string representing the name of the bundle:
would become:

Note that, as in the preceding example, the <version> number is sometimes preceded with the letter u, for example, 7u2, and sometimes it is preceded with an underbar, for example, jre1.7.0_02.

Installation of the Server JRE on Linux Platforms

This procedure installs the Server JRE for 64-bit Linux, using an archive binary file (.tar.gz).

These instructions use the following file:


1. 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.

2. Change directory to the location where you would like the Server JRE to be installed. Move the .tar.gz archive binary to the current directory.

3. Unpack the tarball and install the Server JRE.

    % tar zxvf server-jre-7u<version>-linux-x64.tar.gz

The Server JRE files are installed in a directory called jdk1.7.0_<version> in the current directory.

4. Delete the .tar.gz file if you want to save disk space.

General Installation Notes

Root Access

Installing the software creates a directory called jdk1.7.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.

Overwriting Files

If you install the software in a directory that contains a subdirectory named jdk1.7.0_<version>, the new software overwrites files of the same name in that jdk1.7.0_<version> directory. Please be careful to rename the old directory if it contains files you would like to keep.

System Preferences

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 the Preferences API documentation for more information about preferences in the Java platform.

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.