-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Installing JDK1.8
John Grosh edited this page Oct 7, 2019
·
8 revisions
⚠ Warning: This page is outdated! Please see Installing Java ⚠
- Go to this page: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
- Under Java SE Development Kit 8u211 (or latest) click to accept the license agreement
- Download the windows
.exe
(64 bit/ x64) - Use the
.exe
to install
- 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
- 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
- Go to this page: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
- Under Java SE Development Kit 8u211 click to accept the license agreement
- Download the mac
.dmg
- Use the
.dmg
to install