In the registry, you can find the following location
HKEY_LOCAL_MACHINE / SOFTWARE / JAVASOFT / JAVA Development Kit
CurrentVersion = 1.5 or currentversion = 1.4 can be set according to its own situation, such as when I use Eclipse, I will set it up to 1.4 when I installed JBuilder, causing Eclipse3.1 can't start, and then modified this registration The value and the following registration value are OK.
HKEY_LOCAL_MACHINE / SOFTWARE / JAVASOFT / JAVA RUNTIME ENVIRONMENT