title: Ubuntu 18.04 LTS- How to set the default-jre with a specific version?
body: <p>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:  </p>
  
  <blockquote>
    <p>Package default-jre is not configured yet</p>
  </blockquote>
  
  <p>However, when I tried <code>java - version</code>, the java version returned is <code>openjdk version 1.8.0_191</code></p>
  
  <p>Please note, I don't want the version 10 or 11 of java.</p>
  
  <p>So, do you know how to solve this issue?</p>