View Single Post
10-09-2008, 10:27 PM
dynamic313 is offline dynamic313
Status: Junior Member
Join date: Jul 2008
Posts: 52
iTrader: 0 / 50%

dynamic313 is on a distinguished road

Send a message via MSN to dynamic313


Originally Posted by .Cyanide View Post

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
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.