/nix/store/yr5065y6vcf380lh7zw982qm35pmlqy8-jetbrains-jdk-jcef-17.0.8-b1000.8/lib/openjdk…
- User
/nix/store/yr5065y6vcf380lh7zw982qm35pmlqy8-jetbrains-jdk-jcef-17.0.8-b1000.8/lib/openjdk/bin/java -javaagent:/nix/store/mgyn0p7f0b6kl6g3x07j6n4da3ixwv4k-idea-ultimate-2024.1.3/idea-ultimate/lib/idea_rt.jar=35053:/nix/store/mgyn0p7f0b6kl6g3x07j6n4da3ixwv4k-idea-ultimate-2024.1.3/idea-ultimate/bin -Dfile.encoding=UTF-8 -classpath /home/daniyar/.m2/repository/org/openjfx/javafx-controls/17.0.6/javafx-controls-17.0.6.jar:/home/daniyar/.m2/repository/org/openjfx/javafx-graphics/17.0.6/javafx-graphics-17.0.6.jar:/home/daniyar/.m2/repository/org/openjfx/javafx-base/17.0.6/javafx-base-17.0.6.jar:/home/daniyar/.m2/repository/org/openjfx/javafx-fxml/17.0.6/javafx-fxml-17.0.6.jar:/home/daniyar/.m2/repository/org/openjfx/javafx-web/17.0.6/javafx-web-17.0.6.jar:/home/daniyar/.m2/repository/org/openjfx/javafx-swing/17.0.6/javafx-swing-17.0.6.jar:/home/daniyar/.m2/repository/org/openjfx/javafx-swing/17.0.6/javafx-swing-17.0.6-linux.jar:/home/daniyar/.m2/repository/org/openjfx/javafx-media/17.0.6/javafx-media-17.0.6.jar:/home/daniyar/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-common/1.8.10/kotlin-stdlib-common-1.8.10.jar:/home/daniyar/.m2/repository/org/jetbrains/annotations/13.0/annotations-13.0.jar -p /home/daniyar/.m2/repository/org/openjfx/javafx-web/17.0.6/javafx-web-17.0.6-linux.jar:/home/daniyar/.m2/repository/com/gluonhq/attach/storage/4.0.17/storage-4.0.17.jar:/home/daniyar/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.14.2/jackson-databind-2.14.2.jar:/home/daniyar/.m2/repository/org/kordamp/ikonli/ikonli-core/12.3.1/ikonli-core-12.3.1.jar:/home/daniyar/.m2/repository/eu/hansolo/tilesfx/11.48/tilesfx-11.48.jar:/home/daniyar/.m2/repository/org/kordamp/bootstrapfx/bootstrapfx-core/0.4.0/bootstrapfx-core-0.4.0.jar:/home/daniyar/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.8.10/kotlin-stdlib-1.8.10.jar:/home/daniyar/.m2/repository/com/github/almasb/fxgl-gameplay/17.3/fxgl-gameplay-17.3.jar:/home/daniyar/.m2/repository/com/gluonhq/attach/lifecycle/4.0.17/lifecycle-4.0.17.jar:/home/daniyar/.m2/repository/org/openjfx/javafx-controls/17.0.6/javafx-controls-17.0.6-linux.jar:/home/daniyar/.m2/repository/com/github/almasb/fxgl-io/17.3/fxgl-io-17.3.jar:/home/daniyar/.m2/repository/com/gluonhq/attach/util/4.0.17/util-4.0.17.jar:/home/daniyar/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.14.2/jackson-annotations-2.14.2.jar:/home/daniyar/.m2/repository/net/synedra/validatorfx/0.4.0/validatorfx-0.4.0.jar:/home/daniyar/.m2/repository/org/kordamp/ikonli/ikonli-javafx/12.3.1/ikonli-javafx-12.3.1.jar:/home/daniyar/.m2/repository/com/github/almasb/fxgl-core/17.3/fxgl-core-17.3.jar:/home/daniyar/.m2/repository/org/openjfx/javafx-fxml/17.0.6/javafx-fxml-17.0.6-linux.jar:/home/daniyar/.m2/repository/com/github/almasb/fxgl/17.3/fxgl-17.3.jar:/home/daniyar/.m2/repository/com/dlsc/formsfx/formsfx-core/11.6.0/formsfx-core-11.6.0.jar:/home/daniyar/.m2/repository/com/github/almasb/fxgl-entity/17.3/fxgl-entity-17.3.jar:/home/daniyar/.m2/repository/com/gluonhq/attach/audio/4.0.17/audio-4.0.17.jar:/home/daniyar/Documents/Project/demo2/target/classes:/home/daniyar/.m2/repository/org/controlsfx/controlsfx/11.1.2/controlsfx-11.1.2.jar:/home/daniyar/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.14.2/jackson-core-2.14.2.jar:/home/daniyar/.m2/repository/org/openjfx/javafx-base/17.0.6/javafx-base-17.0.6-linux.jar:/home/daniyar/.m2/repository/com/github/almasb/fxgl-scene/17.3/fxgl-scene-17.3.jar:/home/daniyar/.m2/repository/org/openjfx/javafx-graphics/17.0.6/javafx-graphics-17.0.6-linux.jar:/home/daniyar/.m2/repository/org/openjfx/javafx-media/17.0.6/javafx-media-17.0.6-linux.jar -m org.servlets.demo2/org.servlets.demo2.HelloApplication Loading library prism_es2 from resource failed: java.lang.UnsatisfiedLinkError: /home/daniyar/.openjfx/cache/17.0.6/libprism_es2.so: libGL.so.1: cannot open shared object file: No such file or directory java.lang.UnsatisfiedLinkError: /home/daniyar/.openjfx/cache/17.0.6/libprism_es2.so: libGL.so.1: cannot open shared object file: No such file or directory at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibrariesstaticPipelineRunnable.init(QuantumRenderer.java:92) at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRendererNativeLibraryImpl.open(NativeLibraries.java:388) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2394) at java.base/java.lang.Runtime.load0(Runtime.java:755) at java.base/java.lang.System.load(System.java:1953) at javafx.graphics/com.sun.glass.utils.NativeLibLoader.installLibraryFromResource(NativeLibLoader.java:217) at javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibraryFromResource(NativeLibLoader.java:197) at javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:138) at javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:54) at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.lambda6(GtkApplication.java:195) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.(GtkApplication.java:179) at javafx.graphics/com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(GtkPlatformFactory.java:41) at javafx.graphics/com.sun.glass.ui.Application.run(Application.java:146) at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:291) at javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:293) at javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:163) at javafx.graphics/com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:659) at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:410) at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:364) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at java.base/sun.launcher.LauncherHelperFXHelper.main(LauncherHelper.java:1082) Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: no glassgtk3 in java.library.path: /nix/store/v2ny69wp81ch6k4bxmp4lnhh77r0n4h1-zlib-1.3.1/lib:/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:301) at javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:293) at javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:163) at javafx.graphics/com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:659) at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:410) at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:364) ... 5 more Caused by: java.lang.UnsatisfiedLinkError: no glassgtk3 in java.library.path: /nix/store/v2ny69wp81ch6k4bxmp4lnhh77r0n4h1-zlib-1.3.1/lib:/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2434) at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818) at java.base/java.lang.System.loadLibrary(System.java:1989) at javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:166) at javafx.graphics/com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:54) at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.lambda6(GtkApplication.java:195) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.(GtkApplication.java:179) at javafx.graphics/com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(GtkPlatformFactory.java:41) at javafx.graphics/com.sun.glass.ui.Application.run(Application.java:146) at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:291) ... 10 more
- Assistant
The error you're encountering is caused by missing native libraries required by JavaFX on your system. Specifically, you're missing
libGL.so.1andlibXtst.so.6. These are common OpenGL and X11 extensions, respectively.Here’s how you can potentially resolve these missing dependencies on a Linux-based system:
-
Install OpenGL Libraries:
- The
libGL.so.1file is usually part of the Mesa library package. You can install it using your package manager. For example:
- The
-