Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 30th November 2011, 06:40 AM
mcrbids Offline
Registered User
 
Join Date: Dec 2004
Posts: 8
linuxchrome
Minecraft hangs on black screen after login

Here's something like what I saw: Exception in thread "Minecraft main thread" java.lang.UnsatisfiedLinkError: /home/ME/.minecraft/bin/natives/liblwjgl.so: /home/ME/.minecraft/bin/natives/liblwjgl.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)

I had the problem mentioned here at ArchLinux: https://bbs.archlinux.org/viewtopic.php?id=126112 and wanted to document the quick fix so that future google hunters can find this tidbit of wisdom. From this link, I wrote a script as follows:


------------------------------------------------
#! /bin/sh
export LD_LIBRARY_PATH="/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.1.x86_64/jre/lib/amd64"
cd /home/bens/bin && java -Xmx1024M -Xms512M -cp ~/bin/Minecraft.jar net.minecraft.LauncherFrame
------------------------------------------------


I got the path by
$ rpm -qa | grep -i java

and then
$ rpm -ql java-1.7.0-openjdk-LATEST-VERSION-FROM-PREVIOUS | grep -i jre
Reply With Quote
  #2  
Old 16th January 2012, 03:09 AM
Omega420 Offline
Registered User
 
Join Date: Jan 2012
Location: Maui
Posts: 1
linuxfirefox
Re: Minecraft hangs on black screen after login

Alright so that did NOT work for my system, Fedora 16 what DID work was opening my minecraft folder then adding the terminal panel with F4 and pasting this into the terminal

export LD_LIBRARY_PATH="/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.1.x86_64/jre/lib/amd64"
java -Xmx1024M -Xms512M -cp minecraft.jar net.minecraft.LauncherFrame

and that worked like a charm! but you HAVE to have the minecraft folder open with a terminal docked.

what i would like to know is how to get this to work without having to do this every time i want to play minecraft. it seems that i only have to do.

export LD_LIBRARY_PATH="/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.1.x86_64/jre/lib/amd64"

Once per computer start. and i tried to create a launcher so i can just click to start minecraft but having no luck, im new to linux so if you guide me make sure its in the noob lanuage pls
Reply With Quote
  #3  
Old 14th March 2012, 06:56 AM
crazymonito Offline
Registered User
 
Join Date: Jul 2009
Location: Boulder, CO
Posts: 24
linuxfirefox
Re: Minecraft hangs on black screen after login

I just had the same problem, and here is what worked for me:

1. Go to http://lwjgl.org/download.php
2. Click the link to download the newest stable release
3. Download lwjgl-x.x.x.zip (lwjgl-2.8.3.zip at the time of writing)
4. Go to your home folder and press ctrl + h to show your hidden files
5. Go to .minecraft/bin and copy the matching .jar files from the jar folder in the zip that you downloaded into there
6. Copy the .so files from the native/linux folder in the zip file to .minecraft/bin/natives
7. Launch Minecraft

Hope that helps!
Reply With Quote
  #4  
Old 14th June 2012, 09:05 PM
spacelad101 Offline
Registered User
 
Join Date: Mar 2010
Posts: 9
linuxfirefox
Re: Minecraft hangs on black screen after login

Quote:
I just had the same problem, and here is what worked for me:

1. Go to http://lwjgl.org/download.php
2. Click the link to download the newest stable release
3. Download lwjgl-x.x.x.zip (lwjgl-2.8.3.zip at the time of writing)
4. Go to your home folder and press ctrl + h to show your hidden files
5. Go to .minecraft/bin and copy the matching .jar files from the jar folder in the zip that you downloaded into there
6. Copy the .so files from the native/linux folder in the zip file to .minecraft/bin/natives
7. Launch Minecraft

Hope that helps!
THANK-YOU SOO MUCH! You have no idea how long I have been trying to get it to work and then this!
Reply With Quote
  #5  
Old 31st August 2012, 08:54 PM
foggie Offline
Registered User
 
Join Date: Aug 2012
Location: Utah
Age: 39
Posts: 1
windows_xp_2003chrome
Re: Minecraft hangs on black screen after login

That worked like a charm for me too. Thank you!!
Reply With Quote
  #6  
Old 12th September 2012, 04:41 AM
MegaSquid Offline
Registered User
 
Join Date: Sep 2012
Location: Alaska
Posts: 1
linuxfirefox
Re: Minecraft hangs on black screen after login

Even if I follow those seven steps I keep getting this:

Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: /home/anonymous/.minecraft/bin/natives/liblwjgl.so: libXrandr.so.2: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
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:1857)
at aof.<init>(SourceFile:20)
at net.minecraft.client.Minecraft.<init>(SourceFile:7 7)
at anw.<init>(SourceFile:36)
at net.minecraft.client.MinecraftApplet.init(SourceFi le:36)
at net.minecraft.Launcher.replace(Launcher.java:136)
at net.minecraft.Launcher$1.run(Launcher.java:79)

Am I doing something wrong? I am also having trouble installing Java 6 instead of 7 if that could be my problem. I am a noob as well this is all pretty new to me.
Reply With Quote
  #7  
Old 2nd June 2013, 10:25 AM
omniengr Offline
Registered User
 
Join Date: Jun 2013
Location: Illinois
Posts: 1
linuxfirefox
Re: Minecraft hangs on black screen after login

THANK YOU SOOOO MUCH!!!! Words cannot express how grateful I am.
Reply With Quote
  #8  
Old 14th June 2013, 08:51 PM
zombiemoat5 Offline
Registered User
 
Join Date: Jun 2013
Location: Earth, Milky Way Galaxy, Universe
Posts: 1
linuxfirefox
Exclamation Re: Minecraft hangs on black screen after login

Hi all, I was having this same problem, and no solution would work...

UNTIL... after the part where you copy the new lwjgl-x.x.x files, in <user>/.minecraft/bin/ DELETE the md5s file. that file contains the md5 sums for the jars minecraft downloads. when it launches, if the file is there it checks if the sums are equal to that of the files it has. if they don't, it whines and complains to a point where you feel like killing Notch
if it's not there, it does like spock and thinks "the needs of the many outwit the needs of the few"
and in doing so you're like "you are and will forever be, my friend" (see what i did there? )
hope this helps; ALOT
Reply With Quote
Reply

Tags
black, hangs, login, minecraft, screen

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot login into X window(screen turn to black before login screen) yeyeming Using Fedora 5 26th February 2011 06:45 AM
Black Screen after Login ricky0319 Mac Chat 1 21st January 2009 04:18 AM
Black gui login screen!? louis.b Hardware & Laptops 1 14th August 2007 02:20 PM
black screen after loading befor login screen DemonGodKid Using Fedora 3 31st May 2007 08:42 PM
My screen was black before user login screen pxingg Hardware & Laptops 4 22nd May 2006 04:22 PM


Current GMT-time: 08:39 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat