Articles → DevOps → Install Open JDK In Linux

Install Open JDK In Linux






What Is The Openjdk?





How To Install?




  1. Download the setup file from the following link - https://jdk.java.net/15/
  2. Picture showing the JDK 15.0.1 version for different operating system
    Click to Enlarge

  3. Transfer the setup file on the linux server using WinSCP.
  4. Once transferred, extract the setup using the following command.
  5. tar -tvf /home/karan/openjdk-15.0.1_linux-x64_bin.tar.gz


  6. Setup is extracted in the jdk1.8.0_271 folder.
  7. Finally execute the following command.
  8. cd jdk1.8.0_271
    yum install java-1.8.0-openjdk -y



Switch Between Multiple Versions Of Java




alternatives --config java



Posted By  -  Karan Gupta
 
Posted On  -  Friday, November 20, 2020

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250