GCHelper引发异常

时间:2012-01-20 19:52:30

标签: java

我正在编写一个程序(称为Enchanting,让孩子们更轻松地编写LEGO Mindstorms NXT机器人),它有一个前端(基于Scratch,用Squeak Smalltalk编写)和后端(用Java编写,使用LeJOS NXJ框架)。用户拖放磁贴以创建代码;它被转换为java源文件然后编译。

我已经包含了32位Apache Harmony JDK,因为LeJOS framework requires a 32-bit JDK,并且因为尽管LeJOS在嵌入式计算机上提供了Java的重新实现,但我可以清楚地重新分发它。在Windows XP下工作正常,甚至在Windows 7 Starter下也是如此,两者都是32位操作系统。

在Windows 7(非Starter,64位)上,后端失败。我终于确定它是和谐的。

这是产生失败的最简单命令java -version及其输出(区域设置为希腊语 - 但不要担心,几乎所有输出都是英语):

Microsoft Windows [Έκδοση 6.1.7600]
Πνευματικά δικαιώματα (c) 2009 Microsoft Corporation. Με επιφύλαξη κάθε νόμιμου δικαιώματος.

C:\Users\USERNAME>cd "\Program Files\Enchanting\ThirdParty\harmony_jdk6\jre\bin"

C:\Program Files\Enchanting\ThirdParty\harmony_jdk6\jre\bin>java -version
Exception raised while initializing helper class org/apache/harmony/drlvm/gc_gen/GCHelper
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Signal reported: ABORT

Registers info is absent

Command line:
java  -version

Working directory:
C:\Program Files\Enchanting\ThirdParty\harmony_jdk6\jre\bin

Environment variables:
=::=::\
=C:=C:\Program Files\Enchanting\ThirdParty\harmony_jdk6\jre\bin
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\USERNAME\AppData\Roaming
CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=COMPUTERNAME
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\USERNAME
LOCALAPPDATA=C:\Users\USERNAME\AppData\Local
LOGONSERVER=\\COMPUTERNAME
NUMBER_OF_PROCESSORS=2
NXJ_HOME=C:\Program Files\leJOS NXJ
OS=Windows_NT
Path=C:\Program Files\Enchanting\ThirdParty\harmony_jdk6\jre\bin\default;C:\Prog
ram Files\Enchanting\ThirdParty\harmony_jdk6\jre\bin\;C:\Program Files\ImageMagi
ck-6.7.4-Q16;C:\Program Files\leJOS NXJ\bin;C:\Program Files\PC Connectivity Sol
ution\;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\sy
stem32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell
\v1.0\;C:\Program Files\Windows Live\Shared;C:\Program Files\QuickTime\QTSystem\
;C:\Program Files\Pinnacle\Shared Files\;C:\Program Files\Pinnacle\Shared Files\
Filter\;C:\VXIPNP\WinNT\Bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 3, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0403
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
QTJAVA=C:\Program Files\Java\jre6\lib\ext\QTJava.zip
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\2FD9~1\AppData\Local\Temp
TMP=C:\Users\2FD9~1\AppData\Local\Temp
USERDOMAIN=COMPUTERNAME
USERNAME=USERNAME
USERPROFILE=C:\Users\USERNAME
VBOX_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
VXIPNPPATH=C:\VXIPNP\
windir=C:\Windows

Loaded modules:

c:\program files\enchanting\thirdparty\harmony_jdk6\jre\bin\java.exe:
        0x00400000:0x0040d000
c:\windows\system32\ntdll.dll:
        0x77d50000:0x77e8c000
c:\windows\system32\kernel32.dll:
        0x76c80000:0x76d54000
c:\windows\system32\kernelbase.dll:
        0x76100000:0x7614a000
c:\program files\enchanting\thirdparty\harmony_jdk6\jre\bin\hyprt.dll:
        0x01d80000:0x01d97000
c:\program files\enchanting\thirdparty\harmony_jdk6\jre\bin\hythr.dll:
        0x01db0000:0x01e08000
c:\program files\enchanting\thirdparty\harmony_jdk6\jre\bin\msvcr71.dll:
        0x01f10000:0x01f66000
