Use suggested in
to detect Jre installed in the user system since for Jre 1.7.0 and above,
the plugin values are not stored in the registry.
deployJava.versionCheck(1.7.0_04) (to check presence of Jre 1.7.0_04 )
The above method works fine and detects the Jre's but for Jre 1.7.0
installed in the system, the above method returns true. Even if the check
is for 1.7.0_01, 02, 03 (or any other check for 1.7.0 and above ) , the
method returns true for Jre 1.7.0. Due to this, we face issues while
logging into our application using Jre 1.7.0 installed in the system.