Playing Old Minecraft JAVA on Linux

2026-09-13

I keep forgetting this but in order to play ancient minecraft versions, you need to:

Otherwise the error will look like:

-- System Details --
Details:
	Minecraft Version: 1.8.9
	Operating System: Linux (amd64) version 6.18.48-gentoo-dist-rwong
	Java Version: 1.8.0_502, Temurin
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Temurin
	Memory: 683960440 bytes (652 MB) / 919076864 bytes (876 MB) up to 3817865216 bytes (3641 MB)
	JVM Flags: 2 total; -Xms512m -Xmx4096m
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	FML:
	Loaded coremods (and transformers):
	Launched Version: 1.8.9
	LWJGL: 2.9.4
	OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
	GL Caps:
	Using VBOs: No
	Is Modded: Definitely; Client brand changed to 'fml,forge'
	Type: Client (map_client.txt)
	Resource Packs:
	Current Language: ~~ERROR~~ NullPointerException: null
	Profiler Position: N/A (disabled)
	CPU: <unknown>

This way the game can run through xwayland.

ArchWiki also mentioned that you can install your distro’s glfw package and enable wayland there[2], but for me it doesn’t work, older minecraft seems to force Xorg.

  1. https://bbs.archlinux.org/viewtopic.php?pid=2144538#p2144538 ↩

  2. https://wiki.archlinux.org/title/Minecraft#Minecraft_does_not_start_on_native_Wayland ↩


< Failed attempt at Setting up Arduino WCH support in VMNerd-oriented Guide on Setting up a Mail Server on FreeBSD >