A: 

I think this is specific to your machine setup. javac is the Java compiler, but it's looking for it inside C:\Program Files (x86)\Java\jre6\ instead of C:\Program Files (x86)\Java\jdk1.6.0_21\.

Let's try to dig through this:

  1. Did you uninstall your previous JDK after you installed JDK6u21?
  2. Did you uninstall your JRE?
  3. What OS are you running? Windows 7 64?
  4. Go to your Add/Remove Programs. You need the following entries:

alt text

  1. What do you have in your C:\Program Files (x86)\Java\?
The Alchemist
A: 

AFAIK, you have to install both the 32-bit and 64-bit version of the JDK.

leppie