Java 11 is the next long time supported version after Java 8. Oracle, the owners of Java made all kinds of changes to Java license. While it will still be possible to use older versions of Java without a paid license, they are pushing developers to OpenJDK + OpenJFX. These are the open source versions of Java. Note that their license (GPL + classpath exception) permits usage in commercial closed-source projects.
B4J v6.80 adds support for Java 11. The changes required were mostly internal. Previous versions of Java are also supported.
How to run Java 11?
1. Download Java 11 with the required components: http://b4xfiles-4c17.kxcdn.com/jdk-11.0.1.zip
This package includes the following components: OpenJDK 11 and OpenJFX 11.0.1 (SDK + jmods).
2. Unzip the package. You can put it anywhere you like. C:\Java11 is a good place.
3. Choose Tools - Configure Paths in the IDE and choose the new Java.
B4JPackager will not work with Java 11. The good news is that there is a better tool available. It is written in B4J and it can be customized as needed. The tool name is B4JPackager11.
More about B4JPackager11: https://www.b4x.com/android/forum/t...the-simplest-way-to-distribute-ui-apps.99835/
Notes
- A new version of B4J-Bridge was released (v1.42). It is required for Java 11. If you are running Java 11 on the PC then you should also run Java 11 on the remote computer.
- UI runnable jars are not supported in Java 11+.
Download link:
B4J v6.80 BETA: www.b4x.com/b4j/files/beta.exe
B4J v6.80 adds support for Java 11. The changes required were mostly internal. Previous versions of Java are also supported.
How to run Java 11?
1. Download Java 11 with the required components: http://b4xfiles-4c17.kxcdn.com/jdk-11.0.1.zip
This package includes the following components: OpenJDK 11 and OpenJFX 11.0.1 (SDK + jmods).
2. Unzip the package. You can put it anywhere you like. C:\Java11 is a good place.
3. Choose Tools - Configure Paths in the IDE and choose the new Java.
B4JPackager will not work with Java 11. The good news is that there is a better tool available. It is written in B4J and it can be customized as needed. The tool name is B4JPackager11.
More about B4JPackager11: https://www.b4x.com/android/forum/t...the-simplest-way-to-distribute-ui-apps.99835/
Notes
- A new version of B4J-Bridge was released (v1.42). It is required for Java 11. If you are running Java 11 on the PC then you should also run Java 11 on the remote computer.
- UI runnable jars are not supported in Java 11+.
Download link:
B4J v6.80 BETA: www.b4x.com/b4j/files/beta.exe
Last edited: