Answers for "ubuntu update java 8 to java 16"

0

how to upgrade java 8 to 11 in ubuntu

sudo apt-get install openjdk-11-jdk

$ sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).

Selection    Path                                            Priority   Status

* 0            /usr/lib/jvm/java-9-openjdk-amd64/bin/java       1500      auto mode
  1            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java   1500      manual mode
  2            /usr/lib/jvm/java-9-openjdk-amd64/bin/java       1500      manual mode
Posted by: Guest on January-07-2021
-1

how to install java 8 in ubuntu 16.04

sudo apt-get install openjdk-8-jdk
Posted by: Guest on June-11-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language