Minecraft – How to run the minecraft client on CentOS 7

linuxminecraft-java-editionminecraft-launcher

I have CentOS 7.7 installed on my system. I've downloaded Minecraft.tar.gz from the official download site and when I try to run its minecraft-launcher binary I get the following errors:

./minecraft-launcher: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./minecraft-launcher)
./minecraft-launcher: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./minecraft-launcher)
./minecraft-launcher: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./minecraft-launcher)

Looking at my libstdc++.so.6 I see that it only supports up to GLIBCXX_3.4.19, even though my system is up to date.

Ignoring the questionable logic of requiring a platform-specific front end to run a platform-independent game, does anyone have any ideas of how I can get this to work?

I've looked into trying to install a newer version of libstdc++ on my system but most of what I read warned me against it as the entire system is closely tied to the versions of the standard libs.

The easiest solution would be to find an older version of the launcher but my searches have come up empty.

I could probably run the java client directly but again I've been unable to find a place to download it from.

The Minecraft site does provide a download for the java server, is there a way to use that as a client?

Best Answer

Here is a link to the old launcher: http://www.filedropper.com/minecraft_1

This will allow you to play certain versions like everything before 1.14.2 and 19w35a snapshot (confirmed by me). Download it and place in your desktop.

Run using the following commands in terminal:

cd Desktop

then

java -jar Minecraft.jar

Enjoy (: