java - JVM 在桌面 Libgdx 应用程序中因非法指令而崩溃

标签 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。任何帮助将不胜感激,因为我无法在其他地方找到解决方案。

最佳答案

使用新版本的 libGDX 修复了这个问题

关于java - JVM 在桌面 Libgdx 应用程序中因非法指令而崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18407034/

相关文章:

java - 在 Java 中使用递归进行二值搜索

Java 在 BufferedReader.read for char 之后抛出 NumberFormatException 错误

java - addAction 总是将 actor 原点旋转 0,0,为什么?

java - 通过套接字发送多个数据值的最佳方法是什么?

java - 如何删除 HTML 特殊字符并将特殊字符替换为文本中的相应值?

Java:通过HashMap获取文本中最常见的500个单词

java - html5 libgdx 应用程序在哪里保存首选项文件?

java - 使用非阶段 InputProcessor 获取 Scene2D UI 元素的输入

input - 如何停止 LibGDX InputProcessor 识别回车键

java - Libgdx:创建其他对象的对象