Originally Posted by .Cyanide
Hey
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
Thanks,
Jake
|
What OS are you running? and what JDK?
Have you tried pointing to it fully like in cmd (if windows) go to the directory
Code:
C:\Program Files\Java\jre1.6.0_05\bin
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.