关于java中的tsr

发布于 2024-09-10 10:15:31 字数 21 浏览 0 评论 0 原文

JAVA是否支持TSR程序?

whether JAVA is support TSR programs?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

撧情箌佬 2024-09-17 10:15:31

“TSR”是什么意思?你的意思是“Terminate and Stay Resident”,这个术语来自二十年前的MS-DOS,意思是一个程序在后台保持运行?

适用于哪个操作系统?

在类 Unix 操作系统上,您可以在后台启动 Java 程序,其方式与在后台运行其他程序完全相同。您可以使用 nohup 使程序在关闭终端窗口时继续运行。

在 Windows 上,有一些工具可用于将 Java 程序作为 Windows 服务运行。看看 将 Java 作为 Windows 服务/Unix 守护进程启动的开源软件

What do you mean with "TSR"? Do you mean "Terminate and Stay Resident", a term from MS-DOS twenty years ago, which means a program that stays running in the background?

For which operating system?

On Unix-like operating systems, you can start a Java program in the background in exactly the same way as you'd run other programs in the background. You can use nohup to make the program continue to run when you close the terminal window.

On Windows, there are tools available to run your Java program as a Windows service. Have a look at Open Source Software to start up Java as Windows Service/Unix Daemon, for example.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文