Minecraft 不断崩溃,Java 8 OPENJDK

Minecraft 不断崩溃,Java 8 OPENJDK

我安装了 Minecraft 后,又安装了 Java,然后我在 1.10.2 上启动了我的游戏,我甚至尝试了 1.10

我的崩溃日志:

---- Minecraft Crash Report ----
// Don't do that.

Time: 7/28/16 7:10 PM
Description: Initializing game

java.lang.ExceptionInInitializerError
    at bcx.ar(SourceFile:624)
    at bcx.an(SourceFile:432)
    at bcx.a(SourceFile:381)
    at net.minecraft.client.main.Main.main(SourceFile:124)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
    at org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes(LinuxDisplay.java:951)
    at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:738)
    at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
    ... 4 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
    at bcx.ar(SourceFile:624)
    at bcx.an(SourceFile:432)

-- Initialization --
Details:
Stacktrace:
    at bcx.a(SourceFile:381)
    at net.minecraft.client.main.Main.main(SourceFile:124)

-- System Details --
Details:
    Minecraft Version: 1.10
    Operating System: Linux (amd64) version 4.4.0-31-generic
    Java Version: 1.8.0_91, Oracle Corporation
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 52439632 bytes (50 MB) / 152907776 bytes (145 MB) up to 1060372480 bytes (1011 MB)
    JVM Flags: 5 total; -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    Launched Version: 1.10
    LWJGL: 2.9.4
    OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
    GL Caps: 
    Using VBOs: Yes
    Is Modded: Probably not. Jar signature remains and client brand is untouched.
    Type: Client (map_client.txt)
    Resource Packs: 
    Current Language: ~~ERROR~~ NullPointerException: null
    Profiler Position: N/A (disabled)
    CPU: <unknown>

答案1

我之前见过这个问题!:D

您没有运行良好的图形驱动程序或窗口管理器。当您xiwi在 Chromebook 上使用时也会发生同样的事情,即 Chromebook 窗口无法处理 GL 请求。

查看 Ubuntu 表单,我发现了这一点:

脚步:

从终端

1)sudo apt-get 更新

  • 这会将您的 apt 数据库更新为最新的可用软件包。

2) sudo apt-get 安装 build-essential

  • 这将安装构建源代码所需的开发工具。

3)sudo apt-get安装freeglut3-dev

  • 这是 GL/GLUT 包。

https://ubuntuforums.org/showthread.php?t=345177

我建议你尝试一下,看看会发生什么。

如果可以,请安装适用于你的 GPU 的官方驱动程序。(如何在 Ubuntu 14.04 LTS 上更新 OpenGL 驱动程序可能对你有用。)

相关内容