别用java17,用java8
1.16.5老老实实java8
java8-281 https://cowtransfer.com/s/3a3ca2d3d09243
java8-281 https://cowtransfer.com/s/3a3ca2d3d09243
Flower_胡子 发表于 2023-3-11 22:11
1.16.5老老实实java8
java8-281 https://cowtransfer.com/s/3a3ca2d3d09243
有java16.zip吗 服务端很多插件只能用java16
无敌三脚猫 发表于 2023-3-11 19:02
别用java17,用java8
更换后还是崩溃
| [10:00:11] [main/INFO]: ModLauncher running: args [--username, FortyTwocn, --version, 1.16.5-Forge_36.2.39-OptiFine_G8, --gameDir, G:\1.16.5BC群组科技服\Text\.minecraft, --assetsDir, G:\1.16.5BC群组科技服\Text\.minecraft\assets, --assetIndex, 1.16, --uuid, c68b077477e046c7a62448ab4ef026a1, --accessToken, ????????, --userType, Mojang, --versionType, PCL2, --width, 854, --height, 480, --launchTarget, fmlclient, --fml.forgeVersion, 36.2.39, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210115.111550, --tweakClass, optifine.OptiFineForgeTweaker] [10:00:11] [main/INFO]: ModLauncher 8.1.3+8.1.3+main-8.1.x.c94d18ec starting: java version 17.0.6 by Oracle Corporation [10:00:12] [main/INFO]: OptiFineTransformationService.onLoad [10:00:12] [main/INFO]: OptiFine ZIP file: G:\1.16.5BC群组科技服\Text\.minecraft\libraries\optifine\OptiFine\1.16.5_HD_U_G8\OptiFine-1.16.5_HD_U_G8.jar [10:00:12] [main/INFO]: Target.PRE_CLASS is available [10:00:12] [main/INFO]: Added Lets Encrypt root certificates as additional trust [10:00:12] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=file:/G:/1.16.5BC群组科技服/Text/.minecraft/libraries/org/spongepowered/mixin/0.8.4/mixin-0.8.4.jar Service=ModLauncher Env=CLIENT [10:00:12] [main/INFO]: OptiFineTransformationService.initialize [10:00:14] [main/INFO]: [org.antlr.v4.runtime.ConsoleErrorListener:syntaxError:38]: line 1:147 token recognition error at: '>' [10:00:14] [main/INFO]: [org.antlr.v4.runtime.ConsoleErrorListener:syntaxError:38]: line 1:148 token recognition error at: ';' [10:00:15] [main/INFO]: OptiFineTransformationService.transformers [10:00:15] [main/INFO]: Targets: 311 [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1077]: java.lang.reflect.InvocationTargetException [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1077]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1077]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1077]: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1077]: at java.base/java.lang.reflect.Method.invoke(Method.java:568) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1077]: at oolloo.jlw.Wrapper.invokeMain(Wrapper.java:58) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1077]: at oolloo.jlw.Wrapper.main(Wrapper.java:51) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: Caused by: java.lang.ExceptionInInitializerError [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at org.openjdk.nashorn.internal.runtime.Context.compile(Context.java:1509) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at org.openjdk.nashorn.internal.runtime.Context.compileScript(Context.java:1449) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at org.openjdk.nashorn.internal.runtime.Context.compileScript(Context.java:759) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at org.openjdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:528) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at org.openjdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:517) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:395) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at org.openjdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:146) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at java.scripting/javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at net.minecraftforge.coremod.CoreMod.initialize(CoreMod.java:40) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at net.minecraftforge.coremod.CoreModEngine.initialize(CoreModEngine.java:75) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at net.minecraftforge.coremod.CoreModEngine.initializeCoreMods(CoreModEngine.java:69) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at net.minecraftforge.coremod.CoreModProvider.getCoreModTransformers(CoreModProvider.java:17) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at net.minecraftforge.fml.loading.FMLServiceProvider.transformers(FMLServiceProvider.java:142) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at cpw.mods.modlauncher.TransformationServiceDecorator.gatherTransformers(TransformationServiceDecorator.java:74) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at cpw.mods.modlauncher.TransformationServicesHandler.lambda$initialiseServiceTransformers$6(TransformationServicesHandler.java:101) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at java.base/java.util.HashMap$Values.forEach(HashMap.java:1065) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at cpw.mods.modlauncher.TransformationServicesHandler.initialiseServiceTransformers(TransformationServicesHandler.java:101) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:64) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at cpw.mods.modlauncher.Launcher.run(Launcher.java:76) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [10:00:15] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:1086]: ... 6 more [10:00:15] [main/INFO]: [java.lang.Throwable:printStackTrace:659]: Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: no such method: sun.misc.Unsafe.defineAnonymousClass(Class,byte[],Object[])Class/invokeVirtual [10:00:15] [main/INFO]: [java.lang.Throwable:printStackTrace:659]: at org.openjdk.nashorn.internal.runtime.Context$AnonymousContextCodeInstaller.lambda$getDefineAnonymousClass$0(Context.java:335) [10:00:15] [main/INFO]: [java.lang.Throwable:printStackTrace:659]: at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) [10:00:15] [main/INFO]: [java.lang.Throwable:printStackTrace:659]: at org.openjdk.nashorn.internal.runtime.Context$AnonymousContextCodeInstaller.getDefineAnonymousClass(Context.java:327) [10:00:15] [main/INFO]: [java.lang.Throwable:printStackTrace:659]: at org.openjdk.nashorn.internal.runtime.Context$AnonymousContextCodeInstaller.(Context.java:317) [10:00:15] [main/INFO]: [java.lang.Throwable:printStackTrace:659]: ... 27 more [10:00:15] [main/INFO]: [java.lang.Throwable:printStackTrace:682]: Caused by: java.lang.NoSuchMethodException: no such method: sun.misc.Unsafe.defineAnonymousClass(Class,byte[],Object[])Class/invokeVirtual [10:00:15] [main/INFO]: [java.lang.Throwable:printStackTrace:682]: at java.base/java.lang.invoke.MemberName.makeAccessException(MemberName.java:976) [10:00:15] [main/INFO]: [java.lang.Throwable:printStackTrace:682]: at java.base/java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1117) [10:00:15] [main/INFO]: [java.lang.Throwable:printStackTrace:682]: at java.base/java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:3649) [10:00:15] [main/INFO]: [java.lang.Throwable:printStackTrace:682]: at java.base/java.lang.invoke.MethodHandles$Lookup.findVirtual(MethodHandles.java:2680) [10:00:15] [main/INFO]: [java.lang.Throwable:printStackTrace:682]: at org.openjdk.nashorn.internal.runtime.Context$AnonymousContextCodeInstaller.lambda$getDefineAnonymousClass$0(Context.java:329) [10:00:15] [main/INFO]: [java.lang.Throwable:printStackTrace:682]: ... 30 more [10:00:15] [main/INFO]: [java.lang.Throwable:printEnclosedStackTrace:724]: Caused by: java.lang.NoSuchMethodError: 'java.lang.Class sun.misc.Unsafe.defineAnonymousClass(java.lang.Class, byte[], java.lang.Object[])' [10:00:15] [main/INFO]: [java.lang.Throwable:printEnclosedStackTrace:724]: at java.base/java.lang.invoke.MethodHandleNatives.resolve(Native Method) [10:00:15] [main/INFO]: [java.lang.Throwable:printEnclosedStackTrace:724]: at java.base/java.lang.invoke.MemberName$Factory.resolve(MemberName.java:1085) [10:00:15] [main/INFO]: [java.lang.Throwable:printEnclosedStackTrace:724]: at java.base/java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1114) [10:00:15] [main/INFO]: [java.lang.Throwable:printEnclosedStackTrace:724]: ... 33 more | 
你也没换啊,这里清清楚楚写着java version 17.0.6 by Oracle Corporation
无敌三脚猫 发表于 2023-3-12 10:19
你也没换啊,这里清清楚楚写着java version 17.0.6 by Oracle Corporation
问题解决了 加了拼音搜索就崩 不加就没事 但我的确在pcl选择java8了 嘶
