Ansible role to install the latest update of Oracle/Sun JDK version(s).
- Tested on Ansible 1.4 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
Licensed under the MIT License. See the LICENSE file for details.
Are welcome!