Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


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:
linux/java/oracle_java.txt · Last modified: 2019/10/31 09:05 (external edit)