There are two varieties of JRE available. Java VM: IBM vs. Sun.
Is there a way to know which JRE I am using through JavaScript or some Java issued command.
Type in:
java -version // This will check your JRE version
javac -version // This will check your Java compiler version if you installed the JDK