B4J Question How to create UI APPLICATION from the JRDC app.

OliverA

Expert
Licensed User
Longtime User
The problem is that i want to execute the jrdc2 as as service in a server
What does this have to do with UI/Non-UI? This (running jRDC2 as a service) is OS platform dependent. There are already some posts here on the forum on how to run Java applications as a service (Ubuntu and Windows come to mind).
 
Upvote 0

TILogistic

Expert
Licensed User
Longtime User
windows service:

1,. Test Java
C:\java -version
java version "1.8.0_251"
Java(TM) SE Runtime Environment (build 1.8.0_251-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.251-b08, mixed mode)

2.- download nssm win64 or win32

3- Create file install_win64.bat
cd c:\Path\MyApp\service
win64\nssm.exe install service_name (exa: UT2003)

4.-execute file .bat
install_win64.bat

See https://nssm.cc/usage
1590571404606.png


5.- Check Service Status
Services.msc
 
Last edited:
Upvote 0
Top