Java windows cmd how to choose version whe nsttarting a program code example Example: changer version java terminal export JAVA_HOME=`/usr/libexec/java_home -v 1.8`