Answers for "choose java version"

2

change java version

/usr/libexec/java_home -V  
export JAVA_HOME=`/usr/libexec/java_home -v 1.6.0_65-b14-462` //java 8
Posted by: Guest on October-21-2020
0

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
Posted by: Guest on October-14-2021

Code answers related to "choose java version"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language