thane98 / BCSAR-View

WIP Editor for 3DS Sound Archives (*.bcsar)
GNU General Public License v3.0
22 stars 0 forks source link

Running BCSAR View on Linux fails to load "Glass Factory class" #20

Open applecuckoo opened 9 months ago

applecuckoo commented 9 months ago

Hi! I'm trying to run this but I've had no luck thus far. I've tried the OpenJDK 19 runtime for 0.4 alpha and the OpenJDK 8 runtime for 0.3 alpha. They both fail with the following error:

Jan 14, 2024 8:09:45 AM com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @12ef5ccc'
java.lang.ClassNotFoundException: com.sun.glass.ui.gtk.GtkPlatformFactory
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:315)
    at com.sun.glass.ui.PlatformFactory.getPlatformFactory(PlatformFactory.java:42)
    at com.sun.glass.ui.Application.run(Application.java:144)
    at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:280)
    at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:288)
    at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:160)
    at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:658)
    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:678)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
    at java.base/java.lang.Thread.run(Thread.java:829)
Failed to load Glass factory class
Exception in thread "main" java.lang.NullPointerException
    at com.sun.glass.ui.Application.run(Application.java:144)
    at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:280)
    at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:288)
    at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:160)
    at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:658)
    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:678)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
    at java.base/java.lang.Thread.run(Thread.java:829)