I tried everything looked everything up but it says the same thing every time:
Reinstalling java etc.
Invalid initial heap size: -Xms5G
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Press any key to continue . . .
Below i have taken some pictures that i think could help.