title: How to use Intellij's jre in ubuntu
body: <p>I am using Intellij to write code in Java, if I run my software inside Intellij my software works but, if I create a jar file and I try to start it from my terminal it says that the jre version is too old.
  My question is, if the JDK includes also the jre and my software works in Intellij, why it doesn't from the Ubuntu's terminal?</p>