Switch between installed Java Runtime Environments
During developing with Java you surely ran into problems with concurrent installed Java versions. I now found the most easyest way to switch the current version “java.exe” uses. You simply have to change the environment variable “path”.
But be sure, that the path to the bin-dir of the java-version you want stand before the system32 entry in the value of path. During install java puts the installed version of java.exe in the system-dir so this one will be uses if you call java -version for example.