badvision / lawless-legends

Open-source code and assets from Lawless Legends and its supporting tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Will not launch Outlaw Editor on MacOS X High Sierra 10.13.6

WizardOfWor1969 opened this issue · comments

Can not launch the editor from MacOS X using
The most recent copy of Outlaw Editor (aka the Daily build) can be found here: https://www.dropbox.com/s/2tmqxde0ordz7ez/OutlawEditor.jar?dl=0

I tried launching from the command line and I get this:
java -jar OutlawEditor.jar
Error: Could not find or load main class org.badvision.outlaweditor.Application
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

The default Java version wasj ava version "11.0.2" 2019-01-15 LTS

I installed javafx 12 and jdk-12.0.1.jdk, but get the same error. I am not that familiar with Java so perhaps these newer versions are not compatible with a Java 8 application like yours?

Will also not launch in macOS Catalina version 10.15.7 . This is using the daily build as of today.

java -jar OutlawEditor.jar
Error: Could not find or load main class org.badvision.outlaweditor.Application
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

You have to use either Oracle Java 8 or install both OpenJDK and OpenJFX. If you try to run with Java 11 then it fails to start because the geniuses at Oracle decided to remove JavaFX from the Oracle distribution, as well as other mature and heavily-used modules. It is possible to repack this editor for Java 11 support and include OpenJFX in the build, I just haven't had time to work on it.

Running on Debian 11, openjdk 17.0.1 2021-10-19 and openjfx/stable 11.0.11+0-1 amd64

Error: Could not find or load main class org.badvision.outlaweditor.Application
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application