I downloaded the current minecraft .jar file for use on my fedora 17 (KDE) Linux. When I attempt to run the program with java (java -jar minecraft.jar) it works fine on the login and loading screens, but then the contents of the window just turn black and it displays this error message(via terminal):
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: /home/Scott/.minecraft/bin/natives/liblwjgl.so: libjawt.so: cannot open shared object file: No such file or directory
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:1853)
at aoe.<init>(SourceFile:20)
at net.minecraft.client.Minecraft.<init>(SourceFile:77)
at anv.<init>(SourceFile:36)
at net.minecraft.client.MinecraftApplet.init(SourceFile:36)
at net.minecraft.Launcher.replace(Launcher.java:136)
at net.minecraft.Launcher$1.run(Launcher.java:79)
I have checked using the command java -version, and I have java 1.7 installed currently. On a side note I am finding that web java applications are working weird or not at all. Does anyone know if I did something wrong, or if there is another bit of software I have to install? (I used the rpm from the java site) Thanks in advance.
-EnduringWind
I'm guessing you're using the 64bit version of fedora?
The lwjgl library packaged with minecraft doesn't work with the 64bit version of java 1.7, so you can either update lwjgl or downgrade java to 1.6.
To update lwjgl: grab the latest version of lwjgl here: [url]http://sourceforge.net/projects/java-game-lib/files/Official%20Releases/LWJGL%202.8.4/[/url]
and replace the following files in ~/.minecraft/bin/ with the new version from the archive
./lwjgl.jar
./lwjgl_util.jar
./jinput.jar
./natives/liblwjgl.so
./natives/liblwjgl64.so
./natives/libjinput-linux.so
./natives/libopenal.so
./natives/libjinput-linux64.so
./natives/libopenal64.so
That worked, thanks. :D
Sorry, you need to Log In to post a reply to this thread.