Skip to content
Advertisement

Forge MDK runClient crashing, likely because of LWJGL. How can I fix it?

I tried to build the example mod which comes with the 1.12.2 MDK, gradlew setupDecompWorkspace, gradlew eclipse and even gradlew build work fine, only when I try to run gradlew runClient it crashes immediately and prints the following error/stack trace:

JavaScript

System Information:

  • OS: Ubuntu 18.04
  • Forge MDK: forge-1.12.2-14.23.5.2847-mdk
  • Graphics Driver: nvidia-driver-435
  • Java Version: 1.8.0_242

However I can still run (modded) Minecraft from the launcher without having this error.

Advertisement

Answer

I had this same issue. This question seemed to be the same problem, so I tried the fix it gave – downgrade from java 1.8_242 to 1.8_232. It worked, although it was difficult to find the right java version (it was on adoptopenjdk.net). Try running gradle with java 1.8_232.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement