Java jre 8-211

Discussion in 'Chit Chat' started by Daestrum, Apr 23, 2019.

  1. Daestrum

    Daestrum Well-Known Member Licensed User

    Just got the notification of a java update on my pc to go to 211 on the jre.

    I just happened to read the screen before I clicked install.

    The jre is free for personal use but needs a license for commercial use.

    So my point is be aware that if you bundle the jre with your program and sell it, you are technically breaking the license agreement.
     
    ShaneG30 and Peter Simpson like this.
  2. Erel

    Erel Administrator Staff Member Licensed User

    The recommended way to include the Java runtime with your app is by using OpenJDK 11 with B4JPackager11.
     
  3. Daestrum

    Daestrum Well-Known Member Licensed User

    I was referring to java 8 not 11
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    I know. Just added it to help other members who read this post and are less familiar with the different versions.
     
  5. avalle

    avalle Active Member Licensed User

    Ok Erel, but does it mean that there's no way (anymore) to bundle a Java 8 runtime with a B4J app without breaking the license agreement?
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    1. B4JPackager (not 11) is a thin wrapper above javapackager tool. This is a tool provided by Oracle to help developers build installers for their Java apps that include an embedded runtime.
    2. I'm not a lawyer.
    3. I did try to find more information about this without success.
    4. There is a simple and clear solution, switch to OpenJDK 11.
     
  7. Daestrum

    Daestrum Well-Known Member Licensed User

    This is from the java se pages (faq's)
     
    avalle and inakigarm like this.
  8. OliverA

    OliverA Well-Known Member Licensed User

    If you have to stick with an updated 8, you could try alternative providers such as
    1) Amazon Corretto (https://aws.amazon.com/corretto/). Version 8 should come packaged with JavaFX (Version 11 does not).
    2) https://www.b4x.com/android/forum/t...12-currently-not-possible.105260/#post-659686
    . You should go for the "Zulu 8 or Zulu 11 with OpenJFX" edition to have JFX bundled with Java 8.

    There are others, you'll just have to search online (some don't bundle JFX though).
     
    ShaneG30 likes this.
Loading...
  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