Running from the command-line requires the full edition of Liberica JDK,
which includes JavaFX. See:
https://github.com/DaveJarvis/keenwrite#other
https://bell-sw.com/pages/downloads/?version=java-16
Other OpenJDK versions do not include JavaFX. (JavaFX can be installed
separately for other OpenJDK versions, but it's a bit of a pain.) The
decision to remove JavaFX from the default Java distribution kind of pulled
the rug out from under a number of projects.
https://dave.autonoma.ca/blog/2020/06/29/write-once-build-anywhere/
Cheers!
On Mon, May 10, 2021 at 5:34 AM Hans Hagen
On 5/10/2021 11:46 AM, Floris van Manen wrote:
On 10/05/2021 07:40, Thangalin wrote:
https://github.com/DaveJarvis/keenwrite#download https://github.com/DaveJarvis/keenwrite#download
Stay safe everyone!
When launching from
Linux vmz 5.11.0-7614-generic #15~1618626693~20.10~ecb25cd-Ubuntu SMP Thu Apr 22 16:00:45 UTC x86_64 x86_64 x86_64 GNU/Linux
I get a warning:
$ keenwrite.bin OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release.
on windoes:
java.exe --illegal-access=permit -jar keenwrite.jar OpenJDK 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release. KeenWrite version 2.0.0 Copyright 2016-2021 White Magic Software, Ltd. Portions copyright 2015-2020 Karl Tauber. Exception in thread "main" java.lang.NoClassDefFoundError: javafx/beans/property/ReadOnlyProperty at com.keenwrite.Launcher.main(Launcher.java:27) Caused by: java.lang.ClassNotFoundException: javafx.beans.property.ReadOnlyProperty at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:636) at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:182) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519) ... 1 more