mojira.dev
MC-998

Error loading MinecraftLauncher.jar / Could not get the JAWT interface

I can not run minecraft using the .jar launcher.
Running Minecraft using the normal launcher always causes it to use java 6 even if you have a newer version installed. Running through the .jar launcher crashes on a black screen as soon as I log on. It gave a LWJGL exception.

Crash Report

---- Minecraft Crash Report ----
// Why did you do that?

Time: 28/10/12 10:06 PM
Description: Failed to start game

org.lwjgl.LWJGLException: Could not get the JAWT interface
	at org.lwjgl.opengl.AWTSurfaceLock.lockAndInitHandle(Native Method)
	at org.lwjgl.opengl.AWTSurfaceLock.access$100(AWTSurfaceLock.java:49)
	at org.lwjgl.opengl.AWTSurfaceLock$1.run(AWTSurfaceLock.java:89)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.lwjgl.opengl.AWTSurfaceLock.privilegedLockAndInitHandle(AWTSurfaceLock.java:86)
	at org.lwjgl.opengl.AWTSurfaceLock.lockAndGetHandle(AWTSurfaceLock.java:64)
	at org.lwjgl.opengl.MacOSXCanvasPeerInfo.initHandle(MacOSXCanvasPeerInfo.java:53)
	at org.lwjgl.opengl.MacOSXDisplayPeerInfo.doLockAndInitHandle(MacOSXDisplayPeerInfo.java:56)
	at org.lwjgl.opengl.PeerInfo.lockAndGetHandle(PeerInfo.java:85)
	at org.lwjgl.opengl.MacOSXContextImplementation.create(MacOSXContextImplementation.java:47)
	at org.lwjgl.opengl.Context.<init>(Context.java:120)
	at org.lwjgl.opengl.Display.create(Display.java:858)
	at org.lwjgl.opengl.Display.create(Display.java:784)
	at org.lwjgl.opengl.Display.create(Display.java:765)
	at net.minecraft.client.Minecraft.a(SourceFile:232)
	at net.minecraft.client.Minecraft.run(SourceFile:515)
	at java.lang.Thread.run(Thread.java:722)

Relevant Details:
- Minecraft Version: 1.4.2
- Operating System: Mac OS X (x86_64) version 10.7.5
- Java Version: 1.7.0_09, Oracle Corporation
- Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
- Memory: 54116440 bytes (51 MB) / 90308608 bytes (86 MB) up to 1340342272 bytes (1278 MB)
- JVM Flags: 0 total; 
- AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
- LWJGL: 2.4.2
- OpenGL: ~ERROR~ NullPointerException: null
- Is Modded: Probably not
- Type: Client
- Texture Pack: ~ERROR~ NullPointerException: null
- Profiler Position: N/A (disabled)
- Vec3 Pool Size: ~ERROR~ NullPointerException: null

Related issues

MC-10207 Minecraft Crashes Inside Safari Brower on Mac OS MC-3538 Browser minecraft crashes MC-3763 I load minecraft as usual and it says: Minecraft has crashed! Minecraft has stopped running because it encountered a problem; Failed to start game MC-3785 ON OSX MINECRAFT 1.4.5 : APP DID NOT START - JAVA JAR CRASHED MC-4448 i cant move in every server i join MC-4791 Trying to Load Demo Game MC-5343 Crash report - org.lwjgl.LWJGLException: Could not get the JAWT interface MC-5360 Minecraft crashes on new Mac MC-5540 Files are not downloading in the minecraft folder. MC-6493 Minecraft demo crashes under Safari and Mac OS X MC-7536 Crash ... MC-9345 Minecraft demo crashes in OSX MC-10105 I cant play in my browser or download. MC-10247 Mac OS X unable to start the game MC-10360 LWJGLException on Macintosh MC-10860 minecraft (demo) will not load MC-11012 Failure To Start Game MC-11018 the demo fails to start MC-11059 after the new java 7 update the game (minecraft) said "failed to start game" MC-11073 Instant Crash before loading the game. MC-11181 Unknown Crash MC-11391 Cannot play minecraft from website MC-11460 Minecraft Will Not Play in Browser on Mac MC-11899 Crash after clicking login MC-12238 Minecraft crashes on Macs with java 7 MC-12277 MINECRAFT FAILED TO STRAT ON MAC OS X 10.7.5 MC-13200 Still Crashing MC-13226 Crash at Login MC-13334 NullPointerException in lwjgl OpenGL Library MC-13366 Minecraft will not load on my Mac 2013. MC-13542 Unknown Crash MC-15070 Crash upon launch using original launcher MC-16017 MineCraft doesn't start. MC-16409 Cannot run MC with java 1.7 on Mac OS X MC-17282 Crashes at launch MC-22323 how to make minecraft always open with net.minecraft.launcherframe? MC-24775 Demo (v.1.5.2) Won't Work on Retina MacBook Pro Running OS X 10.8.4 w/ Latest Java MC-28429 crashes when i open on mac MC-30762 Wont Start Game MC-33998 Unable to open demo version (crashed) MC-44180 Failed to start game

