[Logo]
Forums Register Login
Path trouble
If my path says it's this:

C:\>path
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\pathWbem;C:\Program File
s\QuickTime\QTSystem\";"c:\Program Files\Java\jdk1.6.0_02\bin;";C:\WINDOWS;C:\WI
NDOWS\COMMAND;C:\PERL\BIN;C:\PROGRA~1\BORLAND\CBUILDER\BIN;"C:\Program Files\Sym
antec\Norton Ghost 2003\";"C:\Program Files\Java\jdk1.6.0_02\bin"

Can anybody please tell me why I get this:

C:\>javac c:\files\MyFirstApp.java
'javac' is not recognized as an internal or external command,
operable program or batch file.

As you can see, there are two references to the jdk bin directory, even though I swear I've only got it in there once in the environment control panel applet.

Thanks.
have you checked to make sure you really have a javac.exe in one of those directories?
Popeye has his spinach. I have this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss


This thread has been viewed 433 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 18, 2018 10:21:34.