java version command linux code example
Example 1: linux version command
lsb_release -a
Example 2: check java version linux
//1.6 and higher versions
java -version
Example 3: how to find java version linux
java -version
lsb_release -a
//1.6 and higher versions
java -version
java -version