Starting a Java application at startup

前端 未结 3 1079
别跟我提以往
别跟我提以往 2020-12-18 16:03

I have a Java application.

The application has a setting that decides whether or not the application starts at startup.

Currently, I have it this by placing

3条回答
  •  长情又很酷
    2020-12-18 16:57

    On Windows I have used open source Java Service Wrapper to make our application as window service which you can setup automatic at startup.

    What you need to do is to download latest wrapper.exe and create wrapper.config file put all the configuration like Main class any VM arument other parameters in defined standards and create a window service by this exe

提交回复
热议问题