

Download the appropriate tar.gz package from the Oracle web site into the directory.ģ.

Create the directory into which the JDK is to be installed (for the purposes of this example we will assume /home/demo/java).Ģ. To install using the compressed tar package (tar.gz) perform the following steps:ġ. Assuming, for example, that the downloaded JDK file was named jdk-7u45-linux-圆4.rpm, the commands to perform the installation would read as follows: su

rpm JDK file from the Oracle web site and perform the installation using the rpm command in a terminal window. On Red Hat based Linux systems, download the. Packages are provided by Oracle in RPM format (for installation on Red Hat Linux based systems such as Red Hat Enterprise Linux, Fedora and CentOS) and as a tar archive for other Linux distributions such as Ubuntu. Firstly, if the chosen development system is running the 64-bit version of Ubuntu then it is essential that the 32-bit library support package be installed: sudo apt-get install ia32-libsĪs with Windows based JDK installation, it is possible to install the JDK on Linux by downloading the appropriate package from the Oracle web site, the URL for which is as follows:
