Java Installation in Linux OS

Arun Natarajan
Dec 25, 2023

--

Hello Techies,

Now we are going to install Java 11 on the Linux Server

  1. Check the current version of Java, unfortunately, Java is not installed yet.

2. Update the package repository to ensure you download the latest software

3. Install the Java Development Kit with the following command:

4. Verify Java is Installed on Your System

5. How to Set Default Java Version

6. Then, open the .bash_profile with any text editor.

JAVA_HOME=”/your/installation/path/”

7. To remove the installed Java package

We are done !!!

Hope you enjoyed the document and understood!

Please post your queries here, if you have any.

--

--