B4J Question #MergeLibraries:false - get list of libraries


Active Member
Licensed User
Longtime User
I have a server application, which uses 58 libraries. So I have not merged libraries to the jar file to keep the size down.
Additionally, I have written a tiny B4J app that will take a list of libraries (the list is provided manually to the program) from the above step.
The app copies the additional jar files either from the internal or external libraries folder to a custom "libs" folder, which I then copy to the server.

I have looked at the "project.b4j" file to get a list of libraries. But it looks like the actual libraries are in fact more than that in the .b4j file.

Any suggestions as to how to get the complete list of jar files to need to be copied programmatically?

The list I am looking for is :

B4J Version: 8.30
Java Version: 8
Parsing code. (1.19s)
Building folders structure. (0.04s)
Compiling code. (0.98s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Compiling generated Java code. (0.18s)
Building jar file. (0.19s)
Jar file created: C:\temp\Objects\myproject.jar
Libraries were not merged into jar file.
The following libraries should be distributed in the libs folder:
jCore.jar jRandomAccessFile.jar jNetwork.jar B4XEncryption.jar etc

Thank you