Here\'s what I\'ve got:
TestFile.java
with the same class name.main()
method.
You can run the java file in the cmd command window.
make sure you have install the java environment.
java -version
output: java version "1.7.0_07" Java(TM) SE Runtime Environment (build 1.7.0_07-b11) Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
cd javafilepath
java yourjavafilename.java