I'm having trouble how to run a NetBeans file right from command prompt. The program itself works just fine, but when I run it in NetBeans itself, it displays this, which I think is reasonable:
Usage: java Calculator operand1 operator operand2
The main problem is when I try to run the java file right from the command line, I'm able to cd to the where the file is located, but I can't access the file right from command line.
src\Chapter10Review>javac Calculator.java
'javac' is not recognized as an internal or external command,
operable program or batch file.
Any advice as to what the syntax is for accessing a java file from a command line?