Running Minecraft on FreeBSD

I certainly am late to the party, but I got a Minecraft license as a gift. As a user of FreeBSD on the desktop, I do run into a few problems, one being that I can't run Minecraft out of the box.

To get Minecraft running on FreeBSD, first you need to install minecraft-client from FreeBSD Ports or pkg (whichever you prefer). Do not download Minecraft directly from

To correctly install Minecraft, run:

cd /usr/ports/games/minecraft-client
make config-recursive install clean


pkg install minecraft-client

and launch Minecraft either by launching it from your desktop environment (GNOME Shell for me) or by running:


If you try to launch Minecraft directly (after logging in), you get the following error:

OpenJDK 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/home/neel/.minecraft/versions/1.11.2/1.11.2-natives-976477269910/ Shared object "" not found, required by ""
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(
        at java.lang.ClassLoader.loadLibrary(
        at java.lang.Runtime.loadLibrary0(
        at java.lang.System.loadLibrary(
        at org.lwjgl.Sys$
        at Method)
        at org.lwjgl.Sys.doLoadLibrary(
        at org.lwjgl.Sys.loadLibrary(
        at org.lwjgl.Sys.<clinit>(
        at bes.I(SourceFile:2777)
        at net.minecraft.client.main.Main.main(SourceFile:39)

To resolve the error, you need to change the Java executable from the generic one to the Minecraft specific one at /usr/local/share/minecraft-client/minecraft-runtime. To do that:

  1. Click on 'Edit Profile'
  2. Select 'Executable' if it is not already selected
  3. Change the path to /usr/local/share/minecraft-client/minecraft-runtime
  4. Click 'Save Profile' to save the settings

Keep in mind that you need to do this for every FreeBSD box you run Minecraft on.

Then you can click 'Play' and Minecraft will run.

Happy mining (I'm really new to this game).

Show Comments