Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

saltstack-formulas/sun-java-formula

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

152 Commits
152 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sun-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/share/java). Will use the alternatives system to link the installation to java_home. Please see the pillar.example for configuration.

Downloads and installs the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files. Will include/extend the sun-java state.

An addition to allow easy use - places a java profile in /etc/profile.d - this way JAVA_HOME and the PATH are set correctly for all system users.

An addition to allow install own CA certificates in defined keystore. If no keystore is defined, default in $JAVA_HOME/jre/lib/security/cacerts will be used. If default password for castore has been changed, provide new in pillars. CA certificates will only be installed if not already in keystore file.

Verified on Linux and MacOS.

About

Flexible provisioning for JDK and JRE tarballs

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.