Skip to content
This repository was archived by the owner on Jul 4, 2026. It is now read-only.
This repository was archived by the owner on Jul 4, 2026. It is now read-only.

Unable to launch on Linux #178

Description

@asrieldashie

Describe the bug
opsu does not extract natives upon launch:
Image

Extracting the natives manually from the jar results in different error:
Image

From .opsu.log:

Fri Jan 09 04:25:18 CST 2026 ERROR:** Uncaught Exception! **
Fri Jan 09 04:25:18 CST 2026 ERROR:/home/ivan/Games/opsu/Natives/liblwjgl64.so: /usr/lib/jvm/java-21-temurin-jdk/lib/libjawt.so: version `SUNWprivate_1.1' not found (required by /home/ivan/Games/opsu/Natives/liblwjgl64.so)
java.lang.UnsatisfiedLinkError: /home/ivan/Games/opsu/Natives/liblwjgl64.so: /usr/lib/jvm/java-21-temurin-jdk/lib/libjawt.so: version `SUNWprivate_1.1' not found (required by /home/ivan/Games/opsu/Natives/liblwjgl64.so)
	at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
	at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:331)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:197)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:139)
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2418)
	at java.base/java.lang.Runtime.load0(Runtime.java:852)
	at java.base/java.lang.System.load(System.java:2025)
	at org.lwjgl.Sys$1.run(Sys.java:70)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
	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 org.lwjgl.opengl.Display.<clinit>(Display.java:135)
	at org.newdawn.slick.AppGameContainer$1.run(AppGameContainer.java:39)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
	at org.newdawn.slick.AppGameContainer.<clinit>(AppGameContainer.java:36)
	at itdelatrisu.opsu.Opsu.main(Opsu.java:183)

From what I've read from few searches that this error was caused by lwjgl being too old and does not support newer Java versions.

However, some custom builds of lwjgl natives does make the game launch such as this and this.

To Reproduce
Steps to reproduce the behavior:

  1. Try to launch the game.

Expected behavior
The game launches.

Platform:

  • Device: Acer Nitro 5 (AN515-56)
  • OS: Fedora 43
  • opsu! 1.4.0
  • OpenJDK Runtime Environment Temurin-21.0.9+10 (build 21.0.9+10-LTS)/25.0.1+8 (build 25.0.1+8-LTS)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdependenciesPull requests that update a dependency file

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions