What is the command to install Java in Linux?

What is the command to install Java in Linux?
Answer
Java for Linux Platforms
  1. Change to the directory in which you want to install. Type: cd directory_path_name. …
  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. …
  4. Delete the . tar.
 

Tìm kiếm

Back
Top