JVM在桌面Libgdx应用程序中与非法指令崩溃

时间:2013-08-23 15:54:16

标签: java libgdx

我一直在尝试使用libgdx开始一些开发,并且一直在关注安装教程。 https://code.google.com/p/libgdx/wiki/ProjectSetupNew

但是,当我尝试运行桌面应用程序时,出现以下错误:

    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    #  EXCEPTION_ILLEGAL_INSTRUCTION (0xc000001d) at pc=0x6cee60ce, pid=1908, tid=2912
    #
    # JRE version: 7.0_25-b17
    # Java VM: Java HotSpot(TM) Client VM (23.25-b01 mixed mode, sharing windows-x86 )
    # Problematic frame:
    # C  [gdx.dll+0x260ce]  Java_com_badlogic_gdx_graphics_g2d_Gdx2DPixmap_load+0xde
    #
    # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
    #
    # An error report file with more information is saved as:
    # C:\Documents and Settings\Administrator\workspace\my-gdx-game-desktop\hs_err_pid1908.log
    #
    # If you would like to submit a bug report, please visit:
    #   http://bugreport.sun.com/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    #
    AL lib: (EE) alc_cleanup: 1 device not closed

但Android应用程序运行正常。我正在运行Windows XP。任何帮助将不胜感激,因为我无法在其他地方找到解决方案。

1 个答案:

答案 0 :(得分:0)

使用新版本的libGDX解决了这个问题