ImpactDevelopment / ImpactIssues

Please use this repo to report bugs and request features
https://impactclient.net/
216 stars 36 forks source link

Impact crashes when I try to launch it on Multimc. #3405

Open tyfg6yugt opened 2 years ago

tyfg6yugt commented 2 years ago

Describe the bug When I try to launch it, it gives me weird errors and process exited code -1

To Reproduce Steps to reproduce the behavior:

  1. Install impact in multimc folder.
  2. Click on impact instance.
  3. Wait for it to launch.
  4. See error and become frustrated.

Expected behavior Starting up normally without errors.

Screenshots If applicable, add screenshots to help explain your problem.

Game output ``` ```
Crash report ``` 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. ```
Additional Client Info - Impact Version: < "4.9.1 for 1.12.2" --> - Using Optifine? - Using LiteLoader? - Enabled mods: - Operating System:

Additional context Add any other context about the problem here.

Phagal commented 2 years ago

Just use impact on normal one

SergioFLS commented 2 years ago

It seems like this affects later Java versions? I tried with Java 16 and I got the same crash, but using Java 8 works just fine...

yemix commented 1 year ago

just go to instance settings and enter your java 8 path. Try enter this. C:\Program Files\Java\jre1.8.0_351\bin\javaw.exe