I am trying to follow the guide from Emma docs: http://emma.sourceforge.net/userguide_single/userguide.html, but the command java emmarun -cp out Main gives me an error as below:
emmarun: [MAIN_METHOD_NOT_FOUND] application class [Main] does not have a runnable public main() method
I have tried the solutions from the possible duplicate links, but it didn't help.
I am using Java 8 (jdk/jre 1.8.0_144).
Kindly tell me what am I missing.
Have you tried to use
-XX:-UseSplitVerifier?Per Using emmarun (main method not found), it looks like Emma has not been updated to keep pace with some JDK changes, but this workaround should do the trick.