You are not logged in.

#1 2011-02-16 00:09:20

jollysnowman
Member
From: Austin, TX
Registered: 2010-12-08
Posts: 35

Can't get Minecraft to run

Hi,

I'm new to Arch... I've been on CrunchBang for the past couple years and have decided to add Arch to my quiver. Anyway, here's my problem: I have a fresh Arch 64-bit install, with Sun's jdk installed. Minecraft runs fine on my Windows install, as well on my CrunchBang (Debian base) install.

Minecraft gives me this error:

Minecraft has crashed!      
      ----------------------      

Minecraft has stopped running because it encountered a problem.

If you wish to report this, please copy this entire text and email it to support@mojang.com.
Please include a description of what you did when the error occured.



--- BEGIN ERROR REPORT a1dce528 --------
Generated 2/15/11 6:01 PM

Minecraft: Minecraft Beta 1.2_02
OS: Linux (amd64) version 2.6.37-ARCH
Java: 1.6.0_23, Sun Microsystems Inc.
VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
[failed to get system properties (java.lang.NullPointerException)]

java.lang.IllegalStateException: Only one LWJGL context may be instantiated at any one time.
    at org.lwjgl.opengl.Display.create(Display.java:846)
    at org.lwjgl.opengl.Display.create(Display.java:784)
    at org.lwjgl.opengl.Display.create(Display.java:765)
    at net.minecraft.client.Minecraft.a(SourceFile:243)
    at net.minecraft.client.Minecraft.run(SourceFile:606)
    at java.lang.Thread.run(Thread.java:662)
--- END ERROR REPORT 2419adf1 ----------

And I get this on the console:

$ java -jar minecraft.jar 
java.io.IOException: Cannot run program "javaw": java.io.IOException: error=2, No such file or directory
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
    at net.minecraft.MinecraftLauncher.main(MinecraftLauncher.java:31)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
    at java.lang.ProcessImpl.start(ProcessImpl.java:65)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
    ... 1 more
Username is 'jollysnowman'
28
Setting user: jollysnowman, 6038466594705652419
failed to create drawable
org.lwjgl.LWJGLException: X Error - disp: 0x4139c240 serial: 95 error: BadGC (invalid GC parameter) request_code: 60 minor_code: 0
    at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:268)
    at org.lwjgl.opengl.LinuxKeyboard.nSetDetectableKeyRepeat(Native Method)
    at org.lwjgl.opengl.LinuxKeyboard.setDetectableKeyRepeat(LinuxKeyboard.java:152)
    at org.lwjgl.opengl.LinuxKeyboard.destroy(LinuxKeyboard.java:163)
    at org.lwjgl.opengl.LinuxDisplay.destroyKeyboard(LinuxDisplay.java:1015)
    at org.lwjgl.input.Keyboard.destroy(Keyboard.java:349)
    at org.lwjgl.opengl.Display.destroyWindow(Display.java:350)
    at org.lwjgl.opengl.Display.create(Display.java:867)
    at org.lwjgl.opengl.Display.create(Display.java:784)
    at org.lwjgl.opengl.Display.create(Display.java:765)
    at net.minecraft.client.Minecraft.a(SourceFile:211)
    at net.minecraft.client.Minecraft.run(SourceFile:606)
    at java.lang.Thread.run(Thread.java:662)
java.lang.IllegalStateException: Only one LWJGL context may be instantiated at any one time.
    at org.lwjgl.opengl.Display.create(Display.java:846)
    at org.lwjgl.opengl.Display.create(Display.java:784)
    at org.lwjgl.opengl.Display.create(Display.java:765)
    at net.minecraft.client.Minecraft.a(SourceFile:243)
    at net.minecraft.client.Minecraft.run(SourceFile:606)
    at java.lang.Thread.run(Thread.java:662)

I've done some searching and it seems that other people have had similar problems, but I couldn't find a solution or this exact same occurrence.

Any help? Thanks!

Offline

#2 2011-02-16 00:51:00

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: Can't get Minecraft to run

There is no executable called javaw under linux

You could try creating a 2 line shell script called javaw containing this

#!/bin/bash
nohup java $* >/dev/null 2>&1

which does the same thing as javaw.exe under windows

Offline

#3 2011-02-16 03:04:02

