Using emmarun (main method not found)
问题 I have an ultra simple file in an empty directory: public class Test { public static void main(String[] args) { System.out.println("Test"); } } And the following works as expected javac Test.java java Test > Test I am on Mac OS X, using emma-2.0.5312 and java 1.7.0_40 emma.jar has been installed to /Library/Java/Extensions, so this works java emmarun (it displays the help for using emmarun) Next I run java emmarun -cp . Test And I get the error: emmarun: [MAIN_METHOD_NOT_FOUND] application