This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

compile the source file  RSS feed

 
Naim Driss
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hallo everybody!


I typed by the shell the command: cd C:\java, it show this error:the system cannot find the specified commad. I also updated the PATHvariable.


Thanks
 
Larry Frissell
Ranch Hand
Posts: 82
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assume that you are following the Java Tutorial here which says Enter cd C:\java

If so, it is possible you missed one of the previous steps which provided instructions to create the directory C:\java and save the hello program to that file.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37180
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Naim,
In addition to confirming that you installed Java to that directory, can you confirm that you are Windows. Most people use "shell" when talking about Linux or UNIX - which wouldn't have a c: drive in the first place.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!