Comments

migrated

This is more of a support request and should be directed to the forums. http://www.minecraftforum.net/forum

migrated

This is something that causes Minecraft to crash. If I post this in the forum it may never get fixed.

Torabi

But it's a problem that nobody but you is having, and thus, there's probably no bug to be fixed, but an issue with your system.

Also, I've read elsewhere that Java 7 isn't stable on Macs yet. That's probably your problem, and there's nothing Mojang can do about it. You'll have to use Java 6 until Oracle/Apple gets it figured out.

migrated

I'm not the only one, it seems all Mac users have this issue. But I think it's strange Minecraft doesn't even use Java 7 on a Mac.

Torabi

Java 7 does not work properly on Macs. Thus, all Mac users attempting to run Minecraft with Java 7 are likely to have some sort of issue. Thus, Minecraft doesn't use Java 7 on Macs unless you force it to. You're causing your own problems.

migrated

This is certainly not supposed to happen. Java 7 works perfectly on everything else but minecraft.

migrated

Kind of a delayed response, but this is not exactly a Java 7 issue. It's an issue with LWJGL, which currently doesn't work with Java 7 on Macs. Minecraft relies on LWJGL, so until that's fixed, you're hosed.

What little we've heard about the Minecraft 1.6 update seems to imply that LWJGL will be fixed by then. So you may have a bit of a wait ahead of you.

migrated

Well, i'm not happy with this, so now i have to wait until 1.6 to play again? So there's no thing to do about it?

Torabi

Then use Java 6, or try a different version of LWJGL. Or post in the official support forum, and see if they can help you: http://www.minecraftforum.net/forum/151-unmodified-minecraft-client-support/

migrated

This is still occurring on 1.47, OSX Mountain Lion, Java 1.7.0_13. I can run the server, but not the client. You cannot run Java 6 on Mountain Lion.

Here's the stack trace:

JavaVM WARNING: JAWT_GetAWT must be called after loading a JVM
org.lwjgl.LWJGLException: Could not get the JAWT interface
	at org.lwjgl.opengl.AWTSurfaceLock.lockAndInitHandle(Native Method)
	at org.lwjgl.opengl.AWTSurfaceLock.access$100(AWTSurfaceLock.java:49)
	at org.lwjgl.opengl.AWTSurfaceLock$1.run(AWTSurfaceLock.java:89)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.lwjgl.opengl.AWTSurfaceLock.privilegedLockAndInitHandle(AWTSurfaceLock.java:86)
	at org.lwjgl.opengl.AWTSurfaceLock.lockAndGetHandle(AWTSurfaceLock.java:64)
	at org.lwjgl.opengl.MacOSXCanvasPeerInfo.initHandle(MacOSXCanvasPeerInfo.java:53)
	at org.lwjgl.opengl.MacOSXDisplayPeerInfo.doLockAndInitHandle(MacOSXDisplayPeerInfo.java:56)
	at org.lwjgl.opengl.PeerInfo.lockAndGetHandle(PeerInfo.java:85)
	at org.lwjgl.opengl.MacOSXContextImplementation.create(MacOSXContextImplementation.java:47)
	at org.lwjgl.opengl.Context.<init>(Context.java:120)
	at org.lwjgl.opengl.Display.create(Display.java:858)
	at org.lwjgl.opengl.Display.create(Display.java:784)
	at net.minecraft.client.Minecraft.a(SourceFile:223)
	at asq.a(SourceFile:56)
	at net.minecraft.client.Minecraft.run(SourceFile:515)
	at java.lang.Thread.run(Thread.java:722)
migrated

This error is going to continue occurring until LWJGL, the rendering engine that Minecraft uses, is fixed. The changes from Java 6 to Java 7 broke LWJGL on Macs, and thus broke Minecraft.

At least this will force Mojang to finally start using a newer version of LWJGL. The version that comes with Minecraft is almost three years old.

If you're absolutely determined to play as soon as possible, though, you can try downloading this: https://www.dropbox.com/s/b6gj27dmoyo0h0j/macosx.zip

It's an experimental version posted by their forum admin. (It's from this page: http://lwjgl.org/forum/index.php/topic,4711.165.html in a post by kappa). Not sure how well it works, though. It's still experimental.

