1 A: I'm getting an error saying that I need a JDK instead of a JRE. What should I do?
R: You should make sure you have a Java Development Kit (JDK) installed on your machine. You can download it from here.
2 A: I'm getting an OutOfMemoryError: PermGenSpace. How can I solve this?
R: You have to increase the amount of memory for PermSize. To do this include the argument "-XX:MaxPermSize=1024m" in the list of Java VM Options (see list of arguments). For instance:
java -XX:MaxPermSize=1024m [other VM arguments] -jar ecrash.jar eCrash.Generate -testclass <class under test> [optional parameters]
3 A: I'm getting an java.lang.VerifyError: Expecting a stackmap frame at branch target. How can I solve this?
R: You have to add the VM argument "-XX:+UseSplitVerifier" in the list of Java VM Options (see list of arguments). For instance:
java -XX:+UseSplitVerifier [other VM arguments] -jar ecrash.jar -testclass eCrash.Generate -testclass <class under test> [optional parameters]
4 A: I'm getting an java.lang.ClassNotFoundException: [L<class name="">;. How can I solve this?</class>
R: You have to add the VM argument "-Dsun.lang.ClassLoader.allowArraySyntax=true". For instance:
java -Dsun.lang.ClassLoader.allowArraySyntax=true [other VM arguments] -jar ecrash.jar eCrash.Generate -testclass <class under test> [optional parameters]