You are not logged in.
I am able to launch the client and login, but immediately after login the window goes black and hangs, throwing this exception:
Exception in thread "Minecraft main thread" java.lang.UnsatisfiedLinkError: /home/cyrus/.minecraft/bin/natives/liblwjgl.so: /home/cyrus/.minecraft/bin/natives/liblwjgl.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1928)
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 org.lwjgl.opengl.Display.<clinit>(Display.java:132)
at net.minecraft.client.Minecraft.a(SourceFile:244)
at net.minecraft.client.Minecraft.run(SourceFile:716)
at java.lang.Thread.run(Thread.java:722)
Based on suggestions elsewhere, I tried replacing the lwjgl files in the .minecraft directory, to no avail. I also re-downloaded the Minecraft client. Incidentally, the browser client also hangs when I try to use it. I'm not sure if I'm reading the error right, but it seems like it's having a problem with 64-bit architecture.
Last edited by nullstellensatz (2011-09-08 23:46:01)
Offline
Make a script with the following in it and use that script to launch the game.
export LD_LIBRARY_PATH="/opt/java/jre/lib/amd64"
java -Xmx1024M -Xms512M -cp minecraft.jar net.minecraft.LauncherFrame
Last edited by Moparx (2011-09-08 06:18:38)
And then it happened... a door opened to a world... rushing through the phone line like heroin through an addict's veins, an electronic pulse is sent out, a refuge from the day-to-day incompetencies is sought... a board is found.
"This is it... this is where I belong..."
Arch Linux x86_64 | LiCo #213644 | blog / configs
Offline
Thanks, that worked perfectly!
Offline
I'm not really sure if I should post this here, but I'm having the exact same problem he had but when running that script I get
Error: Could not find or load main class net.minecraft.LauncherFrame
What could this mean? My problems started with last 24 after updating my packages. Here is a log of yaourt/pacman updating the packages in case this might be useful:
[2011-11-24 12:24] starting full system upgrade
[2011-11-24 12:35] upgraded readline (6.2.001-3 -> 6.2.002-1)
[2011-11-24 12:35] upgraded bash (4.2.010-2 -> 4.2.020-1)
[2011-11-24 12:35] upgraded lame (3.99.1-1 -> 3.99.2-1)
[2011-11-24 12:35] upgraded ffmpeg (20111108-1 -> 20111123-1)
[2011-11-24 12:35] upgraded grep (2.9-2 -> 2.10-1)
[2011-11-24 12:35] upgraded libktorrent (1.1.2-1 -> 1.1.3-1)
[2011-11-24 12:35] upgraded ktorrent (4.1.2-1 -> 4.1.3-1)
[2011-11-24 12:35] upgraded libmysqlclient (5.5.17-1 -> 5.5.18-1)
[2011-11-24 12:36] >>> Updating module dependencies. Please wait ...
[2011-11-24 12:36] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2011-11-24 12:36] ==> Building image from preset: 'default'
[2011-11-24 12:36] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2011-11-24 12:36] ==> Starting build: 3.1.2-1-ARCH
[2011-11-24 12:36] -> Parsing hook: [base]
[2011-11-24 12:36] -> Parsing hook: [udev]
[2011-11-24 12:36] -> Parsing hook: [autodetect]
[2011-11-24 12:36] -> Parsing hook: [pata]
[2011-11-24 12:36] -> Parsing hook: [scsi]
[2011-11-24 12:36] -> Parsing hook: [sata]
[2011-11-24 12:36] -> Parsing hook: [filesystems]
[2011-11-24 12:36] -> Parsing hook: [usbinput]
[2011-11-24 12:36] ==> Generating module dependencies
[2011-11-24 12:36] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
[2011-11-24 12:36] ==> Image generation successful
[2011-11-24 12:36] ==> Building image from preset: 'fallback'
[2011-11-24 12:36] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2011-11-24 12:36] ==> Starting build: 3.1.2-1-ARCH
[2011-11-24 12:36] -> Parsing hook: [base]
[2011-11-24 12:36] -> Parsing hook: [udev]
[2011-11-24 12:36] -> Parsing hook: [pata]
[2011-11-24 12:36] -> Parsing hook: [scsi]
[2011-11-24 12:36] -> Parsing hook: [sata]
[2011-11-24 12:36] -> Parsing hook: [filesystems]
[2011-11-24 12:36] -> Parsing hook: [usbinput]
[2011-11-24 12:36] ==> Generating module dependencies
[2011-11-24 12:36] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
[2011-11-24 12:36] ==> Image generation successful
[2011-11-24 12:36] upgraded linux (3.1.1-1 -> 3.1.2-1)
[2011-11-24 12:36] upgraded linux-headers (3.1.1-1 -> 3.1.2-1)
[2011-11-24 12:36] upgraded mysql-clients (5.5.17-1 -> 5.5.18-1)
[2011-11-24 12:36] upgraded mysql (5.5.17-1 -> 5.5.18-1)
[2011-11-24 12:36] upgraded testdisk (6.12-1 -> 6.13-1)
[2011-11-24 12:40] Running 'pacman -U /tmp/yaourt-tmp-arktanis/PKGDEST.yqY/minecraft-latest-14-any.pkg.tar.xz'
[2011-11-24 12:41] upgraded minecraft (latest-13 -> latest-14)
Offline
Put this code to your ~/.bashrc worked for me:
export LD_LIBRARY_PATH="/usr/lib/jvm/java-7-openjdk/jre/lib/amd64/"
Last edited by i42n (2012-03-07 21:34:17)
Offline
Sorry to open up old wounds but a better way to do this would be
sudo su -c "echo [path to java]/lib/amd64(or i386) > /etc/ld.so.conf.d/java.conf"
sudo ldconfig -v
so for me it is
sudo su -c "echo /opt/java/jre/lib/amd64 > /etc/ld.so.conf.d/java.conf"
sudo ldconfig -v
but if I was the root user then it would be (still in my case)
echo /opt/java/jre/lib/amd64 > /etc/ld.so.conf.d/java.conf
ldconfig -v
Offline