在OS启动时自动运行Java应用程序 [英] Automatically running a Java application at OS startup
本文介绍了在OS启动时自动运行Java应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要一些启动Java应用程序的方法,而不必强迫用户手动运行应用程序。我不完全确定我会怎么做,任何人都可以提供任何帮助吗?
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 assistance?
推荐答案
将其作为一个Windows服务。这是要走的路。
有关将其作为服务运行的各种方法,请查看以下问题的答案:
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.
这篇关于在OS启动时自动运行Java应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文