添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

[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)

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

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)

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."

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.

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)

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.

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.

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.