Debian 8.11 Install OpenJDK 8

From Michael's Information Zone
Jump to navigation Jump to search

Trying to install Unifi controller 5.8.24-11016, but need to update from OpenJDK 7 to 8. However 8 is not in the standard repositories. Found it listed in the backports repo on the Debian site[1], then I found useful information on adding this repository[2]

sudo nano /etc/apt/sources.list

....
## Jessie-Backports (for OpenJDK 8)
deb http://http.debian.net/debian jessie-backports main

Then convert from 7 to 8

sudo /usr/sbin/update-java-alternatives -s java-1.8.0-openjdk-amd64