Install Java on Linux
- Change to the directory in which you want to install. Type:
cd
directory_path_name
For example, to install the software in the /usr/java/ directory, Type:
cd /usr/java/
- Move the .tar.gz archive binary to the current directory.
- Unpack the tarball and install Java
tar zxvf jre-8u73-linux-i586.tar.gz
The Java files are installed in a directory called jre1.8.0_73
in the current directory.
In this example, it is installed in the /usr/java/jre1.8.0_73
directory.
- Delete the .tar.gz file if you want to save disk space.
No comments:
Post a Comment