What is Liberica JDK and can we use it with B4X?

EnriqueGonzalez

Expert
Licensed User
Longtime User
AlwaysBusy is right. but I want to add that Erel's JDK. Is mainly for development.

Liberica is good when you want to target raspberry pi with an UI.

There are some other JDKs. For example. Graalvm that is focused on microservices and the cloud.

Now days eclipse and Microsoft has their own JDKs. If you know how Erel's JDKs work. Then you could experiment.
 

hatzisn

Expert
Licensed User
Longtime User

Liberica JDK is only a good choice if you have a Raspberry Pi.
 

LWGShane

Well-Known Member
Licensed User
Longtime User

aeric

Expert
Licensed User
Longtime User
I think it would work for B4A and B4i but B4J requires javafx folder in a specific structure. Liberica JDK doesn't follow this structure so you still need to copy the javafx + jmods folders into it.


I have tested and suggest to download the JDK from the following:
 

EnriqueGonzalez

Expert
Licensed User
Longtime User
Liberica JDK doesn't follow this structure so you still need to copy the javafx + jmods folders into it.
you are right but that is for develpment. when installed on client machine, that specific structure is not needed
 

xulihang

Active Member
Licensed User
Longtime User
I think it would work for B4A and B4i but B4J requires javafx folder in a specific structure. Liberica JDK doesn't follow this structure so you still need to copy the javafx + jmods folders into it.
I don't think so. I am using Liberica JDK for compiling B4J apps and it works.
 

Gandalf

Member
Licensed User
Longtime User
I have used Liberica JRE to run B4J jar files (compiled with Oracle Java 8) on old 32 bit computers, on Linux. It displayed some warnings but worked.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…