B4J Question B4JBuilder 6.51 + Java 11 does not work

JackKirk

Well-Known Member
Licensed User
I have just upgraded to Java 11 as per Erel's recommendation here:
https://www.b4x.com/android/forum/threads/problem-bug-using-b4jbuilder-7-31.104280/#post-653633

When I run a .bat file to compile a B4J app using B4JBuilder I get:
System.Exception: Error: src\b4j\example\main.java:7: error: package javafx.application does not exist
public class main extends javafx.application.Application{
^
Note: src\b4j\example\main.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

javac 11.0.2

at eh.a(a A_0)
at a2.j(String[] A_0)
at a2.m(String[] A_0)
Error: src\b4j\example\main.java:7: error: package javafx.application does not exist
public class main extends javafx.application.Application{
^
Note: src\b4j\example\main.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

javac 11.0.2
javafx is not found...

Only change is the Java upgrade.
 
Top