Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


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

Discussion

Enter your comment:
A V᠎ Q X Y
 
linux/java/oracle_java.txt · Last modified: 2019/07/12 10:36 by tplecko