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

Linked issues

MC-3538 Browser minecraft crashes Resolved 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 Resolved MC-3785 ON OSX MINECRAFT 1.4.5 : APP DID NOT START - JAVA JAR CRASHED Resolved MC-4448 i cant move in every server i join Resolved MC-4791 Trying to Load Demo Game Resolved

Comments 46

Selbram (Tory Clement)

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

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

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.

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.

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.

36 more comments

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

Jose Miguel Veloso

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

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

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.

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

Pixelgraph

(Unassigned)

Unconfirmed

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

Retrieved