Subject: Install the Default JDK
Author: Linux
In response to: How To Install Java On Ubuntu 16.04 Box
Posted on: 10/20/2017 12:08:44 AM
$ sudo apt-get update
$ sudo apt-get install default-jdk
Where does it locate?
$ which java
/usr/bin/java
Which version is installed?
$ java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
>
> On 10/20/2017 12:06:47 AM
Linux wrote:
Java and the JVM (Java's virtual machine) are widely used and required for many kinds of software. This thread is to instruct you to install and manage different versions of Java on Ubuntu 16.04 box.
References: