Android Question Launch jRDC2 from BAT file

Bladimir Silva Toro

Active Member
Licensed User
Longtime User
Hello friends

I already finished my application in B4A using jRDC2.

I wanted to know how to launch the jRDC2 without my client having installed B4J on his computer, would there be a BAT file like RunRLC from the old RDC version?

Thank you so much for your valuable colaboration.
 

Bladimir Silva Toro

Active Member
Licensed User
Longtime User
Thanks Erel

It works perfectly, since the database is in Windows Server it is possible that this BAT file runs as a Windows service.

How this be possible?

Thank you.
 
Upvote 0

OliverA

Expert
Licensed User
Longtime User
Looks useful and it supports batch files
Actually I use a batch file to start the service, since I could not get the stdout/stderr redirection that is provided by NSSM to work properly (I was hoping to use the log rotation facilities of NSSM). Example batch file content:
B4X:
java -jar somejar.jar > logs\stdout.txt 2> logs\stderr.txt
 
Upvote 0
Top