Reputation: 6617
I have tried execute this class as a java application and have got this following error .
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (classFileParser.cpp:3494), pid=4804, tid=5860
# Error: ShouldNotReachHere()
#
# JRE version: 6.0_35-b10
# Java VM: Java HotSpot(TM) Client VM (20.10-b01 mixed mode windows-x86 )
# An error report file with more information is saved as:
# D:\HussainEclipse\GT_GoogleAPI_Android_Sept28\hs_err_pid4804.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
you can find my class file here
any suggestion , what is going wrong ,
i haven't written this class , have just tried to understand , and it should bring me some desired output
also on an ending note this class was importing edu.uci.ics.crawler4j.crawler.Configurations but i could not find any jar for this , but i found a class definition so i created this class in my project which can be found here
Upvotes: 0
Views: 420
Reputation: 3876
It seems to be a JVM bug
Have a look at: A fatal error has been detected by the Java Runtime Environment: Internal Error ; Error: ShouldNotReachHere()
Upvotes: 2
Reputation: 8874
It looks like you are trying to execute Dalvik bytecode on a Oracle JVM. Although both are written with the same syntax, the bytecode is completely different. You need to recompile for Java.
Upvotes: 2
Reputation: 24895
This is a problem within the JVM itself.
The JVM is just another program as it can have its own bugs/glitches/installation problems. This kind of error does not mean that you have an error in your Java program or that you did anything wrong (the same way than an internal error in MS Word does not mean that your document is wrong).
You should check the log file for more information, but I would just reinstall java/update to a newer version if possible as a first step.
Upvotes: 0