Check Java version from Command Line

Gabriel9999

New Member
Mar 21, 2019
34
0
6
I have a Java installation and I have only access via bash. How can I check the Java version from command line.