"install-java.sh" is an installation script for setting up Oracle Java Development Kit on Debian based Linux Operating Systems. While the developer says this is for Debian-based Linux distributions (Ubuntu, Linux Mint, elementary OS, etc.), it also works on Fedora. It might also work on other Linux distributions but this was not tested.
To use the install-java.sh script to install any Oracle Java version on Linux, make sure that the "unzip" package is installed. While this is not used to install the JDK (it's only used for the Unlimited JCE Policy file, which this script can install, and is only available as a zip file), the script will not work without it.
See Linux Uprising blog for details.
The install-java.sh script is quite versatile, allowing users to install any Oracle JDK major / minor version. You can use it to:
install the latest Oracle Java 11 LTS
install any Oracle Java 8 version, including Oracle Java demos and the JCE policy
install Oracle Java 7, 10 and other JDK versions that are now only available to Oracle Customers through My Oracle Support (requires support login)
install an Oracle Java build for a different architecture than the system the script runs on
留言列表