If you do choose to go that route, there's a tutorial about updating LWJGL on the Minecraft Wiki.

migrated

i'm also having the same problem, on my mac. In the last comment, i checked the dropbox, what do i do with that file in the dropbox. how do i use that?

migrated

You open up your Minecraft folder that is in the library folder which is usually hidden so. In the Finder menu bar click 'Go'then hold 'alt/option' and a Library link will appear. Navigate the library and find the 'minecraft' folder. Then place the 'lwjgl.jar' file in the bin folder and 'iblwjgl.jnilib' in the natives folder. I suggest that you backup your 'minecraft' folder before you attempt this.

I tested this but it didn't seem to fix the blackscreen issue using java 1.7 and with java 6 it appears to force v-sync which is very annoying because of input lag.

migrated

The newest apple update has disabled java 6 completely i believe so i am forced to use Java 7. But then i get the exact crash log. I asked on a diff. thread about it and a Mod told me its a problem with java 7 for me to downgrade but i cannot. I have played mine craft on Java 7 before the 1.5 update so it has to be something that was changed in the update though it doesn't make sense that it worked for me but not for you.

Erik Broes

LWJGL issue, update it manually. You should be able to use the latest nightlies as well. See: http://lwjgl.org/download.php

Or better, use java6.

migrated

I wrote that in the newest Mac update it is not possible to use java six at least from what research i did but thank you very much for the patch. So i should use a nightly patch? If so which one?

migrated

Since apple has disabled the ability to use java 6 i don't believe that this is an invalid problem

migrated

I upgraded from Lion and I can still use Java 6 but the preferences application has vanished.

migrated

my problem is that i upgraded to java seven earlier and now after the update i cannot revert back the way that apple said in the past with a post on their website because it just doesn't work. When i tried to get the new minecraft 1.5 it just crashes, i didn't update my java 7 before that so it has to be something with the update. Now i've messed around with getting new versions of java and now no minecraft whatsoever works on my laptop so i am a bit annoyed that apple did not give information on this whatsoever. edit: and David does your MC work?

migrated

I have also found out that apple is starting to transfer the control over java for macs back to oracle so it is possible that java 6 will stop being developed so this problem will either have to be resolved by oracle or Mojang but i don't know which ones fault it is, or maybe both.

migrated

@Piotr
FYI: According to this Oracle release note JDK6 development is already stopped.

migrated

This makes the demo unplayable by Mac OS X users. Apple has discontinued their 1.6 browser plugin, Oracle only provides 1.7. And really, requiring someone to downgrade a Java browser plugin is irresponsible, have a look at recent security issues.

migrated
migrated

Eike: not only the demo, any minecraft as far as i know.

migrated

Eike: not only the demo, any minecraft as far as i know.

For now Apples Java 1.6 jre is still there for me, and Minecraft on Desktop works. Only the browser plugin has explicitly been removed so far for me. Don't know about fresh Mac OS installs though, I think the Apple Java 1.6 was a separate download and install for a while now, don't know if Apple still provides that at all.
But of course one never knows when that time will be, if it didn't happen already.

migrated

When i updated to Mac version 10.8.3 only minecraft 1.5 did not work but previous versions worked. Then i started messing around and i made a clean java 7 install and now i cannot revert at all. I tried what apple said and i could not find any java 1.6 downloads that would work. Its starting to be really annoying cause i have this bug for so long and i don't think anybody is trying to fix it since nobody changed this issue from resolved. I love minecraft but this is forcing me not to play it. Could you possibly make a dropbox of your java 6 so that i can install it cause then at least i can play the older versions.

migrated

21 duplicates of this bug and nobody seems to care anymore. One comment from Grum that doesn't work and thats it.

migrated

Have you actually tried what Grum said:

LWJGL issue, update it manually. You should be able to use the latest nightlies as well. See: http://lwjgl.org/download.php

Erik Broes

We cannot actually fix it until we release 1.6. You can for now try to get around the issue by:

migrated

thank you and yes i have tried but i will try again. And again i will say it is not possible to downgrade at least for me and i have done a lot of research and unless somebody could possibly make a download of java 1.6 for mac i don't think its possible anymore. Plus it was turned off because of security issues so not very safe to do so though i am prepared to do it. Thank you and can't wait till 1.6 😃

migrated

Hi Piotr, for me Apple's java 6 is still there in /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java etc
I did upgrade my computer from Lion though. Do you still have the above, or is it gone?

migrated

no i do not have the JavaVM.framework there from what i can see. I also know that there are at least 4 "Libraries" on a mac so maybe my settings are to a different Library though that wouldn't make sense.

