Jump to content

[1.17.1] "Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit."


Deffy

Recommended Posts

Java popup: "Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit."
In the console: "Unrecognized option: -p". 
This is all immediately following my attempts to run the mod.
I do not see any posts on this problem. Any help I appreciate and any questions I will answer.

Edit with additional info:
- I am using the "Eclipse" IDE.
- I am using JDK 1.8.0_301.

Edited by Deffy
Providing additional information
Link to comment
Share on other sites

Switched to JDK 16. Now have this:

Exception in thread "main" java.lang.module.ResolutionException: Module authlib reads more than one module named cpw.mods.securejarhandler
    at java.base/java.lang.module.Resolver.resolveFail(Resolver.java:908)
    at java.base/java.lang.module.Resolver.checkExportSuppliers(Resolver.java:729)
    at java.base/java.lang.module.Resolver.finish(Resolver.java:379)
    at java.base/java.lang.module.Configuration.<init>(Configuration.java:140)
    at java.base/java.lang.module.Configuration.resolveAndBind(Configuration.java:494)
    at java.base/java.lang.module.Configuration.resolveAndBind(Configuration.java:298)
    at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:77)

Can't find much real info on what this means, let alone relating it to what I'm trying to do.
Once again, help appreciated.

Link to comment
Share on other sites

  • Deffy changed the title to [1.17.1] "Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit."

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.