Articles → DevOps → Install Open JDK In Linux
Install Open JDK In Linux
What Is The Openjdk?
How To Install?
- Download the setup file from the following link - https://jdk.java.net/15/
Click to Enlarge
- Transfer the setup file on the linux server using WinSCP.
- Once transferred, extract the setup using the following command.
tar -tvf /home/karan/openjdk-15.0.1_linux-x64_bin.tar.gz
- Setup is extracted in the jdk1.8.0_271 folder.
- Finally execute the following command.
cd jdk1.8.0_271
yum install java-1.8.0-openjdk -y
Switch Between Multiple Versions Of Java
alternatives --config java