I have Windows Vista, and I am trying to setup my Command Prompt to Compile and to practice programming. I downloaded 1.5 Java 2 Standard Edition SDK and it's J2SE API Documentation. I have started the setup by going to the Start/Settings, System, Environment Variables. Is this correct so far: Variable Name: JAVA_HOME PATH NAME: C:\java\sdk;1.5.0 then Click Enter?
How do I get to the PATH environment variable that points to the /bin directory inside the main Java directory?? Where the Java binaries (the tools are)?
Also, can the J2SE API documentation be attached to the 1.5 Java 2 SDK to view when programming? How is this done?
Please SearchFirst, the question has been asked many times here. If you scroll down to the bottom of the page, you can see Similar Threads box which shows at least two discussions that might suit you (here and here). I'm sure there are several others too.
The quieter you are, the more you are able to hear.
Nikki Sumnie wrote: . . . Is this correct so far: Variable Name: JAVA_HOME PATH NAME: C:\java\sdk;1.5.0 then Click Enter? . . .
I don’t think so. No. It is not the command prompt you are setting up, but the environment variables. You must use a PATH somehow (there are several ways to set it) and you should probably not set a CLASSPATH. Start by looking at our FAQ.