Fatal error by Java runtime environment

I got the same problem, but with alot of googling I found the answer! See this page

Quote from the link:


# An unexpected error has been detected by Java Runtime Environment:
#
#  Internal Error (classFileParser.cpp:2924), pid=5364, tid=6644
#  Error: ShouldNotReachHere
  1. That’s because we are using Android’s JUnit stub implementation. Go to Run -> Run As -> Run configurations again and in the recently created JUnit configuration Classpath’s Bootstrap Entries remove Android Library
  2. Then Add Library, using Advanced… button, and add JRE System Library and JUnit 3
  3. Apply and Run

Try this, it worked for me.

Leave a Comment