how to check if java se runtime environment (jre) version code example
Example: java check jre version
java -version #for jre version
javac -version # for java compiler version
java -version #for jre version
javac -version # for java compiler version