openjdk version ubuntu code example
Example 1: linux show version
cat /etc/os-release
Example 2: check java version linux
//1.6 and higher versions
java -version
cat /etc/os-release
//1.6 and higher versions
java -version