This is a fork of glfw, add wayland support for Minecraft Java Edition.
- Make sure you have installed
git gcc make cmake pkgconf. - Clone this repository
git clone https://github.com/Project-MCT/Minecraft-GLFW-Wayland.git. - run
./build.sh.
- Add flag
-Dorg.lwjgl.glfw.libname=<path/libglfw.so>for your launcher's Java VM arguments, then try to launch the game.