Compiling/Running in Command Prompt
I am trying to compile and run a java program from the command prompt, and I'm running into one problem after another. I've searched the net as well as this forum and haven't found a solution just yet.
I have windows 7, and a program saved as "practice.java". My command prompt reads:
To compile, I've typed "javac practice.java", which is saved in a folder titled "Java Files".
When entered, I receive the error message:
javac: file not found: practice.java
Usage: javac <options> <source files>
use -help for a list of possible options
I've tried creating a classpath, and I've tried redefining the value of the path variable, but nothing seems to work. Any help would be greatly appreciated, thanks in advance.