B4J Question manifest file and the libs folder

Jmu5667

Well-Known Member
Licensed User
Longtime User
Hi all, anyone got some info on creating a manifest file and setting the class-path for jar files. Deploying first web server app and merge libraries is false so I need some guidelines with regards to deploying the associated jar file the app requires.

Thanks in advance

John
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
The manifest file is created automatically. You should see a message such as this one in the compilation window:
The following libraries should be distributed in the libs folder:
jCore.jar jFX.jar CSSUtils.jar JavaObject.jar Json.jar

The mentioned libraries should be copied to a folder named libs:
YourJar.jar
libs
--- All libraires here
 
Upvote 0

Jmu5667

Well-Known Member
Licensed User
Longtime User
Hi Erel

Thanks for the info, I have done as you suggested, when I run the jar file (GUI app) no GUI loads, when it is run within the IDE it loads. Am I missing something basic ?

My plan is to have a common folder with all the libs required by all our new server apps (each server app has a GUI mnager), I wll be suing inno setup for the install and hopefully use the -cp (classpath) in the apps so there point to the common lib folder.

This is possible ?

John.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Thanks for the info, I have done as you suggested, when I run the jar file (GUI app) no GUI loads,
Run it from the command line with java -jar. It will allow you to see the logs.

If you use package manager then it will be easier to merge the libraries though I don't see any reason to use it for your own deployments.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…