崩溃详细信息

来自AcademyCraft Wiki
跳转至: 导航搜索

这里是有关崩溃的一些信息,一般都是通过crash report来判断。

crash report可以在.minecraft/crash-reports文件夹下找到。

有关未使用java8的崩溃

AC要求以java8启动游戏,未以java8启动的游戏将会崩溃并产生crash report。以下贴出两份未使用java8的crash report的开头部分。

例一


Minecraft Crash Report ----

// Sorry :(


Time: 16-5-23 下午12:35

Description: Exception ticking world


java.lang.OutOfMemoryError: PermGen space

at sun.misc.Unsafe.defineClass(Native Method)

at sun.reflect.ClassDefiner.defineClass(Unknown Source)

at sun.reflect.MethodAccessorGenerator$1.run(Unknown Source)

at sun.reflect.MethodAccessorGenerator$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.reflect.MethodAccessorGenerator.generate(Unknown Source)

at sun.reflect.MethodAccessorGenerator.generateConstructor(Unknown Source)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at net.minecraft.world.SpawnerAnimals.func_77192_a(SpawnerAnimals.java:159)

at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:161)

at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:625)

at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)

at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:111)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)


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


例二

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.jackhuang.hellominecraft.launcher.Launcher.main(Launcher.java:122)

Caused by: java.lang.UnsupportedClassVersionError: cn/lambdalib/core/LLCorePlugin : Unsupported major.minor version 52.0

at java.lang.ClassLoader.defineClass1(Native Method ) at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:117)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at cpw.mods.fml.relauncher.CoreModManager.loadCoreMod(CoreModManager.java:460)

at cpw.mods.fml.relauncher.CoreModManager.discoverCoreMods(CoreModManager.java:389)

at cpw.mods.fml.relauncher.CoreModManager.handleLaunch(CoreModManager.java:221)

at cpw.mods.fml.relauncher.FMLLaunchHandler.setupHome(FMLLaunchHandler.java:90)

at cpw.mods.fml.relauncher.FMLLaunchHandler.setupClient(FMLLaunchHandler.java:67)

at cpw.mods.fml.relauncher.FMLLaunchHandler.configureForClientLaunch(FMLLaunchHandler.java:34)

at cpw.mods.fml.common.launcher.FMLTweaker.injectIntoClassLoader(FMLTweaker.java:126)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

... 5 more

一些说明

以上就是一些crash的开头部分。各位玩家可以自行对照一下自己的crash的开头中是否与之一致。如是,那么几乎可以肯定你就是未使用java8启动。

crashreport的种类很多,这里只是举出几例,想要判断自己是否使用java8可以通过看crash下方的信息得到。

像这样:

-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_75, Oracle Corporation

这里的Java Version即显示的是你的java版本。