sahara-image-elements/elements/oracle-java/README.rst
Pino Toscano 38a9243671 Add/fix headers in README.rst files
Add simple headers in README.rst files of elements declaring the name
of their elements.

Change-Id: Ib7cef6eac8128a5eae9d4fbe7193aa6e9e62bed8
2015-04-02 18:15:30 +02:00

910 B

oracle-java

This element installs a Java Virtual Machine into the image. There are three options for selecting what version of the JVM is installed -

0. Provide no input, the package manager in your image will be used to install the natively packaged JVM

1. Provide JAVA_FILE via the environment, it should be a .tar.gz or .bin and will be installed under JAVA_TARGET_LOCATION, which will default to "/usr/java" (see 3. for more information on JAVA_TARGET_LOCATION).

2. Provide JAVA_DOWNLOAD_URL via the environment, it should be a url pointing to a file that will be placed in JAVA_FILE (see 1.)

3. In addition to selecting the JDK to install, this element can be configured to install to a specific location. Set the JAVA_TARGET_LOCATION variable in order to customize the top-level directory that will contain the JDK install. By default, this variable is set to "/usr/java".