I got this error when I try to run my program in Eclipse. What is this error?
java.lang.VerifyError: Catch type is not a subclass of Throwable in handler
at java.lang.Class.forName0(Native Method)
This error will be thrown when compiled version of the Java and Runtime Version of the Java is different.
How to Fix:
- Check the Compiler settings in Eclipse
- Check the Runtime Settings in Eclipse
- Fixing the Java version would solve this problem.