Formula to set up and configure Java JREs and JDKs from a tarball archive sourced via URL.
Note
See the full Salt Formulas installation and usage instructions.
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.