Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MC fails to launch (1.10.2) Exit code -1 #3266

Closed
BeansBeefBroccoli opened this issue Aug 2, 2020 · 5 comments
Closed

MC fails to launch (1.10.2) Exit code -1 #3266

BeansBeefBroccoli opened this issue Aug 2, 2020 · 5 comments

Comments

@BeansBeefBroccoli
Copy link

System Information

MultiMC version: 0.6.11-1430

Operating System: Windows 10

Summary of the issue or suggestion:

MC does not launch and the log says: "Exiting with -1
Process exited with code -1."

What should happen:

MC should launch.

Steps to reproduce the issue (Add more if needed):

  1. Create New Instance

  2. Install Forge

  3. Add Mods

  4. Press Launch

Suspected cause:

Maybe my Java?

Logs/Screenshots:

https://pastebin.com/gp7TnbZe

Additional Info:

I don't know much about technical stuff.

@sylv256
Copy link

sylv256 commented Aug 10, 2020

Simple Answer


This looks like a launcher bug. Exit code -1 usually means an error occurred.

Long Answer


It appears that launchwrapper failed to load due to an invalid cast (AppClassLoader -> URLClassLoader).

@sylv256
Copy link

sylv256 commented Aug 10, 2020

It could be your version of Java. I recommend using Java 8 instead of Java 11 since it runs better and has a lower chance of weird errors like this one.

@Janrupf
Copy link
Contributor

Janrupf commented Aug 10, 2020

It is indeed Java 11 causing the issue

@peterix
Copy link
Member

peterix commented Aug 10, 2020

Yep. Use Java 8.

@peterix peterix closed this as completed Aug 10, 2020
@BeansBeefBroccoli
Copy link
Author

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants