Skip to content

Installing JDK1.8

John Grosh edited this page Oct 7, 2019 · 8 revisions

Warning: This page is outdated! Please see Installing Java

Windows

Linux

  • Open your terminal (or ssh into your server)
  • Run the following commands. You may need to remove the sudo at the beginning if running as root:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

Raspberry Pi

  • Open your terminal (or ssh into your pi)
  • Run the following command:
sudo apt-get install oracle-java8-jdk
  • If that didn't successfully install it, run the following commands:
sudo apt-get update
sudo update-alternatives --config java
  • Select Oracle JDK 1.8

Mac