MultiMC / Launcher

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

MultiMC wot launch instance #4867

Closed Ozmenos closed 2 years ago

Ozmenos commented 2 years ago

every time I try to launch my 1.12.2 instance for my modded minecraft it crashes and uses exit code -1 im not sure what the problem is, the log: MultiMC version: 0.6.16-3431

Launched instance in online mode

authserver.mojang.com resolves to: [13.33.23.55, 13.33.23.57, 13.33.23.58, 13.33.23.56]

session.minecraft.net resolves to: [52.7.214.17, 3.229.83.86, 52.45.69.223]

textures.minecraft.net resolves to: [65.8.158.78, 65.8.158.108, 65.8.158.121, 65.8.158.124]

api.mojang.com resolves to: [13.33.88.60, 13.33.88.111, 13.33.88.6, 13.33.88.65]

Minecraft folder is: C:/Users/aldri/Downloads/MultiMc/MultiMC/instances/1.12.2/.minecraft

Java path is: C:/Program Files/Common Files/Oracle/Java/javapath/javaw.exe

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

Main Class: net.minecraft.launchwrapper.Launch

Native path: C:/Users/aldri/Downloads/MultiMc/MultiMC/instances/1.12.2/natives

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

Native libraries: C:/Users/aldri/Downloads/MultiMc/MultiMC/libraries/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-windows.jar C:/Users/aldri/Downloads/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/aldri/Downloads/MultiMc/MultiMC/libraries/com/mojang/text2speech/1.10.3/text2speech-1.10.3-natives-windows.jar

Mods: [šŸ“] Dragon Fantasy pack (folder) [šŸ“] Grm pixelmon server (folder) [šŸ“] journeymap (folder) [āœ”ļø] MoBends_1.12.2-1.2.1-19.12.21 [šŸ“] Pixelmon Pack (folder) [šŸ“] RWBYM RP pack (folder) [šŸ“] WynnCraft (folder) [āœ”ļø] wynntils-1.11.0_656-MC1.12.2

Params: --username --version 1.12.2 --gameDir C:/Users/aldri/Downloads/MultiMc/MultiMC/instances/1.12.2/.minecraft --assetsDir C:/Users/aldri/Downloads/MultiMc/MultiMC/assets --assetIndex 1.12 --uuid --accessToken --userType --versionType release --tweakClass net.minecraftforge.fml.common.launcher.FMLTweaker

Window size: 854 x 480

Java Arguments: [-XX:+UseG1GC, -Dsun.rmi.dgc.server.gcInterval=2147483646, -XX:+UnlockExperimentalVMOptions, -XX:G1NewSizePercent=20, -XX:G1ReservePercent=20, -XX:MaxGCPauseMillis=51, -XX:G1HeapRegionSize=32M, -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump, -Xms1024m, -Xmx4096m, -Duser.language=en]

Minecraft process ID: 7276

Using onesix launcher.

Failed to start Minecraft: java.lang.reflect.InvocationTargetException 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:210) at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245) at org.multimc.EntryPoint.listen(EntryPoint.java:143) at org.multimc.EntryPoint.main(EntryPoint.java:34) Caused by: 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) ... 8 more Exiting with -1 Process exited with code -1 (0xffffffffffffffff). Please note that usually neither the exit code, nor its description are enough to diagnose issues! Always upload the entire log and not just the exit code. Clipboard copy at: 06 Aug 2022 01:11:07 +0800 Clipboard copy at: 06 Aug 2022 01:16:56 +0800

phit commented 2 years ago

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