Ansible role to install the latest update of Oracle/Sun JDK version(s).
- Tested on Ansible 1.6 or higher
oracle_jdk_java_versions: [7] # A list of java versions you want to have installed (6, 7 and/or 8)
oracle_jdk_java_version_default: 7 # The java version you want to be the system default
To switch between different Java versions, you could use the following terminal command:
sudo update-alternatives --config java
This project comes with a VagrantFile, this is a fast and easy way to test changes to the role, fire it up with vagrant up
See vagrant docs for getting setup with vagrant
Licensed under the MIT License. See the LICENSE file for details.
Are welcome!