You are not logged in.
Pages: 1
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
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
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
Well, I start minecraft with:
java -Xmx768M -Xms512M -cp minecraft.jar net.minecraft.LauncherFrame
Offline
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
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?
Offline
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
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
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
Pages: 1