Charlotte Queenan wrote:Yes the. Java is at the end of the filename and its in my documents, not my explorer. Should it be in the explorer and if so how would I save it there?
.Java? Does it say .Java instead of .java? In Java case does matter. If yes, you will need a .java file
By explorer, I meant the explorer window where you see all the files and folders on your system. If it is in my documents it is ok.
I would recommend you confirm the extension for .java then try out the steps I mentioned in Trouble Shooting II above.
If you still get the error, please copy paste the error here
Charlotte Queenan wrote:The error
States " The system cannot find the path specified"
You really need to give us as much information as possible for us to help you. this alone is not enough. What exactly do you type on the command line? What directory are you in? What directory is the .java file in?
All of these things matter. The more information you give, the easier it is to figure out where the problem is.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Are you on Windows? Are you using Notepad as a text editor? Do you have the "hide extensions for known file types" option in "file options" ticked? In that case, Notepad is capable of saving your work as MyClass.java.txt and the "hide extensions" pretends the .txt extension isn't there.
Don't use Notepad; try Notepad++ Notepad2 or jEdit (or other suggestions you will find in this forum).
Police line, do not cross. Well, this tiny ad can go through: