B4J Version: 10.00
Parsing code. (1.22s)
Java Version: 8
Building folders structure. (0.18s)
Running custom action. (0.12s)
Compiling code. (1.49s)
Compiling layouts code. (0.05s)
Organizing libraries. (0.00s)
Compiling generated Java code. Error
src\peacemaker\orionlab\main.java:7: error: package javafx.application does not exist
public class main extends javafx.application.Application{
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
only showing the first 1 errors, of 325 total; use -Xmaxerrs if you would like to see more
javac 22
In whole the question - why is it not good to use some latest Java SDK with B4X ?
Is it not the best (latest improved\fixed errors) if to update the SDK files set ?
Anyway, Java version 22 is detected not correct as 8 (v.18, 19 are detected correctly). And JavaFX is "not visible" (sure, /javafx folder is here).
Perhaps you should visit this thread post #2: https://www.b4x.com/android/forum/threads/update-openjdk.140167/#post-887747In whole the question - why is it not good to use some latest Java SDK with B4X ?
Is it not the best (latest improved\fixed errors) if to update the SDK files set ?
Anyway, Java version 22 is detected not correct as 8 (v.18, 19 are detected correctly). And JavaFX is "not visible" (sure, /javafx folder is here).
#JavaCompilerPath: 18, C:\java\jdk-18\bin\javac.exe
just to try new features out
You could benefit from some bug fix or corrected vulnerability.It is the initial reason of the question: what new\better features we obtain in B4X projects if to update the JDK version ?
Not exactly correct.But if latest Java contain even new functionalities you will not benefit of them until B4A will be upgraded to use them.
No. No. No.Seems, clear: B4X compilers, i think, use some fixed code patterns to implement functions, and they will not be changed until Erel may edit the IDE code.
So, benefit is just for bug fixes from new SDK only.
Sorry, I'm confused. How does this not relate to B4A?1. We are talking about B4J here.