GVM 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 GVM Project Page.
Please report any bugs and feature request on the GitHub Issue Tracker.
Questions and disccusion at the Nabble Forum.
Open your favourite terminal and enter the following:
curl -s get.gvmtool.net | bash
If the environment needs tweaking for GVM to be installed, the installer will prompt you accordingly and ask you to restart.
All GVM's tests are written in Cucumber and can be found under src/test/cucumber/gvm
. These can be run with Gradle by running the following command:
./gradlew -i
Please enusre that the JAVA_HOME environment variable set to JDK 1.7 on you system!
Mac users can add the following line to their ~/.bash_profile
file to set this variable:
export JAVA_HOME=$(/usr/libexec/java_home -v1.7)
Ensure that you have vertx installed on your machine.
gvm install vert.x
To start up the server locally, simply enter:
vertx run build/server/server.groovy
This will start the server on localhost:8080
To make your GVM installation work with your local server, edit the GVM_SERVICE variable in the ~/.gvm/bin/gvm-init.sh
file as follows:
export GVM_SERVICE="http://localhost:8080"