B4J Question How to run jar file on server

Stefano Di Chiano

Active Member
Licensed User
Hi,
I followed the tutorial for jRDC2 and everything works on local. If I understand correctly now I should put my jRDC.jar file on my server and run it from there, to connect with my B4A client, but I can't find a way to do so.
Can anyone tell me what I have to do and how?
 

OliverA

Expert
Licensed User
Longtime User
What OS are you using on the server?
 
Upvote 0

OliverA

Expert
Licensed User
Longtime User
Version?
 
Upvote 0

OliverA

Expert
Licensed User
Longtime User
Do I have to run the jar via shell?
You may, if you have no control of the server. Owner could also install it as a service. So it's a shared host? Most do not run Java, since Java usually, at minimum, requires a VPS
 
Upvote 0

TILogistic

Expert
Licensed User
Longtime User
Your Linux account must have access to SHELL and with permissions to install a JAVA STANDALONE version and permissions to open ports on the firewall (the one you use on the JRDC server), minimum requirements for your JRDC server
 
Upvote 0

Stefano Di Chiano

Active Member
Licensed User
What Linux distribution do you suggest between those in the attached pic?
 

Attachments

  • linuxdistributions.jpeg
    linuxdistributions.jpeg
    20 KB · Views: 130
Upvote 0

OliverA

Expert
Licensed User
Longtime User
If you go Ubuntu, I would go with 18.04, since this is the LTS version and active support will be available until 2023. 18.04 supports systemd.
 
Upvote 0
Top