Error Code

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
K

KingSkulzCrusher

Guest
"Detected following JVM error:
=======================================
Too many arguments in command line.
=======================================
JVM test failed. Can't run server, Exiting...
Press any key to continue . . ."
 
K

KingSkulzCrusher

Guest
now im getting this

Starting server
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option PermSize; support was removed in 8.0
Unrecognized VM option 'UseParNewGC'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Exiting...
Press any key to continue . . .
 

Hambeau

Over-Achiever
Jul 24, 2013
2,598
1,531
213
It looks like you've added command line memory options to the Java startup that no longer exist... The PermSize switch in specific.

I'm not sure on the rest, like the VM option, but you might want to remove all the command line switches and make sure you can start Minecraft.

After that, before you add any switches to the line verify that the switch you want to add works with the Java version you have. If you are using a default Mojang load that will be Java 1.8.0_25 (it loads automatically when Minecraft starts unless told otherwise).

What may have happened here is you either saw an older post from the Java 1.7 days or was given information that last applied to 1.7. As an example, Java 1.7's default PermSize used to be 2GB and had to have the switch used to set it to 4GB for 64-bit Java and larger packs. Java 1.8 changed many switch names and completely removed others, in addition to setting the default to 4GB, and now many 1.12 packs need that set to between 6 and 8GB.

Also, as was mentioned in the other thread you posted in, We really need a lot more information about your installation:

1) OS (if Windows what version (XP? 7? 8? 10? and 32 or 64 bit) or MacOS?
2) How much memory you have installed and if you have integrated graphics or a card (Integrated graphics "steals" ram from the system for video use and the OS uses a sizable chunk)
3) Java version and size (32 or 64 bit)
4) What modded pack and launcher?

The complete error log will provide most of this info. There's a procedure to upload the logs properly (if posted directly to a thread it's huuuuuge :D) but I haven't needed to use it so far and don't know the details.
 
Last edited:
  • Like
Reactions: jikuja