I'm having some issues when I compile my application natively on Linux. It works perfectly fine compiling for windows on Linux I'm getting a error and it crashes every time the webview is loaded.
Technologies used
Ubuntu 22.04.4 LTS 64bit
Java 17
JavaFX 21
Gluon 17 + 21
Gradle
Error Message
Mon Apr 08 23:36:22 EDT 2024][INFO] [SUB] Main
[Mon Apr 08 23:36:22 EDT 2024][INFO] [SUB] Apr 08, 2024 11:36:22 PM com.sun.javafx.application.PlatformImpl startup
[Mon Apr 08 23:36:22 EDT 2024][INFO] [SUB] WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @71c7db30'
[Mon Apr 08 23:36:22 EDT 2024][INFO] [SUB] Apr 08, 2024 11:36:22 PM com.graalonline.apps.remotecontrol.FXRunner$1 lambda$flushBuffer$0
[Mon Apr 08 23:36:22 EDT 2024][INFO] [SUB] SEVERE: Exception in Application start method
[Mon Apr 08 23:36:22 EDT 2024][INFO] [SUB] Apr 08, 2024 11:36:22 PM com.graalonline.apps.remotecontrol.FXRunner$1 lambda$flushBuffer$0
[Mon Apr 08 23:36:22 EDT 2024][INFO] [SUB] SEVERE: Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
[Mon Apr 08 23:36:22 EDT 2024][INFO] [SUB] Apr 08, 2024 11:36:22 PM com.graalonline.apps.remotecontrol.FXRunner$1 lambda$flushBuffer$0
[Mon Apr 08 23:36:22 EDT 2024][INFO] [SUB] SEVERE: at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:893)
[Mon Apr 08 23:36:22 EDT 2024][INFO] [SUB] Apr 08, 2024 11:36:22 PM com.graalonline.apps.remotecontrol.FXRunner$1 lambda$flushBuffer$0
[Mon Apr 08 23:36:22 EDT 2024][INFO] [SUB] SEVERE: at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
[Mon Apr 08 23:36:22 EDT 2024][INFO] [SUB] Apr 08, 2024 11:36:22 PM com.graalonline.apps.remotecontrol.FXRunner$1 lambda$flushBuffer$0
[Mon Apr 08 23:36:22 EDT 2024][INFO] [SUB] SEVERE: at java.lang.Thread.run(Thread.java:833)
[Mon Apr 08 23:36:22 EDT 2024][INFO] [SUB] Apr 08, 2024 11:36:22 PM com.graalonline.apps.remotecontrol.FXRunner$1 lambda$flushBuffer$0
[Mon Apr 08 23:36:22 EDT 2024][INFO] [SUB] SEVERE: at com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:704)
[Mon Apr 08 23:36:22 EDT 2024][INFO] [SUB] Apr 08, 2024 11:36:22 PM com.graalonline.apps.remotecontrol.FXRunner$1 lambda$flushBuffer$0
[Mon Apr 08 23:36:22 EDT 2024][INFO] [SUB] SEVERE: at com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:202)
[Mon Apr 08 23:36:22 EDT 2024][INFO] [SUB] Apr 08, 2024 11:36:22 PM com.graalonline.apps.remotecontrol.FXRunner$1 lambda$flushBuffer$0
[Mon Apr 08 23:36:22 EDT 2024][INFO] [SUB] SEVERE: Caused by: java.lang.UnsatisfiedLinkError: com.sun.webkit.WebPage.twkInitWebCore(ZZZ)V [symbol: Java_com_sun_webkit_WebPage_twkInitWebCore or Java_com_sun_webkit_WebPage_twkInitWebCore__ZZZ]
Gradle File
https://pastebin.com/RULK0mi0
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.