SDKMAN is a tool for managing parallel Versions of multiple Software Development Kits on any Unix based system. It provides a convenient command line interface for installing, switching, removing and listing Candidates.
See documentation on the SDKMAN! website.
Open your favourite terminal and enter the following:
$ curl -s https://get.sdkman.io | bash
If the environment needs tweaking for SDKMAN to be installed, the installer will prompt you accordingly and ask you to restart.
All SDKMAN's BDD tests describing the CLI behaviour are written in Cucumber and can be found under src/test/resources/features
. These can be run with Gradle by running the following command:
$ ./gradlew test
To perform development, you will need to have a JDK 8 or higher installed which can be obtained by running the following after installing SDKMAN:
$ sdk install java