When I try to run Minecraft, I get the following error message at the prompt:
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit:
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.13)
at javax.swing.plaf.basic.BasicLookAndFeel.initialize(libgcj.so.13)
at javax.swing.UIManager.setLookAndFeel(libgcj.so.13)
at javax.swing.UIManager.<clinit>(libgcj.so.13)
at java.lang.Class.initializeClass(libgcj.so.13)
at net.minecraft.LauncherFrame.main(LauncherFrame.java:159)
at net.minecraft.MinecraftLauncher.main(MinecraftLauncher.java:13)
Caused by: java.lang.ClassNotFoundException:
at java.lang.Class.forName(libgcj.so.13)
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.13)
...6 more
I am running Opensuse 12.2 with Sun jre 1.7 on a 64 bit system. I've gone through the forums and haven't seen any posts for this, or a similar issue. I installed the 32 bit compatability for libgcj.so.13, on the odd chance I mistakenly downloaded the 32 bit version, but I get the same error. Interestingly, I managed to get to the login screen using the Iced Tea Java, then got the black screen once logged in.
I am not a typical techie Linux user, so please dumb it down a bit.
I also get the black screen with iced-tea version 7. Version 6 works well with my setup.
It looks like everything points to libgcj.so.13 which is a Java Runtime Library for gcc. Check the repo and see if you have this installed, and or check for an update.
Everything updated and current. I've uninstalled and reinstalled and done all of the usual basic things I could think of, even adding 32 bit compatability. Still no joy.
java version "1.5.0"
gij (GNU libgcj) version 4.7.1 20120723 [gcc-4_7-branch revision 189773]
Odd. The package that I have installed is the 1.7.0_10-fcs package from vendor: Sun Microsystems, or is reporting 1.5 normal?
With regards to update-alternatives, I revceive the following:
linux-dkbd:/home/snork # update-alternatives --config java
There is only one alternative in link group java: /usr/lib64/jvm/jre-1.5.0-gcj/bin/java
Nothing to configure.
linux-dkbd:/home/snork # update-alternatives --config java
There is only one alternative in link group java: /usr/lib64/jvm/jre-1.7.0-openjdk/bin/java
Nothing to configure.
Now I get to the launcher, but when I log in I get:
asdf
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: /home/snork/.minecraft/bin/natives/liblwjgl.so: /home/jrobb/.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.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)
If that ELFCLASS32 relates to 32 bit, this is a 64 bit system.
I seem to have some dependancy issues. If I select Sun's jre, a 1.5 gcj compatability package must be installed, so Open jdk is my only option at this point.
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit:
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.13)
at javax.swing.plaf.basic.BasicLookAndFeel.initialize(libgcj.so.13)
at javax.swing.UIManager.setLookAndFeel(libgcj.so.13)
at javax.swing.UIManager.<clinit>(libgcj.so.13)
at java.lang.Class.initializeClass(libgcj.so.13)
at net.minecraft.LauncherFrame.main(LauncherFrame.java:159)
at net.minecraft.MinecraftLauncher.main(MinecraftLauncher.java:13)
Caused by: java.lang.ClassNotFoundException:
at java.lang.Class.forName(libgcj.so.13)
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.13)
...6 more
I am running Opensuse 12.2 with Sun jre 1.7 on a 64 bit system. I've gone through the forums and haven't seen any posts for this, or a similar issue. I installed the 32 bit compatability for libgcj.so.13, on the odd chance I mistakenly downloaded the 32 bit version, but I get the same error. Interestingly, I managed to get to the login screen using the Iced Tea Java, then got the black screen once logged in.
I am not a typical techie Linux user, so please dumb it down a bit.
It looks like everything points to libgcj.so.13 which is a Java Runtime Library for gcc. Check the repo and see if you have this installed, and or check for an update.
gij (GNU libgcj) version 4.7.1 20120723 [gcc-4_7-branch revision 189773]
Odd. The package that I have installed is the 1.7.0_10-fcs package from vendor: Sun Microsystems, or is reporting 1.5 normal?
With regards to update-alternatives, I revceive the following:
linux-dkbd:/home/snork # update-alternatives --config java
There is only one alternative in link group java: /usr/lib64/jvm/jre-1.5.0-gcj/bin/java
Nothing to configure.
linux-dkbd:/home/snork # update-alternatives --config java
There is only one alternative in link group java: /usr/lib64/jvm/jre-1.7.0-openjdk/bin/java
Nothing to configure.
Now I get to the launcher, but when I log in I get:
asdf
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: /home/snork/.minecraft/bin/natives/liblwjgl.so: /home/jrobb/.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.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)
If that ELFCLASS32 relates to 32 bit, this is a 64 bit system.
I seem to have some dependancy issues. If I select Sun's jre, a 1.5 gcj compatability package must be installed, so Open jdk is my only option at this point.