I have uninstalled my prior Java 8 files, and properly installed OpenJDK 11 and then overlay-ed it with OpenJFX (JavaFX 11) as required.
My Java version shows:
When I compile my main B4J application, which compiled and loaded/ran fine on Java 8, I get this JavaFX error:
I do not know how to resolve this B4J [Editor] compiling issue and am requesting assistance from B4J community members that [hopefully] were able to configure B4J to work with OpenJDK and OpenJFX (any version).
Note: I also downloaded the open source ControlsFX 9.0.0 jars and copied them into the B4J library folder; and then successfully imported/enabled via the B4J Libraries Manager for my application.
Thanks in advance!
My Java version shows:
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
When I compile my main B4J application, which compiled and loaded/ran fine on Java 8, I get this JavaFX error:
B4J Version: 6.51
Parsing code. (0.22s)
Building folders structure. (0.03s)
Compiling code. (0.94s)
Compiling layouts code. (0.01s)
Organizing libraries. (0.01s)
Compiling generated Java code. Error
src\b4j\aF\main.java:7: error: package javafx.application does not exist
public class main extends javafx.application.Application{
^
1 error
javac 11
Parsing code. (0.22s)
Building folders structure. (0.03s)
Compiling code. (0.94s)
Compiling layouts code. (0.01s)
Organizing libraries. (0.01s)
Compiling generated Java code. Error
src\b4j\aF\main.java:7: error: package javafx.application does not exist
public class main extends javafx.application.Application{
^
1 error
javac 11
I do not know how to resolve this B4J [Editor] compiling issue and am requesting assistance from B4J community members that [hopefully] were able to configure B4J to work with OpenJDK and OpenJFX (any version).
Note: I also downloaded the open source ControlsFX 9.0.0 jars and copied them into the B4J library folder; and then successfully imported/enabled via the B4J Libraries Manager for my application.
Thanks in advance!