Periksa versi JDK
java -version #for jre version
javac -version # for java compiler version
Batman
java -version #for jre version
javac -version # for java compiler version