• Post Reply Bookmark Topic Watch Topic
  • New Topic

Path trouble  RSS feed

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
lowercase baba
Bartender
Posts: 12565
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have you checked to make sure you really have a javac.exe in one of those directories?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!