帮忙看这是为什么?
我运行JAVA2应用编程150例的程序程序报错(ECLIPSE和JAVA.EXE都报错)
LOG如下:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d6c85b2, pid=3896, tid=2472
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode)
# Problematic frame:
# V [jvm.dll+0x885b2]
#
--------------- T H R E A D ---------------
Current thread (0x00035f98): JavaThread "main " [_thread_in_vm, id=2472]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
Registers:
EAX=0x00000000, EBX=0x00000000, ECX=0x00036530, EDX=0x00ac3fcc
ESP=0x0007f5d0, EBP=0x0007f600, ESI=0x00035f98, EDI=0x00ac3fc4
EIP=0x6d6c85b2, EFLAGS=0x00010202
Top of Stack: (sp=0x0007f5d0)
0x0007f5d0: 0007f668 00036054 6d6c4793 00035f98
0x0007f5e0: 00036054 06cb7ea0 6d680568 00035f98
0x0007f5f0: 00035f98 06cb7ea0 00ac3fc4 00035f98
0x0007f600: 0007f634 6d137585 00036054 00000000
0x0007f610: 6d196e58 00ac3fc8 00035f98 06cb7ea0
0x0007f620: 06cb7ea0 0007f618 0007f758 6d163430
0x0007f630: 00000000 0007f660 00ae826f 00036054
0x0007f640: 0007f668 0007f644 06cb7ea0 0007f66c
Instructions: (pc=0x6d6c85b2)
0x6d6c85a2: 00 00 00 83 7d 14 00 0f 84 b9 00 00 00 8b 45 0c
0x6d6c85b2: ff 30 e8 c5 98 ff ff 59 50 56 8d 4d 08 e8 6e d8
Stack: [0x00040000,0x00080000), sp=0x0007f5d0, free space=253k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x885b2]
C [awt.dll+0xc7585]
j java.awt.Component.initIDs()V+0
j java.awt.Component. <clinit> ()V+94
v ~StubRoutines::call_stub
V [jvm.dll+0x8168d]
V [jvm.dll+0xd4179]
V [jvm.dll+0x8155e]
V [jvm.dll+0x74bd5]
V [jvm.dll+0x73ad4]
V [jvm.dll+0x742cf]
V [jvm.dll+0x73ad4]
V [jvm.dll+0x742cf]
V [jvm.dll+0x73ad4]
V [jvm.dll+0x742cf]
V [jvm.dll+0x73ad4]
V [jvm.dll+0x742cf]
V [jvm.dll+0x73ad4]
V [jvm.dll+0x9e711]
V [jvm.dll+0x84773]
C [java.exe+0x23d4]
C [java.exe+0x13cd]
C [java.exe+0x69cd]
C [kernel32.dll+0x16fd7]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j java.awt.Component.initIDs()V+0