I would like to use monocle with linux, for headless use in build system, but I don't see any way to get the linux-monocle version for versions above 17.0.6
Is it just forgotten? broken? or is there any other way to get it working?
I tried using the following parameters
-Djavafx.platform=linux
-Dheadless=true
-Dglass.platform=Monocle
-Dmonocle.platform=Headless
-Dprism.order=sw
-Djava.awt.headless=true
and I get an error saying that the platform is not initialized:
Cause: java.lang.NullPointerException: Cannot invoke "com.sun.glass.ui.PlatformFactory.createApplication()" because the return value of "com.sun.glass.ui.PlatformFactory.getPlatformFactory()" is null
at com.sun.glass.ui.Application.run(Application.java:146)
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:290)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:293)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:163)
at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:659)
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:679)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196)
at java.base/java.lang.Thread.run(Thread.java:833)
my best guess on it after some investigation is that I should be using the linux-monocle
platform but it is not released for 19.x versions for linux x64, and I'd really prefer to continue using the 19.x versions, that contain methods like map, flatMap which are really helpful.