

How To Install Java with Apt-Get on Debian 8, Updated June 27, 2017įYI: PPA's also have easy to install Linux deb files. HOW TO INSTALL ORACLE JAVA 8 IN DEBIAN VIA REPOSITORY Updated: February 22, 2017 OpenJDK 64-Bit Server VM (build 25.40-b08, mixed mode) OpenJDK Runtime Environment (build 1.8.0_01-internal-b04) Finally check out current Java version by running: Type in a number to select a Java version.Īnd set default Java Compiler by running:Ĥ. Run the command below to set the default Java: VIP: If you have more than one Java versions installed on your system.

Code: Select all sudo apt-get install openjdk-8-jdk
