javac: file not found Error
Hi,
I'm recently learning java for a few different reasons. I'm comfortable - though not advanced by any means - using C and C++ for simple things, and if you gave my a program written entirely in either of those, I could explain to you what most of the components are doing. I would like to get to that same point with java. Anyways, I'm using this as one of my first little tutorials into java...
Building an Application: Introduction
And it was going well. I think I get most of what is going on. (Time will tell, right?). Anyways, I reached the last page, where it instructs me to compile the .java file I've created. When I go to do so, I get this error:
javac: file not found: DiveLog.java
Usage: javac <options> <source files>
use -help for a list of possible options
I have been reading quite a few threads on this, and have tried basically everything suggested. No progress so far. I have, for my sanity's sake, written a HelloWorld.java file, and that compiled fine, so I don't believe it's a problem with my environment variables or anything like that. So...Is there more likely a problem with the contents of the DiveLog.java file? I'm willing to try anything (even if it's something I've already done). Any help would be much appreciated!
Lastly, if you're wondering, I'm just using notepad. I appreciate what some programs can do for making code easier to understand and use, but I prefer learning code in its most basic form :)
Cheers!
Limbless