JRE检测到致命错误

时间:2014-09-25 01:42:21

标签: java

我在win7-32​​bit中生成了JAR,但我在win7-64bit中运行了JAR。

> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000002e74c5d, pid=7852, tid=4024
> #
> # JRE version: 7.0_25-b17
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode windows-amd64 compressed oops)
> # Problematic frame:
> # J  org.apache.http.impl.cookie.BestMatchSpec.formatCookies(Ljava/util/List;)Ljava/util/List;
> #
> # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
> #
> # If you would like to submit a bug report, please visit:
> #   http://bugreport.sun.com/bugreport/crash.jsp
> #

我不知道为什么会抛出这个错误。任何人都可以解决这个问题吗?

1 个答案:

答案 0 :(得分:2)

java JIT编译器中存在一个错误。 https://bugs.openjdk.java.net/browse/JDK-8021898

固定在1.7u60和1.8。否则,如果无法更新,可以暂时将-XX:-LoopUnswitching添加到服务器启动,以禁用循环非开关。