More Info: How to Fix the Could Not Create the Java Virtual Machine Error
Need Help? Click here for more information on How to Fix the Could Not Create the Java Virtual Machine Error.
Need Help? Click here for more information on How to Fix the Could Not Create the Java Virtual Machine Error.
The Error That i recieved is as follows:
C:\Users\Owner\Desktop\1.14.3 Server>java -Xmx8192M -Xms8192M -jar server.jar nogui
Invalid maximum heap size: -Xmx8192M
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.
C:\Users\Owner\Desktop\1.14.3 Server>PAUSE
Press any key to continue . . .
I've tried the lowest amount of ram yet it still doesn't Work, i thinking about reinstalling java, I Use WIndows 10 with 16gbs of ram so i have enough space to run this, This is on the MOST RECENT version of java as of 7-16-2019
You probably have installed the 32-bit version of Java (Windows x86), which is limited to 4G (4096M). Install the 64-bit version (Windows x64) instead: https://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
Check (for example)
java version "1.8.0_211"
Java(TM) SE Runtime Environment (build 1.8.0_211-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.211-b12, mixed mode)
Thank you so much, It Fixed it, Thank you and have a great day, now me and the boys can get back to Playin MC