2014-09-25 7 views
1

win7-32bit에서 JAR을 생성했지만 win7-64bit에서 JAR을 실행합니다.JRE에서 치명적인 오류가 감지되었습니다.

> # 
> # 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

그리고이 .jar에 대한 최소한의 작동 예제가있어 응용 프로그램이 충돌합니까? 'import thatthing '처럼. public class Test {public static void main (String [] args) {/ * 그 것을 사용하려고 시도합니다 * /}}'? –

답변

2

Java JIT 컴파일러에 버그가 있습니다. https://bugs.openjdk.java.net/browse/JDK-8021898

1.7u60 및 1.8로 고정됩니다. 그렇지 않으면 업데이트 할 수없는 경우 일시적으로 -XX : -LoopUnswitching을 서버 시작에 추가하여 루프 언 스위치를 비활성화 할 수 있습니다.

+0

-XX : -LoopUnswitchin은 오타입니다. -XX이어야합니다. -LoopUnswitching –

+0

좋은 캐치, 업데이트 됨 – klor

관련 문제