How To Install 64-bit JDK on Linux Platform
Installation of the 64-bit JDK on Linux Platforms
This procedure installs the Java Development Kit (JDK) for 64-bit Linux, using an archive binary file (
.tar.gz
).
These instructions use the following file:
jdk-7u<version>-linux-x64.tar.gz
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 JDK 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 JDK into the system location.
2. Change directory to the location where you would like the JDK to be installed. Move the
.tar.gz
archive binary to the current directory.
3. Unpack the tarball and install the JDK.
% tar zxvf jdk-7u<version>-linux-x64.tar.gz
The Java Development Kit 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.
No comments:
Post a Comment