Automatically running a Java application at OS startup

后端 未结 2 2056
隐瞒了意图╮
隐瞒了意图╮ 2020-12-19 17:25

I need some way of starting my Java application without forcing the user to run the application manually. I\'m not entirely sure how I would do it, can anyone provide any as

2条回答
  •  醉话见心
    2020-12-19 17:45

    Run it as a Windows Service. It's the way to go.

    For various ways to run it as a service, check out the answers to the following questions:

    • Install java program as a windows service: Alternative to JavaService?
    • How to create a windows service from java app

    You can also read this article.

提交回复
热议问题