I would like to install on Ubuntu 18.04 LTS an application that requires java 8. When I want to install this application, an error is raised about the default-jre:
Package default-jre is not configured yetHowever, when I tried java - version, the java version returned is openjdk version 1.8.0_191
Please note, I don't want the version 10 or 11 of java.
So, do you know how to solve this issue?
1 Answer
You may use the following command to install OpenJDK 8:
sudo apt install openjdk-8-jdkAnd check the version with:
java -version 3