"install-java.sh" is an installation script for setting up Java Development Kit (JDK) on Debian based Linux Operating Systems. Currently, the install-java.sh script supports tar.gz distributions from Oracle, OpenJDK and AdoptOpenJDK Prerequisites The script uses "unzip" command. Therefore, please make sure it is installed. sudo apt install unzip The "install-java.sh" script will not download the Java distribution. You must download JDK tar.gz distribution. For Oracle JDK 7 & 8, install-java.sh supports installing demos and "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files". This files are picked up from the same directory. For example, if you want to install Java 7, following files should be downloaded and moved to a single directory. jdk-7u80-linux-x64.tar.gz jdk-7u80-linux-x64-demos.tar.gz UnlimitedJCEPolicyJDK7.zip Similarly for Java 8, following are the files required jdk-8u212-linux-x64.tar.gz jdk-8u212-linux-x64-demos.tar.gz jce_policy-8.zip The Java Demos and Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy files are optional. There are no demos from Java 9 upwards. Since Java 9, default JCE policy files already allow for "unlimited" cryptographic strengths. For any other JDK, you only need to have the Java binary distribution.
We get it, advertisements are annoying!
Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.