cabjae.blogg.se

Sudo apt get install openjdk 8 jre
Sudo apt get install openjdk 8 jre








sudo apt get install openjdk 8 jre

Openjdk-8-jre : Depends: openjdk-8-jre-headless (= 8u131-b11-1~bpo8+1) but it is not going to be installedĮ: Unable to correct problems, you have held broken ~ $ sudo apt-get install openjdk-8-jre-headless Openjdk-8-jdk : Depends: openjdk-8-jre (= 8u131-b11-1~bpo8+1) but it is not going to be installedĭepends: openjdk-8-jdk-headless (= 8u131-b11-1~bpo8+1) but it is not going to be installedĮ: Unable to correct problems, you have held broken ~ $ sudo apt-get install openjdk-8-jre The following packages have unmet dependencies: The following information may help to resolve the situation: Requested an impossible situation or if you are using the unstableĭistribution that some required packages have not yet been created Linux Deb files for newer Linux Mint 18.x (Ubuntu 16.04) or Newer Debian LMDE systemsĬode: Select all ~ $ sudo apt-get install openjdk-8-jdk Go to the PPA website, click "view package details" midway down on the right, you'll see various options to choose from, ,like Ubuntu Xenial 16.04 (Linux Mint 18.x) for newer Debian LMDE system should work, Ubuntu 14.04 (Linux Mint 17.x) for older Debian LMDE systems.

#Sudo apt get install openjdk 8 jre how to#

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

sudo apt get install openjdk 8 jre

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. javac -version You will get the following output: javac 11.0. sudo apt install default-jdk Install OpenJDK in Ubuntu After installation, verify the JDK installation by checking the version as shown.

sudo apt get install openjdk 8 jre

Code: Select all sudo apt-get install openjdk-8-jdk To install the JDK, run the following command.










Sudo apt get install openjdk 8 jre