You are not logged in.

#1 2011-12-06 02:03:59

CaptainHawaii
Member
Registered: 2011-12-06
Posts: 2

[SOLVED]Minecraft Black Screen

I am really trying, I did the best I could to not make another post on this issue, but I still can't get it.
Every time I try to load minecraft, I get the infamous black screen even after trying everything I've seen in other posts...

This is the output I get when I try running:

Exception in thread "Minecraft main thread" java.lang.NoSuchMethodError: getPointer
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1646)
	at java.lang.Runtime.load0(Runtime.java:787)
	at java.lang.System.load(System.java:1022)
	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:85)
	at org.lwjgl.Sys.<clinit>(Sys.java:98)
	at org.lwjgl.opengl.Display.<clinit>(Display.java:132)
	at net.minecraft.client.Minecraft.a(SourceFile:187)
	at net.minecraft.client.Minecraft.run(SourceFile:644)
	at java.lang.Thread.run(Thread.java:679)

I okay with linux enough to shoot for Arch, but I'm not amazing... Can someone please help me? :x

Last edited by CaptainHawaii (2011-12-07 02:36:47)

Offline

#2 2011-12-06 03:28:35

Draje
Member
Registered: 2007-06-21
Posts: 102
Website

Re: [SOLVED]Minecraft Black Screen

What flavor of Java do you have installed?

Last edited by Draje (2011-12-06 03:35:37)

Offline

#3 2011-12-06 03:38:04

TheHebes
Member
From: New England
Registered: 2011-07-07
Posts: 138

Re: [SOLVED]Minecraft Black Screen

First thing I'm going to ask: are you using any mods? They can cause some fun problems.
Second, more likely issue: I'm going to assume you are 64-bit, no? There seems to be a bit of an issue with lwjgl. I guess it doesn't play nice with 64-bit. Anyway, if you are, in fact, running a 64-bit system (as I am), put this into a shell script and use it to launch MC

export LD_LIBRARY_PATH="/opt/java/jre/lib/amd64"
java -Xmx1024M -Xms1024M -cp minecraft.jar net.minecraft.LauncherFrame

You need to run it in the same directory as the launcher.
Hope this helps!

*EDIT* What version of MC are you on?

Last edited by TheHebes (2011-12-06 03:40:00)


Laptops:
MSI GS60 Ghost
Asus Zenbook Pro UX501VW
Lenovo Thinkpad X120e

Offline

#4 2011-12-06 12:32:00

CaptainHawaii
Member
Registered: 2011-12-06
Posts: 2

Re: [SOLVED]Minecraft Black Screen

I have no idea what I did, but now it works. I feel stupid >.<

Last edited by CaptainHawaii (2011-12-06 12:32:08)

Offline

#5 2011-12-06 15:52:42

TheHebes
Member
From: New England
Registered: 2011-07-07
Posts: 138

Re: [SOLVED]Minecraft Black Screen

Could you mark your thread as [solved] then?
big_smile


Laptops:
MSI GS60 Ghost
Asus Zenbook Pro UX501VW
Lenovo Thinkpad X120e

Offline

#6 2012-01-05 13:30:23

buntolo
Member
Registered: 2011-10-11
Posts: 202

Re: [SOLVED]Minecraft Black Screen

Why does this happen?
Is there any way to avoid the need of type export LD_LIBRARY_PATH="/opt/java/jre/lib/amd64" everytime?

Offline

#7 2012-01-06 03:06:54

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [SOLVED]Minecraft Black Screen

Create a launcher file for minecraft. Something like a file called launchminecraft.sh with:

export LD_LIBRARY_PATH="/opt/java/jre/lib/amd64"
java -Xmx1024M -Xms512M -cp minecraft.jar net.minecraft.LauncherFrame

Matt

"It is very difficult to educate the educated."

Offline

#8 2012-01-22 07:07:28

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [SOLVED]Minecraft Black Screen

Installed jre7-openjre and jre7-openjre-headless after fumbling around with openjdk7 and am now experiencing that same blank screen problem on a fresh arch/openbox x86_64 install.

This thread an others have not been helpfull, but I suppose this one comes closest.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#9 2012-02-10 17:09:46

davidmn
Member
Registered: 2012-01-28
Posts: 12

Re: [SOLVED]Minecraft Black Screen

Hello, I'm having this issue. My java version is

OpenJDK Runtime Environment (IcedTea7 2.0) (ArchLinux build 7.b147_2.0-6-x86_64)
OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)

and I'm running 64bit and have an NVidia graphics card.

I've tried using that script to start MC but to no avail.

UPDATE:
After more snooping, I have different errors to cause the same symptom so I'll make a new thread.

Last edited by davidmn (2012-02-10 17:22:52)

Offline

#10 2012-02-10 21:54:49

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [SOLVED]Minecraft Black Screen

Best solution I've found to the various problems with minecraft is simply to drop openjdk and go with oracle jre instead. Only problem I've experienced is a mouse problem which was solved simply by restarting minecraft.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#11 2012-02-10 21:58:54

davidmn
Member
Registered: 2012-01-28
Posts: 12

Re: [SOLVED]Minecraft Black Screen

I think I heard something about them dropping support for that, that would not be a good long term solution.

Offline

#12 2012-02-10 22:00:51

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [SOLVED]Minecraft Black Screen

It's part of the AUR, but you're right, there's no more support for it than there is for minecraft wink


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

#13 2012-02-10 22:09:37

davidmn
Member
Registered: 2012-01-28
Posts: 12

Re: [SOLVED]Minecraft Black Screen

Speaking of the AUR. I just checked out the AUR and the version of Minecraft in there works flawlessly! Not a clue why though.

Offline

#14 2012-02-10 22:11:26

zacariaz
Member
From: Denmark
Registered: 2012-01-18
Posts: 539

Re: [SOLVED]Minecraft Black Screen

I've had some trouble, even with the one from AUR, using openjdk, but it certainly work better, though I don't know why either.


I am a philosopher, of sorts, not a troll or an imbecile.
My apologies that this is not always obvious, despite my best efforts.

Offline

Board footer

Powered by FluxBB