Other Java 16

Daestrum

Expert
Licensed User
Longtime User
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

Unless I add the following line

B4X:
    #JavaCompilerPath: 16, D:\jdk-16.0.1\bin\

Just wondering why ?
 

Daestrum

Expert
Licensed User
Longtime User
Thank you for explanation.
 
Upvote 0
Top