Daestrum Expert Licensed User Longtime User Aug 26, 2021 #1 I am using Java 16 (openJdk16) If I create an non-ui program it compiles fine and works. If I create a UI program it fails to compile (even though the paths are the same) with the error src\b4j\example\main.java:7: error: package javafx.application does not exist public class main extends javafx.application.Application Click to expand... Unless I add the following line B4X: #JavaCompilerPath: 16, D:\jdk-16.0.1\bin\ Just wondering why ?
I am using Java 16 (openJdk16) If I create an non-ui program it compiles fine and works. If I create a UI program it fails to compile (even though the paths are the same) with the error src\b4j\example\main.java:7: error: package javafx.application does not exist public class main extends javafx.application.Application Click to expand... Unless I add the following line B4X: #JavaCompilerPath: 16, D:\jdk-16.0.1\bin\ Just wondering why ?
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2021 #2 As it is not considered a supported version, the IDE doesn't handle it as a "modularized" version. Upvote 0