This content has been marked as final. Show 1 reply
MihajloLazar wrote:The error means that javac could not find a file named a.java. It is looking in the current directory for that file. Do you see that file listed when you enter dir into the cmd? Sometimes this happens when you use Notepad to create the file and Notepad adds .txt to the end of the file name.
Hi to all of you.I`m new in the Java and have some problems.I`ve set my path to java and javac correctly (I typed into cmd java and javac and it all works fine).Now,I`ve made one simple program that says "samo polako"("just take it easy" on English).Program name is "a" and it has extension .java.Now,whe I type in the cmd javac a.java it says this:error: cannot read: a.java
I suggest going here [http://java.sun.com/docs/books/tutorial/] and click on the Getting Started tutorial.