MultiMC / Launcher

A custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once
https://multimc.org/
Other
4.31k stars 883 forks source link

Minecraft Crash #5260

Closed MicheleVeniero closed 1 year ago

MicheleVeniero commented 1 year ago

Operating System

Windows

Description of bug

I've just install Flan's Mod and Optifine and this happens

MultiMC version: 0.7.0-3813

Launched instance in offline mode

Minecraft folder is: C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/instances/1.16.51/.minecraft

Java path is: C:/Program Files/Java/jdk-17.0.5/bin/javaw.exe

Checking Java version... Java is version 17.0.5, using 64-bit architecture, from Oracle Corporation.

Main Class: net.minecraft.launchwrapper.Launch

Native path: C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/instances/1.16.51/natives

Libraries: C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/com/mojang/patchy/1.3.9/patchy-1.3.9.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/oshi-project/oshi-core/1.1/oshi-core-1.1.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/net/java/dev/jna/jna/4.4.0/jna-4.4.0.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/io/netty/netty-all/4.1.9.Final/netty-all-4.1.9.Final.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/com/google/guava/guava/21.0/guava-21.0.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/commons-io/commons-io/2.5/commons-io-2.5.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/commons-codec/commons-codec/1.10/commons-codec-1.10.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/com/mojang/authlib/1.5.25/authlib-1.5.25.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/com/mojang/realms/1.10.22/realms-1.10.22.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/it/unimi/dsi/fastutil/7.1.0/fastutil-7.1.0.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/apache/logging/log4j/log4j-api/2.16.0/log4j-api-2.16.0.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/apache/logging/log4j/log4j-core/2.16.0/log4j-core-2.16.0.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/com/mojang/text2speech/1.10.3/text2speech-1.10.3.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/net/minecraftforge/forge/1.12.2-14.23.5.2859/forge-1.12.2-14.23.5.2859-universal.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/ow2/asm/asm-debug-all/5.2/asm-debug-all-5.2.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/jline/jline/3.5.1/jline-3.5.1.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/com/typesafe/config/1.2.1/config-1.2.1.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2_mc/scala-continuations-library_2.11-1.0.2_mc.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2_mc/scala-continuations-plugin_2.11.1-1.0.2_mc.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/lzma/lzma/0.0.1/lzma-0.0.1.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/java3d/vecmath/1.5.2/vecmath-1.5.2.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/apache/maven/maven-artifact/3.5.3/maven-artifact-3.5.3.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/com/mojang/minecraft/1.12.2/minecraft-1.12.2-client.jar

Native libraries: C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-windows.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-windows.jar C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/libraries/com/mojang/text2speech/1.10.3/text2speech-1.10.3-natives-windows.jar

Mods: [✔️] Flan's Mod-1.12.2-5.5.2.jar [✔️] OptiFine_1.12.2_HD_U_G5 (1).jar

Params: --username KurixJump --version 1.12.2 --gameDir C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/instances/1.16.51/.minecraft --assetsDir C:/Users/mihy2/OneDrive/Desktop/MultiMC/MultiMC/assets --assetIndex 1.12 --uuid --accessToken --userType msa --versionType release --tweakClass net.minecraftforge.fml.common.launcher.FMLTweaker

Window size: 854 x 480

Java Arguments: [-XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump, -Xms2048m, -Xmx4096m, -Duser.language=en]

Minecraft process ID: 12988

Using onesix launcher.

Failed to start Minecraft: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap') at net.minecraft.launchwrapper.Launch.(Launch.java:34) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:243) at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:278) at org.multimc.EntryPoint.listen(EntryPoint.java:143) at org.multimc.EntryPoint.main(EntryPoint.java:34) Exiting with -1 Process terminated with output code -1 (0xffffffffffffff). Please note that usually neither the output code nor its description is sufficient to diagnose problems! Always load the entire log and not just the output code.

Steps to reproduce

.

Suspected cause

.

This issue is unique

phit commented 1 year ago

https://github.com/MultiMC/Launcher/wiki/Using-the-right-Java

MicheleVeniero commented 1 year ago

So i need older version of Java right?

phit commented 1 year ago

right

MicheleVeniero commented 1 year ago

Ok it work. Thank a lot