B4J Question b4j compiles a redistributable .jar ?

valentino s

Active Member
Licensed User
Longtime User
b4j 8.10 with OpenJDK 11 compiles a jar.

The jar doesn't start without a javafx module.

How can I produce a full redistributable .jar ?

Thanks

Spataro
 

valentino s

Active Member
Licensed User
Longtime User
Thank you Erel. My question isn't clear: for other readers the solution is here https://www.b4x.com/android/forum/t...-11-javafx-components-missing.109247/#content

My doubt is another: the .jar produced by b4j can be used as it is ? I'm on a new pc, but on the previous pc I was able to generate and execute a .jar with no problems.

It seems I don't have a java run time on my machine and I don't know which java run time is compatibile with open jdk11.

Thank you
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
for other readers the solution is here
This is only a solution that will work for B4X developers. The correct way to build a solution for other users is with B4JPackager11.

If you are creating some utilities for yourself then switch to Java 8. The compiled jar will run.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…