Install the Oracle Java 8 JDK

Overview

 

	---------------------------------------
	
	install Java 8
	
	
	
	managing the default Java version
	
	   sudo add-apt-repository ppa:webupd8team/java
	   sudo apt-get update
	   sudo apt-get install oracle-java8-installer
	
	   sudo update-alternatives --config java

On OctoPi

The above didnt' work on OctoPi so I found this from http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html did:

sudo echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee /etc/apt/sources.list.d/webupd8team-java.list
sudo echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
sudo apt-get update
sudo apt-get install oracle-java8-installer
            

Resources

 


Date Created: 2015-08-22 09:47:41 -0500 (Sat, 22 Aug 2015)






back    |    top