How to install Oracle linux on Ubuntu

the web upd8 team has already packaged it nicely for us

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

set environment variables with

sudo apt-get install oracle-java7-set-default

Verify Oracle Java installation with

java -version

If anything goes wrong with your installation… fall back with

update-java-alternatives -s java-7-oracle

 

 

You may also like...

Leave a Reply