Simple and flexible method to run java as a windows service

后端 未结 2 1850
长发绾君心
长发绾君心 2021-02-06 06:24

I read SO q&a about launch java as windows service wrappers, but can\'t find/choose product, suitable for my requirements :

  1. Wrapper reads all java launch pa

2条回答
  •  不要未来只要你来
    2021-02-06 06:58

    I'm not sure if JWrapper will fulfil all the requirements like 1 and 2 in the way that you want it since rather than you dictating how it does the launch and where it puts things etc JWrapper instead handles that stuff in its own way but it does produce executables for win/mac/linux and more importantly it does support windows service installation as well as macos and linux daemon installation:

    http://www.jwrapper.com/guide-installing-a-service.html

    The service support though is for paid licenses, the free version doesn't currently support it.

    Disclosure: I work for JWrapper

提交回复
热议问题