The java-se-jdk-11 bundle

Functionality

The java-se-jdk-11 bundle is used to install the Oracle OpenJDK Java 11 Standard Edition binaries.

Note

This bundle does not download any files from the origin. Download the package from the vendor website and save it in the $BANDIT_DOWNLOADS directory.

It also configures the /etc/profile.d/java-11.sh script so the JAVA_HOME and PATH variables are set at boot time. However, after just installing the bundle the current sessions do not have these variables updated. Either log in again to get these variables set or source the profile file for the current session:

$ source /etc/profile.d/java-11.sh

Configuration

Bundle variables

BUNDLE_SOURCES: This bundle uses the oracle directory to find the origins from where to get the package.

Home directory

PHY_JAVA_HOME: The directory where the binaries will be installed. By default they are installed in /opt/jdk-11 but can be placed anywhere.