You are not logged in.

#1 2013-01-05 21:03:42

Invie
Member
From: Carnage, Destruction USA
Registered: 2012-09-08
Posts: 70

[SOLVED][DICTATED SOLUTION] Minecraft: Black Screen after Login

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

#2 2013-01-06 01:37:37

Invie
Member
From: Carnage, Destruction USA
Registered: 2012-09-08
Posts: 70

Re: [SOLVED][DICTATED SOLUTION] Minecraft: Black Screen after Login

- 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

#3 2013-01-06 10:23:34

Invie
Member
From: Carnage, Destruction USA
Registered: 2012-09-08
Posts: 70

Re: [SOLVED][DICTATED SOLUTION] Minecraft: Black Screen after Login

- 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

#4 2013-03-10 17:05:44

freeware.preacher
Member
Registered: 2012-12-22
Posts: 1

Re: [SOLVED][DICTATED SOLUTION] Minecraft: Black Screen after Login

Thanks very much, this worked for me too, although my libs directories were different (I had /usr/lib, /usr/lib64 and /usr/lib32).

Offline

#5 2013-03-10 17:30:14

Awebb
Member
Registered: 2010-05-06
Posts: 4,307

Re: [SOLVED][DICTATED SOLUTION] Minecraft: Black Screen after Login

Report this to mojang, this will only get worse.

Offline

#6 2013-06-24 09:09:01

thoase
Member
Registered: 2013-06-10
Posts: 2

Re: [SOLVED][DICTATED SOLUTION] Minecraft: Black Screen after Login

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

#7 2013-06-24 20:50:05

PReP
Member
From: Sweden/Sala
Registered: 2010-06-13
Posts: 347
Website

Re: [SOLVED][DICTATED SOLUTION] Minecraft: Black Screen after Login

Awebb wrote:

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?


#1 Main: Intel Core i5 2500k (Sandy) @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
#2 Server: Intel C2D E8400 @ 3.6 Ghz, 3 GB DDR2-RAM @ 802mhz, XFX GF GTX260 XT -ArchLinux 64-bit.

<- Server Homepage: http://prep.mine.nu ->

Offline

Board footer

Powered by FluxBB