I recently experienced problems with different JDKs / JREs on my computer (Windows XP). Therefore I deinstalled all JDKs / JREs and freshly installed a new J2EE SDK. Everything cool so far.
But now my browser (Firefox) starts to miss a JRE. I'm pretty sure that it would try to download and install a fresh JRE on my machine, but that's exactly what I don't want. The J2EE came with a JRE directory, so I think everything is already on my machine. But how do I notify my computer about that fact? I did not install any JRE stuff explicitly.
JAVA_HOME and PATH are set correctly, but I know that there are a bunch of registry entries related to Java installations. Do I have to play with those, or is there another way ? I have the feeling that - as soon as certain registry values are set - they dominate the system environment setting. Before having deinstalled my JDKs, I saw (from the -verbose mode of RMIC) that it used the wrong classes, even though the "non-registry environment" was set up correctly.
Go to your windows control panel, bring up the Java Control Panel, click on the "Advanced" tab, expand the node "<APPLET> tag support" and select "Mozilla and Netscape". That should point Firefox to the current JRE.
thanks for answering. Unfortunately I don't have a java control panel installed. I do have the JDK listed in my "installed software", but that's it. No further console or so, nothing in my program list, nothing in my system control panel...