This problem is a bit embarrassing, and the solution is most likely on your web site somewhere, but I haven't been able to find it, so here goes: I've just installed Java to my C:\ drive, and while the machine can find java it can't find javac, to wit:
C:\>java -version
java version "1.7.0_11"
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
C:\>javac -version
Error: Could not find or load main class com.sun.tools.javac.Main
and I get the above response even when I'm sitting IN the bin directory. I'm stumped.
I've tried updating both the PATH and JAVA_HOME environment variables, and I'm sorta stuck. Can anyone help? Note: I'm glad to go to the appropriate spot on your site, but I haven't been able to locate it, if you just point me to it I will consider myself helped, and thanks.