Thursday, January 5, 2017

Install Java on Linux



Java for Linux Platforms
  1. 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/
  2. Move the .tar.gz archive binary to the current directory.
  3. 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.
  4. Delete the .tar.gz file if you want to save disk space.

No comments:

Post a Comment