Java Ubuntu Install

Submitted by code_admin on Fri, 07/20/2018 - 13:02

update-java-alternatives -l
sudo update-java-alternatives -s java-8-oracle

Alternatives:
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.8.0_20/bin/javac 120
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_20/bin/java 120

sudo update-alternatives --config java
sudo update-alternatives --config javac

Setup latest oracle 7 java
http://www.cyberciti.biz/faq/howto-installing-oracle-java7-on-ubuntu-li…

Install Java 8

First used with catness

  1. sudo add-apt-repository ppa:webupd8team/java
  2. sudo apt-get update
  3. sudo apt-get install oracle-java8-installer
RJM Article Type
Work Notes