I have a windows 7 (64bit) box.
When I first got this box, I have C:\Program Files (x86)\Java\jre6. I uninstalled this by accident. this is a 32 bit jre.
Then I installed jdk6 and jre6 under C:\Program Files\Java\jdk6 and C:\Program Files\Java\jre6.
But I noticed that my browsers (chrome and IE) doesn't recognize java if I do so.
Then I go to http://www.java.com/en/download/ to download java and install, then i get my C:\Program Files (x86)\Java\jre6 back. Then java in all browsers work. (another interesting thing is http://www.java.com/en/download/ can tell you which browser you are in right now, and the downloaded installer has different names if you use different browser to download. But once you installed one, all browsers begin to work)
And another question, what is function of control panel->programs->java???