Games : How to get Minecraft to run on Ubuntu 14.04

I've been playing minecraft on Ubuntu 12.04 for ages and recently upgraded my OS to 14.04.


Since then I've not been able to play Minecraft. The launcher comes up but when I click Play it just dies after thinking for a bit.


I've been trying with my current install (saved games, mods etc.) but I've also tried with a fresh install - same thing happens.


I've tried OpenJDK 7 and Oracle Java 7 and Oracle Java 8.


I get the following error



---- Minecraft Crash Report ----
// Oops.

Time: 06/03/15 23:10
Description: Initializing game

java.lang.ExceptionInInitializerError
at avf.ar(SourceFile:560)
at avf.am(SourceFile:361)
at avf.a(SourceFile:310)
at net.minecraft.client.main.Main.main(SourceFile:124)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at org.lwjgl.opengl.XRandR.findPrimary(XRandR.java:326)
at org.lwjgl.opengl.XRandR.ScreentoDisplayMode(XRandR.java:315)
at org.lwjgl.opengl.LinuxDisplay$3.run(LinuxDisplay.java:746)
at org.lwjgl.opengl.LinuxDisplay$3.run(LinuxDisplay.java:743)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:743)
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 --
Stacktrace:
at avf.ar(SourceFile:560)
at avf.am(SourceFile:361)

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

-- System Details --
Details:
Minecraft Version: 1.8.3
Operating System: Linux (amd64) version 3.13.0-46-generic
CPU: 4x Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz
Java Version: 1.8.0_40, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 31821768 bytes (30 MB) / 152838144 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.8.3
LWJGL: 2.9.4
OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
GL Caps:
Using VBOs: No
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)

0 comments:

Post a Comment