...
After checking your Java Environment, downloaded and installed either an 3 - Oracle JDK or an 4 - Open JDK, now it's time to pack everything together.
At this point, you have a JVM installed below your /usr/lib/jvm directory and you've a jinfo file tuned to your needs with a unique priority number.
...