[MC-998] Error loading MinecraftLauncher.jar / Could not get the JAWT interface Created: 28/Oct/12 Updated: 04/Jan/14 Resolved: 28/Oct/12 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Minecraft 1.4.2, Minecraft 1.4.7, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.1, Minecraft 1.5.2 |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Pixelgraph | Assignee: | Unassigned |
| Resolution: | Invalid | Votes: | 0 |
| Labels: | None | ||
| Environment: |
OS X, Java 7 |
||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Confirmation Status: | Unconfirmed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
I can not run minecraft using the .jar launcher. 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 |
| Comments |
| Comment by D Savage [ 21/May/13 ] |
|
Saw this same issue when trying to run the 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 |
| Comment by Ember Quill [ 21/May/13 ] |
|
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. |
| Comment by Tails [ 09/May/13 ] |
|
Please use the new launcher if you having problems with java 7 and mac available here: |
| Comment by Jose Miguel Veloso [ 09/May/13 ] |
|
it wont run on mac osx mountain lion for 1.5.2 with safari java is enabled i have java 7 just updated now |
| Comment by [Mojang] Grum (Erik Broes) [ 04/May/13 ] |
|
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'. |
| Comment by Piotr Kuczynski [ 12/Apr/13 ] |
|
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 |
| Comment by Piotr Kuczynski [ 11/Apr/13 ] |
|
i'm going to re install mac from scratch and see if that fixes it, hope it will. |
| Comment by Charles Hui [ 09/Apr/13 ] |
|
mine is fixed now, try the way i did maybe. |
| Comment by Piotr Kuczynski [ 08/Apr/13 ] |
|
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? |
| Comment by Charles Hui [ 08/Apr/13 ] |
|
i am not sure. i stuck (blackscreen) before 'mojang' icon even show up. my minecraftforum thread: |
| Comment by Piotr Kuczynski [ 07/Apr/13 ] |
|
you have the same error? |
| Comment by Charles Hui [ 07/Apr/13 ] |
|
i can only open with minecraftsp.jar but not the original minecraft launcher, which can't play server. |
| Comment by Piotr Kuczynski [ 05/Apr/13 ] |
|
no, i do not have the java folder. |
| Comment by Eike Ziller [ 05/Apr/13 ] |
|
ok, yet another question do you have /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents ? |
| Comment by Piotr Kuczynski [ 05/Apr/13 ] |
|
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. |
| Comment by Eike Ziller [ 04/Apr/13 ] |
|
Hi Piotr, for me Apple's java 6 is still there in /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java etc |
| Comment by Piotr Kuczynski [ 04/Apr/13 ] |
|
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 |
| Comment by [Mojang] Grum (Erik Broes) [ 04/Apr/13 ] |
|
We cannot actually fix it until we release 1.6. You can for now try to get around the issue by:
|
| Comment by Tails [ 04/Apr/13 ] |
|
Have you actually tried what Grum said:
|
| Comment by Piotr Kuczynski [ 04/Apr/13 ] |
|
21 duplicates of this bug and nobody seems to care anymore. One comment from Grum that doesn't work and thats it. |
| Comment by Piotr Kuczynski [ 04/Apr/13 ] |
|
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. |
| Comment by Eike Ziller [ 03/Apr/13 ] |
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. |
| Comment by Piotr Kuczynski [ 03/Apr/13 ] |
|
Eike: not only the demo, any minecraft as far as i know. |
| Comment by Eike Ziller [ 03/Apr/13 ] |
|
sa |
| Comment by Eike Ziller [ 03/Apr/13 ] |
|
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. |
| Comment by kbk [ 20/Mar/13 ] |
|
@Piotr |
| Comment by Piotr Kuczynski [ 20/Mar/13 ] |
|
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. |
| Comment by Piotr Kuczynski [ 19/Mar/13 ] |
|
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? |
| Comment by Pixelgraph [ 19/Mar/13 ] |
|
I upgraded from Lion and I can still use Java 6 but the preferences application has vanished. |
| Comment by Piotr Kuczynski [ 17/Mar/13 ] |
|
Since apple has disabled the ability to use java 6 i don't believe that this is an invalid problem |
| Comment by Piotr Kuczynski [ 17/Mar/13 ] |
|
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? |
| Comment by [Mojang] Grum (Erik Broes) [ 17/Mar/13 ] |
|
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. |
| Comment by Piotr Kuczynski [ 17/Mar/13 ] |
|
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. |
| Comment by Pixelgraph [ 23/Feb/13 ] |
|
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. |
| Comment by Gregory Tannenbaum [ 23/Feb/13 ] |
|
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? |
| Comment by Ember Quill [ 16/Feb/13 ] |
|
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. |
| Comment by Brian Sutton [ 16/Feb/13 ] |
|
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) |
| Comment by [Mod] Torabi [ 16/Jan/13 ] |
|
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/ |
| Comment by Ben Cremer [ 15/Jan/13 ] |
|
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? |
| Comment by Ember Quill [ 27/Dec/12 ] |
|
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. |
| Comment by Pixelgraph [ 05/Nov/12 ] |
|
This is certainly not supposed to happen. Java 7 works perfectly on everything else but minecraft. |
| Comment by [Mod] Torabi [ 05/Nov/12 ] |
|
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. |
| Comment by Pixelgraph [ 05/Nov/12 ] |
|
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. |
| Comment by [Mod] Torabi [ 04/Nov/12 ] |
|
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. |
| Comment by Pixelgraph [ 29/Oct/12 ] |
|
This is something that causes Minecraft to crash. If I post this in the forum it may never get fixed. |
| Comment by Selbram (Tory Clement) [ 28/Oct/12 ] |
|
This is more of a support request and should be directed to the forums. http://www.minecraftforum.net/forum |