c:\windows\system32\ws2_32.dll:
        0x77ee0000:0x77f15000
c:\windows\system32\msvcrt.dll:
        0x77c00000:0x77cac000
c:\windows\system32\rpcrt4.dll:
        0x76580000:0x76621000
c:\windows\system32\nsi.dll:
        0x76570000:0x76576000
c:\windows\system32\advapi32.dll:
        0x76e80000:0x76f20000
c:\windows\system32\sechost.dll:
        0x77ec0000:0x77ed9000
c:\program files\enchanting\thirdparty\harmony_jdk6\jre\bin\default\harmonyvm.dl
l:
        0x009a0000:0x00d27000
c:\program files\enchanting\thirdparty\harmony_jdk6\jre\bin\default\icuuc34.dll:

        0x01580000:0x01648000
c:\program files\enchanting\thirdparty\harmony_jdk6\jre\bin\default\icudt34.dll:

        0x01f70000:0x027e0000
c:\program files\enchanting\thirdparty\harmony_jdk6\jre\bin\default\ch.dll:
        0x00d30000:0x00fd0000
c:\windows\system32\user32.dll:
        0x76a80000:0x76b49000
c:\windows\system32\gdi32.dll:
        0x76e30000:0x76e7e000
c:\windows\system32\lpk.dll:
        0x76c70000:0x76c7a000
c:\windows\system32\usp10.dll:
        0x77cb0000:0x77d4d000
c:\windows\system32\dbghelp.dll:
        0x6ec60000:0x6ed4b000
c:\program files\enchanting\thirdparty\harmony_jdk6\jre\bin\hyzlib.dll:
        0x01e10000:0x01e22000
c:\program files\enchanting\thirdparty\harmony_jdk6\jre\bin\msvcp71.dll:
        0x01e90000:0x01f0b000
c:\windows\system32\psapi.dll:
        0x77eb0000:0x77eb5000
c:\windows\system32\userenv.dll:
        0x75500000:0x75517000
c:\windows\system32\profapi.dll:
        0x75ee0000:0x75eeb000
c:\windows\system32\imm32.dll:
        0x77e90000:0x77eaf000
c:\windows\system32\msctf.dll:
        0x76d60000:0x76e2c000
c:\windows\temp\logishrd\lvprcinj01.dll:
        0x00200000:0x0021b000
c:\windows\system32\sspicli.dll:
        0x75df0000:0x75e0b000
c:\program files\enchanting\thirdparty\harmony_jdk6\jre\bin\default\em.dll:
        0x003c0000:0x003e4000
c:\program files\enchanting\thirdparty\harmony_jdk6\jre\bin\default\jitrino.dll:

        0x01810000:0x01c93000
c:\program files\enchanting\thirdparty\harmony_jdk6\jre\bin\default\gc_gen_uncom
p.dll:
        0x00410000:0x0044d000
c:\program files\enchanting\thirdparty\harmony_jdk6\jre\bin\hynio.dll:
        0x001d0000:0x001d6000
c:\program files\enchanting\thirdparty\harmony_jdk6\jre\bin\default\vmi.dll:
        0x003f0000:0x003f6000
c:\program files\enchanting\thirdparty\harmony_jdk6\jre\bin\hyluni.dll:
        0x00450000:0x00473000
c:\windows\system32\iphlpapi.dll:
        0x73f20000:0x73f3c000
c:\windows\system32\winnsi.dll:
        0x73f10000:0x73f17000
c:\windows\system32\mswsock.dll:
        0x75920000:0x7595c000
c:\program files\enchanting\thirdparty\harmony_jdk6\jre\bin\hyarchive.dll:
        0x00480000:0x0048c000

No stack trace due to registers info absence

C:\Program Files\Enchanting\ThirdParty\harmony_jdk6\jre\bin>

当我在Windows 7启动程序上运行相同的命令时,java会吐出一个类似它的版本号,一切都很开心。

有关我可以采取哪些措施来解决此问题或错误信息的含义的想法?

谢谢!

0 个答案:

没有答案