jEnv: Manage your Java environment(s)

jEnv is a command line tool to help you forget how to set the JAVA_HOME environment variable

This tools helps you manage jdk 1.8 and jdk 1.x projects concurrently (even on a per directory basis). If you need to manage various Java versions and JVM params for different apps, jEnv is your solution. It’s similiar to rvm (ruby), gvm (groovy), and nvm (node.js) but for Java.

Details: http://www.jenv.be/