jollysnowman
Member
From: Austin, TX
Registered: 2010-12-08
Posts: 35

Re: Can't get Minecraft to run

Well that would just redirect output to /dev/null and then I can't see any errors. Sorry, I should've been more clear: The error seems to be with lwjgl.

Offline

#4 2011-02-16 12:15:55

shwick
Member
Registered: 2010-09-16
Posts: 31

Re: Can't get Minecraft to run

Well, I start minecraft with:

java -Xmx768M -Xms512M -cp minecraft.jar net.minecraft.LauncherFrame

Offline

#5 2011-02-16 15:03:04

jollysnowman
Member
From: Austin, TX
Registered: 2010-12-08
Posts: 35

Re: Can't get Minecraft to run

Thanks, shwick. That cleared up the javaw error, but it still crashes reporting the LWGJL error.

$ java -Xmx768M -Xms512M -cp minecraft.jar net.minecraft.LauncherFrame
Username is 'jollysnowman'
28
Setting user: jollysnowman, -1220651258454399994
failed to create drawable
org.lwjgl.LWJGLException: X Error - disp: 0x41376a60 serial: 95 error: BadGC (invalid GC parameter) request_code: 60 minor_code: 0
    at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:268)
    at org.lwjgl.opengl.LinuxKeyboard.nSetDetectableKeyRepeat(Native Method)
    at org.lwjgl.opengl.LinuxKeyboard.setDetectableKeyRepeat(LinuxKeyboard.java:152)
    at org.lwjgl.opengl.LinuxKeyboard.destroy(LinuxKeyboard.java:163)
    at org.lwjgl.opengl.LinuxDisplay.destroyKeyboard(LinuxDisplay.java:1015)
    at org.lwjgl.input.Keyboard.destroy(Keyboard.java:349)
    at org.lwjgl.opengl.Display.destroyWindow(Display.java:350)
    at org.lwjgl.opengl.Display.create(Display.java:867)
    at org.lwjgl.opengl.Display.create(Display.java:784)
    at org.lwjgl.opengl.Display.create(Display.java:765)
    at net.minecraft.client.Minecraft.a(SourceFile:211)
    at net.minecraft.client.Minecraft.run(SourceFile:606)
    at java.lang.Thread.run(Thread.java:662)
java.lang.IllegalStateException: Only one LWJGL context may be instantiated at any one time.
    at org.lwjgl.opengl.Display.create(Display.java:846)
    at org.lwjgl.opengl.Display.create(Display.java:784)
    at org.lwjgl.opengl.Display.create(Display.java:765)
    at net.minecraft.client.Minecraft.a(SourceFile:243)
    at net.minecraft.client.Minecraft.run(SourceFile:606)
    at java.lang.Thread.run(Thread.java:662)

Offline

#6 2011-02-17 00:45:21

egb
Member
Registered: 2011-02-15
Posts: 8

Re: Can't get Minecraft to run

Hmm.. I can run minecraft, but it's a bit slow though compared to when running in Windows.
Have you tried updating your display drivers? smile

Offline

#7 2011-02-17 01:56:59

jollysnowman
Member
From: Austin, TX
Registered: 2010-12-08
Posts: 35

Re: Can't get Minecraft to run

I'm using the xf86-video-ati driver with an onboard AMD HD4200. (In Debian, it's also a little slow when compared to Windows).

egb, did you have to do anything special to make it run? What command do you invoke? Like I said, this is on a fresh Arch install with Sun's jdk. I just use "java -jar minecraft.jar"

Offline

#8 2011-02-24 22:00:01

tredontho
Member
Registered: 2011-02-24
Posts: 6

Re: Can't get Minecraft to run

I'm interested to know the solution as well. 

I have exactly the same problem, I'm using the same video driver (xf86-video-ati). 
I get the launcher/login window, but as soon as I click login, I just get a black screen that hangs for a bit, before presenting the error message about LWJGL.

Offline

#9 2011-02-25 03:34:35

jollysnowman
Member
From: Austin, TX
Registered: 2010-12-08
Posts: 35

Re: Can't get Minecraft to run

tredontho, right now I only have a workaround. I copied my minecraft folder from my debian install (it'd created a few files/directories where minecraft.jar resides), and it started working. I can't tell you what the problem or solution is =/.

Offline

Board footer

Powered by FluxBB