Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 777 Bytes

File metadata and controls

25 lines (18 loc) · 777 Bytes

oracle-java

Formula to set up and configure Java JREs and JDKs from a tarball archive sourced via URL.

Available states

Downloads the tarball from the java:source_url configured as either a pillar or grain and will not do anything if source_url is omitted. Then unpacks the archive into java:prefix (defaults to /usr/lib/jvm). Will use the alternatives system to link the installation to java_home. Please see the pillar.example for configuration. Will set JAVA_HOME in /etc/evironment.

Tested on Ubuntu.