Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I just downloaded Minecraft on Ubuntu 12.04 lts. The launcher opens, but when I click play, it crashes and reopens with this error report.

---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.

Time: 1/1/14 12:31 PM  
Description: Initializing game

org.lwjgl.LWJGLException: Could not init GLX  
    at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method)  
    at org.lwjgl.opengl.LinuxDisplayPeerInfo.<init>(LinuxDisplayPeerInfo.java:61)  
    at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:818)  
    at org.lwjgl.opengl.DrawableGL.setPixelFormat(DrawableGL.java:61)  
    at org.lwjgl.opengl.Display.create(Display.java:846)  
    at org.lwjgl.opengl.Display.create(Display.java:757)  
    at org.lwjgl.opengl.Display.create(Display.java:739)  
    at azi.ad(SourceFile:325)  
    at azi.f(SourceFile:696)  
    at net.minecraft.client.main.Main.main(SourceFile:152)  


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

-- Head --   
Stacktrace:  

    `at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method)  
    at org.lwjgl.opengl.LinuxDisplayPeerInfo.<init>(LinuxDisplayPeerInfo.java:61)  
    at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:818)  
    at org.lwjgl.opengl.DrawableGL.setPixelFormat(DrawableGL.java:61)  
    at org.lwjgl.opengl.Display.create(Display.java:846)  
    at org.lwjgl.opengl.Display.create(Display.java:757)  
    at org.lwjgl.opengl.Display.create(Display.java:739)  
    at azi.ad(SourceFile:325)  `

-- Initialization --
Details:  
Stacktrace:  
    `at azi.f(SourceFile:696)  
    at net.minecraft.client.main.Main.main(SourceFile:152)`

-- System Details --  
Details:  
    `Minecraft Version: 1.7.4  
    Operating System: Linux (i386) version 3.5.0-23-generic  
    Java Version: 1.6.0_27, Sun Microsystems Inc.  
    Java VM Version: OpenJDK Server VM (mixed mode), Sun Microsystems Inc.  
    Memory: 34158592 bytes (32 MB) / 55836672 bytes (53 MB) up to 477233152 bytes   (455 MB)
    JVM Flags: 1 total; -Xmx512M  
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used  
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0  
    Launched Version: 1.7.4  
    LWJGL: 2.9.1  
    OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.  
    GL Caps:   
    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)  
    Vec3 Pool Size: ~~ERROR~~ NullPointerException: null  
    Anisotropic Filtering: Off (1)

How can I fix the error?

share|improve this question

1 Answer 1

I believe my answer here may be of assistance.

share|improve this answer
    
When I try to extract the file, I get this error tar (child): /home/superbry95/lib/jdk-7u45-linux-x64.tar.gz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now –  Ruben Jan 3 at 2:07
    
I got it extracted, but I don't see jre1.7.0 anywhere and it doesn't find it when I copy those lines into the terminal. –  Ruben Jan 3 at 2:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.