Minecraft won't open, crashes as soon as I launch it with an Ubuntu VM

Minecraft won't open, crashes as soon as I launch it with an Ubuntu VM - Scenic View of Fire at Night

I am trying to load minecraft 1.8.8 on an Ubuntu virtual machine, however everytime I load it it immediately crashes, doesn't give me a crash report or anything, it just says 'Exit code: 0'. I am giving it 2 GB of ram, and people are saying that should be enough so I am really not sure what's wrong.

My JVM arguments: -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M

My Ubuntu version: 20.04.1



Best Answer

Trying allocating more RAM, at least 4GB and make sure accelerated graphics is on for the VM.




Pictures about "Minecraft won't open, crashes as soon as I launch it with an Ubuntu VM"

Minecraft won't open, crashes as soon as I launch it with an Ubuntu VM - White Metal High-rise Viewing Deck Building
Minecraft won't open, crashes as soon as I launch it with an Ubuntu VM - White Rocket
Minecraft won't open, crashes as soon as I launch it with an Ubuntu VM - Brown Steel Letter B Wall Decor



Why does Minecraft crash as soon as I open it?

There are several causes for Minecraft crashing on startup: the mods, bugs in the game, the corruption of the game files, and the missing or outdated graphics card driver. Fortunately, you can fix the crashing quickly and easily.

How do I fix Minecraft crashing on Linux?

This indicates that an error has occurred due to incompatibility between video card driver and the Lightweight Java Game Library (LWJGL). Minecraft can crash due to a compatibility issue with the video card driver currently installed on your system.



I WON in a MASSIVE Minecraft Tournament




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Pixabay, Pixabay, Pixabay, cottonbro