How to get Minecraft working?
Posted: Sun 10 Feb 2013, 17:32
I downloaded the JRE tarball from the official Java website, then extracted it to /usr/java (so now I have a folder /usr/java/jre1.7.0_13/) and linked /usr/java/jre1.7.0_13/bin/java to /usr/bin.
I then ran java -Xmx1024M -Xms512M -cp minecraft.jar net.minecraft.LauncherFrame, just like the official instructions said, but for some reason, I can't get any of the text boxes for the login credentials in focus. I can middle-click to paste stuff in them, so that worked, and I set it to remember my password, but there are 2 people who play Minecraft on that computer, so that would be a problem.
Also, when I try to play, I get this:..so I decide to update my lwjgl.
After updating, it throws this at me:
What do I need to do? I have Precise Puppy 5.4.3.
UPDATE: I suspect graphics driver issues. I have a Radeon HD 4350, so I installed the ATI fglrx driver, but aticonfig --initial always returns "aticonfig: No supported adapters detected", no matter whether I'm running it from urvxt or the actual console. Rebooting didn't fix anything either.
I then ran java -Xmx1024M -Xms512M -cp minecraft.jar net.minecraft.LauncherFrame, just like the official instructions said, but for some reason, I can't get any of the text boxes for the login credentials in focus. I can middle-click to paste stuff in them, so that worked, and I set it to remember my password, but there are 2 people who play Minecraft on that computer, so that would be a problem.
Also, when I try to play, I get this:
Code: Select all
# java -Xmx1024M -Xms512M -cp minecraft.jar net.minecraft.LauncherFrame
asdf
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: /root/.minecraft/bin/natives/liblwjgl.so: libjawt.so: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at org.lwjgl.Sys$1.run(Sys.java:69)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)
at org.lwjgl.Sys.loadLibrary(Sys.java:81)
at org.lwjgl.Sys.<clinit>(Sys.java:98)
at net.minecraft.client.Minecraft.F(SourceFile:1976)
at asz.<init>(SourceFile:20)
at net.minecraft.client.Minecraft.<init>(SourceFile:75)
at asq.<init>(SourceFile:38)
at net.minecraft.client.MinecraftApplet.init(SourceFile:38)
at net.minecraft.Launcher.replace(Launcher.java:136)
at net.minecraft.Launcher$1.run(Launcher.java:79)
After updating, it throws this at me:
Code: Select all
# java -Xmx1024M -Xms512M -cp minecraft.jar net.minecraft.LauncherFrame
asdf
27 achievements
210 recipes
Setting user: codegeek98, -2563761272650108803
LWJGL Version: 2.8.5
org.lwjgl.LWJGLException: X Error - disp: 0x70287438 serial: 24 error: BadRequest (invalid request code or no such operation) request_code: 135 minor_code: 14
at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:318)
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:788)
at org.lwjgl.opengl.DrawableGL.setPixelFormat(DrawableGL.java:61)
at org.lwjgl.opengl.Display.create(Display.java:843)
at org.lwjgl.opengl.Display.create(Display.java:754)
at net.minecraft.client.Minecraft.a(SourceFile:223)
at asq.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(SourceFile:515)
at java.lang.Thread.run(Unknown Source)
org.lwjgl.LWJGLException: X Error - disp: 0x70287438 serial: 31 error: BadRequest (invalid request code or no such operation) request_code: 135 minor_code: 14
at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:318)
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:788)
at org.lwjgl.opengl.DrawableGL.setPixelFormat(DrawableGL.java:61)
at org.lwjgl.opengl.Display.create(Display.java:843)
at org.lwjgl.opengl.Display.create(Display.java:754)
at org.lwjgl.opengl.Display.create(Display.java:736)
at net.minecraft.client.Minecraft.a(SourceFile:232)
at asq.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(SourceFile:515)
at java.lang.Thread.run(Unknown Source)
UPDATE: I suspect graphics driver issues. I have a Radeon HD 4350, so I installed the ATI fglrx driver, but aticonfig --initial always returns "aticonfig: No supported adapters detected", no matter whether I'm running it from urvxt or the actual console. Rebooting didn't fix anything either.