Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have written a Java program on the C: drive. When I compile it I get the following error:

C:\>javac MyApp.java
javac: file not found: MyApp.java
Usage: javac <options> <source files>
use -help for a list of possible options
share|improve this question
That's a pretty basic question, Priya. Search "java file not found error" in Google and have a look to the two first links (for your convenience and further reference: stackoverflow.com/questions/6108598/… and in.answers.yahoo.com/question/index?qid=20100218083716AASsdTn). –  jaume Feb 1 '13 at 18:38
Is your file in c:\ ? –  Ofiris Feb 1 '13 at 18:43
The file C:\MyApp.java obviously does not exist. –  BenjiWiebe Feb 1 '13 at 19:06
What I would like to know, who upvoted this question? –  BenjiWiebe Feb 1 '13 at 19:06
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.