Spawn a process in Java that survives a JVM shutdown

后端 未结 7 1769
滥情空心
滥情空心 2020-12-10 03:40

I need to spawn a process in Java (under Linux exclusively) that will continue to run after the JVM has exited. How can I do this?

Basically the Java app should sp

相关标签:
7条回答
  • 2020-12-10 04:08

    If you're looking at making an updater on Linux, you're probably barking up the wrong tree. I believe all major linux distros have a package manager built in. You should use the package manager to do your updating. Nothing frustrates me more than programs that try to self-update... (I'm looking at you, Eclipse)

    0 讨论(0)
提交回复
热议问题