After clicking "Play" on the launcher, it attempts to load the Java environment, but delivers the error: Could not create the Java Virtual Machine.
I have tried all the workarounds - running Java as administrator; establishing a system variable for Java memory; even uninstalled Java and installed the new Java 16; all to no avail.Β Β
Attachments
Comments 8
Just added my most recent launcher log.Β No change in the results.Β Still can't create java virtual machine.
Please try removing the JVM argument 'UseConcMarkSweepGC' and remove any environment variable you set via windows.
I removed theΒ 'UseConcMarkSweepGC' argument and all Java path and memory allocation Environmental Variables from Windows.Β My Java arguments for 1.17- pre4 then read like this:
-Xmx1G -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
When I hit "Play" I got the same "Could not Create Java Virtual Machine" error.
However, I then hit the "Reset" button next to the JVM Arguments, and it replaced my arguments with this:
-Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
When I saved these options, Minecraft started and I was able to create a new world!Β Β
I'm glad you were able to find a fix π
Quick Links:
π Bug Tracker Guidelines β π¬ Community Support β π§ Mojang Support
π Project Summary β βοΈ Feedback and Suggestions β π Game Wiki
We do not have enough information to find the cause of this issue.
Please attach the full launcher log found in
[minecraft/launcher_log.txt|https://minecrafthopper.net/help/guides/getting-minecraft-logs/]
.This issue is being temporarily closed as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
π Bug Tracker Guidelines β π¬ Community Support β π§ Mojang Support
π Project Summary β βοΈ Feedback and Suggestions β π Game Wiki