Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client startup error: UnsatisfiedLinkError: no glassgtk3 in java.library.path: . #57

Open
doodhout opened this issue Jan 25, 2025 · 1 comment

Comments

@doodhout
Copy link

doodhout commented Jan 25, 2025

I've just installed faf-linux via the readme, but it refuses to run.

When I call ./run it briefly displays the faf client splash screen, but then errors out in a regular java swing kind of like panel with the following information:

An error has occurred during startup:

java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: no glassgtk3 in java.library.path: .
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:300)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:292)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:162)
at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:651)
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:671)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.UnsatisfiedLinkError: no glassgtk3 in java.library.path: .
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2458)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:916)
at java.base/java.lang.System.loadLibrary(System.java:2063)
at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:168)
at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:56)
at com.sun.glass.ui.gtk.GtkApplication.lambda$new$5(GtkApplication.java:173)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
at com.sun.glass.ui.gtk.GtkApplication.(GtkApplication.java:162)
at com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(GtkPlatformFactory.java:40)
at com.sun.glass.ui.Application.run(Application.java:146)
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:290)
... 6 more

This is shown in the terminal where I started the run script:

WARNING: Unknown module: javafx.graphics specified to --add-exports
WARNING: Unknown module: javafx.graphics specified to --add-exports
WARNING: Unknown module: javafx.base specified to --add-exports
WARNING: Unknown module: javafx.graphics specified to --add-exports
WARNING: Unknown module: javafx.graphics specified to --add-exports
WARNING: Unknown module: javafx.graphics specified to --add-opens
WARNING: Unknown module: javafx.controls specified to --add-opens

Context:

I'm running OpenSUSE Tumbleweed and have the Temurin 21 JDK installed.

EDIT: I don't know if it's important, but I don't see libglass.so in /usr/lib64/jvm/temurin-21-jdk/lib/

@doodhout
Copy link
Author

FIXED

  1. I downloaded the OpenJFX SDK (same version as the OpenJDK obviously) and copied all of its lib*.so files into the local Temurin OpenJDK/lib folder)
  2. I installed the packages for libgthread (both 32bit + 64bit) because it was missing on the default OpenSUSE Tumbleweed installation: sudo zypper in libgthread*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant