wood burning stoves
The moose likes Beginning Java and the fly likes compile the source file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "compile the source file" Watch "compile the source file" New topic
Author

compile the source file

Naim Driss
Greenhorn

Joined: May 16, 2008
Posts: 2
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

Joined: May 16, 2008
Posts: 82
    
    2
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

Joined: May 26, 2003
Posts: 32633
    
215

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.


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: compile the source file
 
It's not a secret anymore!