I'm trying to compile (compliate?) my javaprogram but the command "javac" won't work on my computer. Does anyone know a way to solve this problem?
I get an error message saying Javac is not a valid command or something.
And I've tried tutorials saying I should change Path and Classpath but none of the tutorials I found on Google seems to work
What OS are you running? and what JDK?
Have you tried pointing to it fully like in cmd (if windows) go to the directory
change the jre1.6.0_05 for whatever version your using and then type javac if it works then there is definatly somthing wrong with either/or both of the path and classpath settings.
If that doesnt work try running it all in 1 like C:\Program Files\Java\jre1.6.0_05\bin\javac.exe see if that does anything, if it doesnt maybe simple uninstalling and reinstalling may fix this issues it happend to me once i found a re-install worked for me.
I'm running Windows Vista, and JDK 6. How do you mean "pointing to it fully in cmd"? I'm new to all this, just started learning Java so I pretty much know nothing.
If I search for the program "javac.exe" i get an error message saying it doesn't exist :S
If your searching for javac.exe and cant find it then its not on your computer, i in this case i would suggest uninstalling the jdk you have installed and try re-installing the latest one which i belive is jdk1.6.0_10 and try again as obviously javac.exe needs to be in the bin directory of the jdk folder for it to be used.
If you get problems you can pm me as i may not notice you replied to this