A simple linux script which can automatically install Java 8, 11, and 14. All with little to no hassle
How to execute:
chmod +x installJava.sh && ./installJava.sh
If you downloaded the JVM version:
chmod +x installJavaJVM.sh && ./installJavaJVM.sh