Edit: ok never mind i found it in the other Library i thought that system as in the hard drive but i found it. everything is there though i noticed that when i double click 1.6.0 in the versions folder it says it can't find original so maybe that.

migrated

ok, yet another question 🙂

do you have /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents ?

migrated

no, i do not have the java folder.

migrated

i can only open with minecraftsp.jar but not the original minecraft launcher, which can't play server.

migrated

you have the same error?

migrated

i am not sure. i stuck (blackscreen) before 'mojang' icon even show up.

my minecraftforum thread:
http://www.minecraftforum.net/topic/1754046-mac-osx-1075-crash-not-fixed-on-151-black-screen/page__st__20

migrated

yeah, exactly the same thing for me but after i left it for a while it showed a crash report so could you try to get one too?

migrated
migrated

i'm going to re install mac from scratch and see if that fixes it, hope it will.

migrated

Ok, well that fixed it though i did not update to mac version 1.8.3 and i am doing that now, hope it won't destroy it.

Edit, tested with 1.8.3 and it worked, i don't know what the problem was but reinstalling from scratch worked, not the most efficient way though

Erik Broes

There is no way to fix this for the old version of the launcher.

Use the new version and you should be able to run the game properly using java7. From 1.6 and onwards it 'should work'.

migrated

it wont run on mac osx mountain lion for 1.5.2 with safari java is enabled i have java 7 just updated now
tried classic it wont work either

migrated

Please use the new launcher if you having problems with java 7 and mac available here:
http://s3.amazonaws.com/Minecraft.Download/launcher/MinecraftDev.dmg

migrated

A new version of LWJGL just came out that should fix the problem. Update your LWJGL to 2.9.0 and see if that works. There's a tutorial on the Minecraft wiki if you don't know how to do that.

migrated

Saw this same issue when trying to run the demo:
http://minecraft.net/demo

---- Minecraft Crash Report ----
// I blame Dinnerbone.

Time: 5/21/13 3:57 PM
Description: Failed to start game

org.lwjgl.LWJGLException: Could not get the JAWT interface
	at org.lwjgl.opengl.AWTSurfaceLock.lockAndInitHandle(Native Method)
	at org.lwjgl.opengl.AWTSurfaceLock.access$100(AWTSurfaceLock.java:49)
	at org.lwjgl.opengl.AWTSurfaceLock$1.run(AWTSurfaceLock.java:89)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.lwjgl.opengl.AWTSurfaceLock.privilegedLockAndInitHandle(AWTSurfaceLock.java:86)
	at org.lwjgl.opengl.AWTSurfaceLock.lockAndGetHandle(AWTSurfaceLock.java:64)
	at org.lwjgl.opengl.MacOSXCanvasPeerInfo.initHandle(MacOSXCanvasPeerInfo.java:53)
	at org.lwjgl.opengl.MacOSXDisplayPeerInfo.doLockAndInitHandle(MacOSXDisplayPeerInfo.java:56)
	at org.lwjgl.opengl.PeerInfo.lockAndGetHandle(PeerInfo.java:85)
	at org.lwjgl.opengl.MacOSXContextImplementation.create(MacOSXContextImplementation.java:47)
	at org.lwjgl.opengl.Context.<init>(Context.java:120)
	at org.lwjgl.opengl.Display.create(Display.java:858)
	at org.lwjgl.opengl.Display.create(Display.java:784)
	at org.lwjgl.opengl.Display.create(Display.java:765)
	at net.minecraft.client.Minecraft.a(SourceFile:235)
	at avv.a(SourceFile:56)
	at net.minecraft.client.Minecraft.run(SourceFile:507)
	at java.lang.Thread.run(Thread.java:722)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
	Minecraft Version: 1.5.2
	Operating System: Mac OS X (x86_64) version 10.8.3
	Java Version: 1.7.0_21, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 808769184 bytes (771 MB) / 1029046272 bytes (981 MB) up to 1029046272 bytes (981 MB)
	JVM Flags: 3 total; -Xbootclasspath/a:/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/deploy.jar:/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/javaws.jar:/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/plugin.jar -Xmx1g -Xms1024M
	AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
	Suspicious classes: No suspicious classes found.
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	LWJGL: 2.4.2
	OpenGL: ~~ERROR~~ NullPointerException: null
	Is Modded: Probably not. Jar signature remains and client brand is untouched.
	Type: Client (map_client.txt)
	Texture Pack: Default
	Profiler Position: N/A (disabled)
	Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

migrated

(Unassigned)

Unconfirmed

Minecraft 1.4.2, Minecraft 1.4.7, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.1, Minecraft 1.5.2

Retrieved