Artifact home page
http://sourceforge.net/projects/yajsw/
This thing can automatically wrap Java programs into windows services
Solve the boot problem of some Java programs that should be run after power recovery. Windows services similar to Tomcat can be booted automatically~
It’s easy to use
Run genconfig PID in bat directory
—–PID is the PID of the Java virtual machine process opened by the program, not the PID of the program you are running!!! (I’ve been inking this for a long time.)
It will automatically generate configuration files in the conf directory wrapper.conf
When you open a text document, you can see the parameters and configuration that are automatically read. The service name and service description of windows are also in it. Read the document for details~
Finally, run in bat installService.bat The Java program can be automatically registered as windows service~
The default is manual. Don’t forget to start it automatically~~
The log folder records the log of the program~~~
Similar Posts:
- [Two Solutions] The network list service on the local computer starts and stops. Some services are not enabled by other services or programs
- Python Open File SyntaxError: (unicode error) ‘unicodeescape’ codec can’t decode bytes in …
- JDK 3 Error: has value ‘1.8’, but ‘1.7’ is required [How to Solve]
- Mysql5.7 service startup error on Windows
- tomcat PermGen space
- Error reported in vscode after installing Git
- SharePoint 2013 Step by Step: How to Upload Multiple Documents in Document Library
- Awvas Startup Error: unable to access this website [How to Solve]
- Failed to restart network.service: Unit network.service not found
- Plugin is too old, please update to a more recent