openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #07368
[Bug 935556] Re: minecraft crash with openjdk-7, some sort of search path issue.
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/935556
Title:
minecraft crash with openjdk-7, some sort of search path issue.
Status in “openjdk-7” package in Ubuntu:
New
Bug description:
running minecraft in openjdk-7, even though there are 64bit libraries
available, it tries to link to the 32bit ones. This is on a 64bit
machine.
Exception in thread "Minecraft main thread" java.lang.UnsatisfiedLinkError: /home/peter/.minecraft/bin/natives/liblwjgl.so: /home/peter/.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:1924)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1821)
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:180)
at net.minecraft.client.Minecraft.run(SourceFile:648)
at java.lang.Thread.run(Thread.java:722)
peter@basquette:~/.minecraft-/bin/natives$
The libraries are here:
peter@basquette:~/.minecraft/bin/natives$ ls -al
total 1756
drwxrwxr-x 2 peter peter 4096 Feb 18 11:37 .
drwxrwxr-x 3 peter peter 4096 Feb 18 11:37 ..
-rw-rw-r-- 1 peter peter 14512 Feb 18 11:37 libjinput-linux64.so
-rw-rw-r-- 1 peter peter 13824 Feb 18 11:37 libjinput-linux.so
-rw-rw-r-- 1 peter peter 463736 Feb 18 11:37 liblwjgl64.so
-rw-rw-r-- 1 peter peter 358360 Feb 18 11:37 liblwjgl.so
-rw-rw-r-- 1 peter peter 525203 Feb 18 11:37 libopenal64.so
-rw-rw-r-- 1 peter peter 400561 Feb 18 11:37 libopenal.so
peter@basquette:~/.minecraft/bin/natives$ file *
libjinput-linux64.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
libjinput-linux.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
liblwjgl64.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
liblwjgl.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=0x12e2a38b02f687627f2809dea133576da1ee9e06, stripped
libopenal64.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
libopenal.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped
peter@basquette:~/.minecraft/bin/natives$
openjdk-6 used to find them without issue, but openjdk 7 crashes
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: openjdk-7-jre 7~b147-2.0-1ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-16.25-generic 3.2.6
Uname: Linux 3.2.0-16-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Sat Feb 18 12:02:00 2012
InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: openjdk-7
UpgradeStatus: Upgraded to precise on 2012-01-15 (34 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/935556/+subscriptions
References