Articles → DEVOPS → Install Java On The Linux Machine

Install Java On The Linux Machine

Type Of Operating System

  1. Connect to the Linux machine using the MobaXTerm.
  2. Write the following command.
  3. uname -i

Download Setup


Picture showing downloading the java setup using the wget command
Click to Enlarge

Install Java

rpm -ivh jdk-18_linux-x64_bin.rpm

Picture showing installing the java setup using rpm command
Click to Enlarge

Check The Installed Version

java -version

Picture showing checking the Java version installed on Linux machine
Click to Enlarge

Posted By  -  Karan Gupta
Posted On  -  Thursday, November 19, 2020
Updated On  -  Tuesday, August 2, 2022


Your Email Id  
Query/FeedbackCharacters remaining 250