linux:java:oracle_java

Installing Oracle Java on Ubuntu and later

14.04 and later
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

Set default java version

update-alternatives --config java
18.04 and later
sudo add-apt-repository ppa:linuxuprising/java
sudo apt install oracle-java11-installer-local
sudo apt install oracle-java11-set-default
Enter your comment:
Q U L A P
 
  • linux/java/oracle_java.txt
  • Last modified: 2019-10-31 09:05
  • (external edit)