i have been researching now for about 8 hours total now trying to add java to my computer. All i want to do is to compile programs using javac. I have Vista on my computer and i have downloaded the jdk version of java 1.6. Javac is just not workin. i have tried the helloworldapp but still all i get is javac is not reconized as an internal or external file. Its drivin me crazy can someone help me plase
Make sure there is something like C:\Program Files\Java\jdk1.6.0_03\bin; in it. (Only it is more likely you will have jdk1.6.0_04.) Navigate to that file and make sure it contains a list of executable files like, java, appletviewer, javac, javaw, javah, javap, etc. There should be about 30 of them.
Your PATH must correspond to where you installed the JDK files. If there are two references to Java files in the PATH, the most recent version ought to appear first.