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 minecraft.net.

To correctly install Minecraft, run:

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

or

pkg install minecraft-client

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

minecraft-client

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/liblwjgl64.so: Shared object "libm.so.6" not found, required by "liblwjgl64.so"
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
        at java.lang.System.loadLibrary(System.java:1122)
        at org.lwjgl.Sys$1.run(Sys.java:72)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
        at org.lwjgl.Sys.loadLibrary(Sys.java:87)
        at org.lwjgl.Sys.<clinit>(Sys.java:117)
        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).