admin/ August 16, 2016/ Linux/ 0 comments

Install latest Java on Ubuntu 16.04

Java -:

Java software for your computer, or the Java Runtime Environment, is also referred to as the Java Runtime, Runtime Environment, Runtime, JRE, Java Virtual Machine, Virtual Machine, Java VM, JVM, VM, Java plug-in, Java plugin, Java add-on or Java download.

Install Default Java JRE/JDK

Install Oracle Java JDK.

Add the below repository-:

Install Oracle JDK 6

Install Oracle JDK 7

Install Oracle JDK 8

Install Oracle JDK 9

Manage different versions of Java.

There can be multiple Java installations on one server. You can configure which version is the default for use in the command line by using update-alternatives, which manages which symbolic links are used for different commands.

Choose the version you wants to select.

Setting the JAVA_HOME Environment Variable.

Use the below command to get the current java path.

Open the environment file.

paste the path like below-:

Save and exit the file.


Gotechnies Sysadmin Blog

Rating: 4.9
Votes: 375
Reviews: 330

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.