Java jre 8-211

Daestrum

Expert
Licensed User
Longtime 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.
 

Daestrum

Expert
Licensed User
Longtime User
I was referring to java 8 not 11
 

avalle

Active Member
Licensed User
Longtime 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?
 

Erel

B4X founder
Staff member
Licensed User
Longtime 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.
 

Daestrum

Expert
Licensed User
Longtime User
This is from the java se pages (faq's)
 

OliverA

Expert
Licensed User
Longtime 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).
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…