Check Java version from Command Line


Gabriel9999
#1
I have a Java installation and I have only access via bash. How can I check the Java version from command line.
 
samueltarcin999
#2
You can use the -version parameter for the java command like below.
java -version
Reference: https://www.poftut.com/check-java-version/
 

Similar Threads

17
Java
by Goober | Jul 14th, 2013
1
Hipster-proofing the java hut
by Locutus | Aug 16th, 2012
11
Java Ribs
by #juan | Sep 12th, 2007