running Java programs from the command line
2014-08-29++ running Java programs from the command line
Just make a jar file in eclipse (File->Export->jar file), and I specified the main class with the main method. Then I ran the command
jar -jar full_filepath_to_file
and it works! Just fyi.