change java version
/usr/libexec/java_home -V
export JAVA_HOME=`/usr/libexec/java_home -v 1.6.0_65-b14-462` //java 8
change java version
/usr/libexec/java_home -V
export JAVA_HOME=`/usr/libexec/java_home -v 1.6.0_65-b14-462` //java 8
how to check the version of java installed on my computer
// If you have the Java Runtime Environment (JRE) version installed, run this command on your terminal(Command Prompt - for windows):
java -version
// If you have the Java Compiler version installed, run this command [still on your terminal(Command Prompt - for windows)]:
javac -version
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us