Error: Could not create the Java virtual Machine Help!

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

bo_daggits

New Member
Jul 29, 2019
5
0
0
So I try to open up a modpack in the ftb Launcher and Im watching the console and BOOM! Error: Could not create the Java Virtual Machine. Error: A fatal exception has occoured. Program will exit. SOO can anyone help Im pretty sure its something with my java..
 
Please post your console log and the crash log to pastebin.com. Without context, there's not much we can do for you.
 
Unrecognized VM option 'PermSize128M'
This stands out to me. Normally, the FTB launcher sets -XX:permSize=256M, but I've seen some people with a global JVM flag that's trying to set it to 128M instead.

This seems to be the case for you, but it seems to be misspelled; it's missing a "=" between the PermSize and the 128M. Long story short, you need to find what is trying to set a global java argument of "-XX:permSize128M" (misspelling and all), and get rid of it. Unfortunately, I only know how to do this on Windows, not Mac OS X.
 
This stands out to me. Normally, the FTB launcher sets -XX:permSize=256M, but I've seen some people with a global JVM flag that's trying to set it to 128M instead.

This seems to be the case for you, but it seems to be misspelled; it's missing a "=" between the PermSize and the 128M. Long story short, you need to find what is trying to set a global java argument of "-XX:permSize128M" (misspelling and all), and get rid of it. Unfortunately, I only know how to do this on Windows, not Mac OS X.
is there a tutorial on how to do this?
 
is there a tutorial on how to do this?
You as someone who actually owns a Mac knows more about their settings and configuration than I. The only Apple product I own is an iPad I got as a graduation gift that just sits in a drawer collecting dust.

Though my first guess would be to somehow open up the Java Control Panel.
 
Oh. One other place it could be. Check the "Advanced Options" in the Options in the FTB Launcher. It has an "Additional Java Parameters:" field, and it may be in there too.

I can't believe I forgot to mention there. >_>