You are not logged in.

#1 2013-03-31 13:02:19

Nelly
Member
From: Bratislava
Registered: 2012-02-15
Posts: 19

Minecraft starting problem

Dear fans, I have serious probles with starting a minecraft game. At first, the game starts always OK but if I quit it and try second run a got this message:

asdf
229 recipes
27 achievements
2013-03-31 14:58:29 [CLIENT] [INFO] Setting user: zrebec
(Session ID is 877961541501448536)
Exception in thread "Minecraft main thread" java.lang.ExceptionInInitializerError
	at net.minecraft.client.Minecraft.a(SourceFile:208)
	at avv.a(SourceFile:56)
	at net.minecraft.client.Minecraft.run(SourceFile:507)
	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

what is it? I tried delete complete .minecraft folder but didnt help it. Still the same error sad I using for run minecraft this script:

#!/bin/bash
export LD_LIBRARY_PATH="/opt/jdk/jre/lib/amd64"
java -jar /home/zrebec/minecraft/minecraft.jar

And I using latest JDK 1.7.0.17 (Oracle Java, not OpenJDK

java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

Any hint? Thank you very much for any advice


Linux bella 3.2.5-1-ARCH #1 SMP PREEMPT Tue Feb 7 08:34:36 CET 2012 x86_64 Intel
(R) Core(TM)2 CPU 6600 @ 2.40GHz GenuineIntel GNU/Linux
nVidia GeForce GTS 250

Offline

#2 2013-03-31 19:14:33

whobanil
Member
From: United States
Registered: 2013-03-20
Posts: 11

Re: Minecraft starting problem

It looks like their is an array out of bounds exception being thrown by lwjgl. Try updating it.

http://lwjgl.org/download.php

You should replace these files:

In .minecraft/bin/ (All operating systems)

    jinput.jar
    lwjgl.jar
    lwjgl_util.jar

In .minecraft/bin/natives/ (GNU/Linux)

    libjinput-linux.so
    libjinput-linux64.so
    liblwjgl.so
    liblwjgl64.so
    libopenal.so
    libopenal64.so


This comes from this web page: http://www.minecraftwiki.net/wiki/Tutor … date_LWJGL

Offline

#3 2013-04-01 03:32:43

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

Re: Minecraft starting problem

Have you tried with:

A: OpenJDK from the arch repos.
+
B: Minecraft from AUR?

It works here atleast, it uses this bash-script:

#!/bin/sh

# fix for users of special IM modules
unset XMODIFIERS GTK_IM_MODULE QT_IM_MODULE

LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$JAVA_HOME/lib/amd64/:$JAVA_HOME/lib/i386/:$JAVA_HOME/jre/lib/amd64/:$JAVA_HOME/jre/lib/i386/" exec java -Xmx2048M -Xms2048M -cp /usr/share/minecraft/minecraft.jar net.minecraft.LauncherFrame $@

(With some personal modifications on allocated ram in my case)

Last edited by PReP (2013-04-01 03:33:21)


#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