Articles → DEVOPS → Install Java On The Linux Machine
Install Java On The Linux Machine
Type Of Operating System
- Connect to the Linux machine using the MobaXTerm.
- Write the following command.
Download Setup
wget https://download.oracle.com/java/18/latest/jdk-18_linux-x64_bin.rpm
Click to Enlarge
Install Java
rpm -ivh jdk-18_linux-x64_bin.rpm
Click to Enlarge
Check The Installed Version
Click to Enlarge