You are not logged in.
27 achievements
210 recipes
Setting user: ---, 51d423076519d700ee47cc09460e891ebab82f37
Exception in thread "Minecraft main thread" java.lang.ExceptionInInitializerError
at net.minecraft.client.Minecraft.a(SourceFile:205)
at asq.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(SourceFile:515)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at org.lwjgl.opengl.XRandR$Screen.<init>(XRandR.java:234)
at org.lwjgl.opengl.XRandR$Screen.<init>(XRandR.java:196)
at org.lwjgl.opengl.XRandR.populate(XRandR.java:87)
at org.lwjgl.opengl.XRandR.access$100(XRandR.java:52)
at org.lwjgl.opengl.XRandR$1.run(XRandR.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.opengl.XRandR.getConfiguration(XRandR.java:108)
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:618)
at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
... 4 more
- Everything is up to date, I ran pacman -Syu right after the first time I saw the error.
- Using openjdk7
- Black screen after login.
Last edited by Invie (2013-06-03 00:26:26)
Just living is not enough... one must have sunshine, freedom, and a little flower. ~Hans Christian Andersen
Offline
- Downloaded recent liblwjgl.so
- Copied both the x64 and the x86 liblwjgl.so to my /usr/lib and /usr/lib32
- Linked liblwjg.so to /usr/lib liblwjgl64.so
- New Error:
Exception in thread "Thread-3" java.lang.NoSuchMethodError: getPointer
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
at java.lang.Runtime.load0(Runtime.java:792)
at java.lang.System.load(System.java:1059)
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)
Just living is not enough... one must have sunshine, freedom, and a little flower. ~Hans Christian Andersen
Offline
- Downloaded Latest Files for the Natives and unzip. Lightweight Java Game Library
# Install wget if you don't already have it.
~ > sudo pacman -S wget
~ > wget http://sourceforge.net/projects/java-game-lib/files/latest/download
~ > unzip lwjgl-*version*.zip
- List natives in .txt file to know which to create system links for.
~ > ls ~/.minecraft/bin/natives > nativeslist.txt
~> less nativeslist.txt
- Copy files in lwjgl-*version* directory into the appropriate /usr/lib directories [I have a 64 bit architexture.]
~ > cd lwjgl-2.8.5/native/linux
linux > sudo cp *64.so /usr/lib
linux > sudo cp [every other none 64 *.so file] /usr/lib/32
- Remove the files in minecraft natives and replace them with system links to the x64 or x86 files. [Refer to the list we created in the home folder if you don't remember them, or just update minecraft if you skipped that step, no biggie].
linux > cd ~/.minecraft/bin/natives; rm *
natives > ln -s /usr/lib/*file*
# If you have x64 make sure to remove the *64* part of the link so that it reads it without complaining.
# Example:
# mv liblwjgl64.so liblwjgl.so
- Replace jar files in ~/.minecraft/bin with the up-to-date ones
natives > cd ..
bin > rm jinput.jar # And then the rest except for minecraft.jar and including the lwjgl_util.jar
bin > cp ~/lwjgl-2.8.5/jar/* .
- Open Minecraft and enjoy!
Last edited by Invie (2013-06-03 00:25:28)
Just living is not enough... one must have sunshine, freedom, and a little flower. ~Hans Christian Andersen
Offline
Thanks very much, this worked for me too, although my libs directories were different (I had /usr/lib, /usr/lib64 and /usr/lib32).
Offline
Report this to mojang, this will only get worse.
Offline
You can also look at this, http://forums.funtoo.org/viewtopic.php?pid=9248. I used it for my kids computers and it's working.
Offline
Report this to mojang, this will only get worse.
Peculiar, i use the default lwjgl (coming with minecraft) and openjdk7, and i have no issues running it - what is it that happens here?
. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)
Offline