Repository: XorTroll/Goldleaf

Issue #384: Quark and Linux issues
Created: 2019-09-17T22:35:37Z
[Quark] Error: JavaFX runtime components are missing
Bug description
When attempting to run the jar with an OpenJDK version of java or a more recent version of Oracle Java the following error occurs:
Error: JavaFX runtime components are missing, and are required to run this application
JavaFX is no longer bundled with JDK/JRE as of Java 11 and Jars are not intended to be ran alone, instead the convention is to use a launcher.
Your setup


Console firmware: 9.0.0


CFW with version: Atmosphere 0.9.4


Goldleaf version: 0.7.1


Goldtree version: Quark-Release1


Bug reproduction

Install latest JRE/JDK
Download Quark.jar
Launch Quark.jar either by double clicking or running java -jar Quark.jar in terminal/cmd
Fails to launch, if launched by terminal greeted with following:
Error: JavaFX runtime components are missing, and are required to run this application

Additional information
Solution might be to provide a launcher that launches the jar with bundled javafx modules. Java8 is archived on Oracle's website so it's sort of a pain to install, building with a more recent JDK might be preferred.

Duplicate issue #399: Quark.jar wont open in linuxx
Created: 2019-09-20T19:29:03Z
** This is error an execute in linux shell**
java -jar Quark.jar
sept. 20, 2019 4:26:40 P. M. javafx.fxml.FXMLLoader$ValueElement processValue
ADVERTENCIA: Loading FXML document with JavaFX API of version 11.0.1 by JavaFX runtime of version 11
Exception in Application start method
Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:900)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.NoClassDefFoundError: com/sun/javafx/css/converters/PaintConverter
at com.jfoenix.controls.JFXTextArea$StyleableProperties.(JFXTextArea.java:221)
at com.jfoenix.controls.JFXTextArea.(JFXTextArea.java:145)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at java.base/java.lang.Class.newInstance(Class.java:584)
at javafx.fxml.FXMLLoader$InstanceDeclarationElement.constructValue(FXMLLoader.java:1019)
at javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:754)
at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2722)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2552)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2466)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2435)
at xorTroll.goldleaf.quark.ui.MainApplication.start(MainApplication.java:103)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277)
... 1 more
Caused by: java.lang.ClassNotFoundException: com.sun.javafx.css.converters.PaintConverter
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 23 more
I m use JDK 8. Please Help me.

Closing comment (2019-09-20T20:43:49Z): Same as #384 and/or #388 .
388 might solve your problem? Also uninstall JAva and install the latest version.