我的世界不会在日食上运行

minecraft wont run on eclipse

我是 modding 的 d00b,我正在使用 Minecraft Mastery 书。

当我尝试在 eclipse 上运行未经编辑的 minecraft 时,我首先得到这个:

[07:09:48] [main/ERROR]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[07:09:52] [main/ERROR]: The minecraft jar file:/C:/Users/minecraft/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.2.1147/forgeBin-1.7.2-10.12.2.1147.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!
[07:09:52] [main/ERROR]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
[07:09:52] [main/ERROR]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/minecraft/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.2.1147/forgeBin-1.7.2-10.12.2.1147.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it
[07:09:52] [main/ERROR]: FML appears to be missing any signature data. This is not a good thing

然后在正常的 3 行之后,我得到这个:

[07:09:55] [main/ERROR]: Unable to launch
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_71]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_71]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_71]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886) ~[?:1.7.0_71]
    at java.lang.Runtime.loadLibrary0(Runtime.java:849) ~[?:1.7.0_71]
    at java.lang.System.loadLibrary(System.java:1088) ~[?:1.7.0_71]
    at org.lwjgl.Sys.run(Sys.java:73) ~[lwjgl-2.9.0.jar:?]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_71]
    at org.lwjgl.Sys.doLoadLibrary(Sys.java:66) ~[lwjgl-2.9.0.jar:?]
    at org.lwjgl.Sys.loadLibrary(Sys.java:95) ~[lwjgl-2.9.0.jar:?]
    at org.lwjgl.Sys.<clinit>(Sys.java:112) ~[lwjgl-2.9.0.jar:?]
    at net.minecraft.client.Minecraft.getSystemTime(Minecraft.java:2523) ~[Minecraft.class:?]
    at net.minecraft.client.main.Main.main(SourceFile:36) ~[Main.class:?]
    ... 6 more

我还在路径变量中添加了 C:\Program Files\Java\jre7\bin; 现在看起来像这样:

C:\Program Files\Java\jre7\bin;C:\ProgramData\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\PROGRAM FILES\NOKIA\PC CONNECTIVITY SOLUTION\;C:\PROGRAM FILES\COMMON FILES\MICROSOFT SHARED\WINDOWS LIVE;C:\Windows\SYSTEM32;C:\Windows;C:\Windows\SYSTEM32\WBEM;C:\Windows\SYSTEM32\WINDOWSPOWERSHELL\V1.0\;C:\PROGRAM FILES\WINDOWS LIVE\SHARED;C:\PROGRAM FILES\IVI FOUNDATION\VISA\WINNT\BIN;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\VXIPNP\WinNT\Bin;C:\Users\Kieran (Admin)\AppData\Local\Smartbar\Application\;C:\Program Files\QuickTime\QTSystem\C:\Program Files\Java\jre8;C:\Program Files\QuickTime\QTSystem\

我已经尝试将 java 从 1.8 降级到 0.7,但它只是稍微改变了错误。 请帮助:)

正如第一条日志所述:

The minecraft jar file:/C:/Users/minecraft/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.2.1147/forgeBin-1.7.2-10.12.2.1147.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!

您是否尝试重新安装 Minecraft?

看来您需要添加 lwjgl.jar to your classpath

您缺少 lwjgl 所需的本机库。

  1. libraries/org/lwjgl/lwjgl/lwjgl-platform/2.9.1/lwjgl-platform-2.9.1-natives-linux.jar 解压缩到项目中的某个目录。名称可能不同。它应该有一堆 .so.dll 里面的文件。
  2. 左键单击它 -> "Build Path" -> "Configure Build Path..."
  3. 展开"lwjgl-2.9.1.jar"
  4. Select "Native library location: (None)"
  5. 单击"Edit"并将其设置为您刚刚创建的目录。