山狮 – “我的世界”已经损坏,无法在山狮上打开

我正在尝试在Mac OS X Mountain Lion上运行Minecraft.我从minecraft.net下载了zip文件(链接here)并解压缩.双击图标,它告诉我,

“Minecraft” is damaged and can’t be opened. You should move it to the
Trash.

我已经多次下载了它,另外两个解压缩工具也没有抱怨.这是Mountain Lion的一些问题吗?我安装的Java版本如下:

$java -version
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)

更新:我为Minecraft做了Show Package Contents并在jar文件上运行了JavaLauncher,似乎工作正常.但是在我的自我更新之后,我收到了这个错误:

      Minecraft has crashed!      
      ----------------------      

Minecraft has stopped running because it encountered a problem; Failed to start game

A full error report has been saved to /Users/scott/Library/Application Support/minecraft/crash-reports/crash-2012-11-25_10.25.30-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash :(



--- BEGIN ERROR REPORT 99374f70 --------
Full report at:
/Users/scott/Library/Application Support/minecraft/crash-reports/crash-2012-11-25_10.25.30-client.txt
Please show that file to Mojang, NOT just this screen!

Generated 11/25/12 10:25 AM

-- System Details --
Details:
    Minecraft Version: 1.4.5
    Operating System: Mac OS X (x86_64) version 10.8.2
    Java Version: 1.7.0_09, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 22467144 bytes (21 MB) / 71499776 bytes (68 MB) up to 1060700160 bytes (1011 MB)
    JVM Flags: 0 total; 
    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: ~~ERROR~~ NullPointerException: null
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: ~~ERROR~~ NullPointerException: null[failed to get system properties (java.lang.NullPointerException)]


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)
--- END ERROR REPORT adc22a49 ----------

解决方法:

问题实际上是Mountain Lion默认情况下将此无意义的错误消息提供给未经Apple授权或App Store授权的任何应用程序.你只需要去Apple – >系统偏好设置… – >安全与安全隐私 – >允许下载的应用程序:

然后选择“Anywhere”.看起来这样很有用,但我无法在不禁用此安全检查的情况下运行Minecraft.

上一篇:mac下命令行启动app


下一篇:BoTNet论文解析