B4J Question Java 8 or OpenJDK 11? Can we say what is better way?

petr4ppc

Active Member
Licensed User
Dear friends,

do you have experiences what is better way? If Java 8 or OpenJDK 11?

I am using B4J version 4.00 and every project is OK.

now I want to do step to higher version of B4J with my existing projects and
I want please for advice WHAT IS BETTER WAY?

Staying with B4J v 4.00

or
use actual verison of B4J
with
Java 8 or OpenJDK 11?

Best regards
p4ppc

 

Erel

Administrator
Staff member
Licensed User
Staying with B4J v 4.00
Always bad to stay with an older version.

Java 8 or OpenJDK 11?
Both options are good. Java 8 has the advantage of being able to run executable jars. This is good for all kinds of utilities.
With OpenJDK 11 it is easier to build distributable packages and it is the way to go forward.
 

petr4ppc

Active Member
Licensed User
Thank you very much Erel,

I will try OpenJDK 11.

Last question please -
If I will rewrite my project from b4J4.0 to actual B4J version with OPENJDK11
and
after this I will recognize that OPENJDK11 is not good for me and I will use JAVA8 - must I do some changes in the code in the future? (between openjdk11 and java8?)

and please: https://openjdk.java.net/legal/gplv2+ce.html
it does it mean that with OPENJDK11 I can distribute my projects 100% free and for my users it will be 100% free, it is true? I want to create only free app and I want have free distribution and easy instalation.

EDIT: For users - I have migrate my big project from b4j4.0 to b4j7.32 with openjdk11 without troubles, it is absolute easy and intuitive. Big thanks to Anywhere Team.

Thank you very much,
Best regards
p4ppc
 
Last edited:
Top