B4J Question [SOLVED]How to Automaticly run 2 Java app on Ubuntu

incendio

Well-Known Member
Licensed User
Longtime User
Hello guys,

I have 2 app created in B4J & need to run these app on startup.

I created command line in file rc.local on ubuntu, something like this
B4X:
zbd -f abc.z
java -jar app1.jar
java -jar app2.jar

After startup, only app1.jar runs, app2.jar was not run. If I change the order to
B4X:
zbd -f abc.z
java -jar app2.jar
java -jar app1.jar

App2.jar run but app1.jar was not run.

App zbd is always runs no matter what order it was placed.

Any hints how to solve this?
Thanks in advance.
 

incendio

Well-Known Member
Licensed User
Longtime User
Thanks for your replied.

Currently, tested on virtual box, it uses systemd, but the real Server will not install by me, so don't know with system will be used.

Any other general way that not depend on system used?
 
Upvote 0

OliverA

Expert
Licensed User
Longtime User
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…