I downloaded and installed jdk-6u37-windows-i586.exe, but I must be doing something wrong (like downloading the wrong thing) because my computer doesn't recognize javac.
Most likely you just need to set your PATH to include Java's bin directory. There are instructions for setting paths on various OSes here: http://java.com/en/download/help/path.xml It says that it shouldn't be necessary for Windows, but I'm not sure why. It might mean the installer was supposed to do it, or maybe it's only talking about java (the runtime), not javac (the compiler). In any case, my recommendation is to set an environment variable called JAVA_HOME to the root folder of your installation, and then add %JAVA_HOME%\bin to your PATH environment variable.
If so, should I just download the latest JDK (and will it copy over Java 6 nicely)?
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32675
4
posted
0
You won’t notice any difference until you try writing numbers in binary.
Yes, you can download the latest JDK7.
Yes, it will work atop a JDK6 installation, as long as you adjust the PATH.