+ 1

Issue with Compiler

I'm on the introduction lessons and have correctly installed the JDK. I am now trying to compiler the "ExampleProgram.java" as instruted here. Every time I try to compile as instructed I get the following error "javac: file not found: ExampleProgram.java" Any tips for moving past this would be appreciated!

20th Dec 2016, 9:17 PM
Joe Griffith
Joe Griffith - avatar
1 Answer
+ 2
You need to navigate to the folder where you have your ExampleProgram.java. Search on Google "How to navigate to a directory in cmd". However, you should use an IDE like Eclipse to make it easier for you to compile and run your programs.
20th Dec 2016, 9:30 PM
Syvered
Syvered - avatar