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

dynamic313 is on a distinguished road

Send a message via MSN to dynamic313

  Old

Originally Posted by .Cyanide View Post
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.