1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

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

Discussion in 'B4J Questions' started by petr4ppc, May 28, 2019.

  1. petr4ppc

    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

    use actual verison of B4J
    Java 8 or OpenJDK 11?

    Best regards

  2. Erel

    Erel Administrator Staff Member Licensed User

    Always bad to stay with an older version.

    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.
  3. petr4ppc

    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
    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
    Last edited: May 28, 2019
  4. Erel

    Erel Administrator Staff Member Licensed User

    There is nothing to rewrite. B4J is backward compatible.

    Yes, it is true.
    Edgardo Nakaya and petr4ppc like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice