Skip to content

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

@doodhout

Description

@doodhout

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions