jre java version code example
Example 1: java check jre version
java -version #for jre version
javac -version # for java compiler version
Example 2: jre in java
• Java Runtime Environment : JRE is what we need to run a Java program
and containsset of libraries and other files that JVM uses at run time.
JRE = JVM + Library Classes