开发者

Unleash Process in Eclipse

开发者 https://www.devze.com 2022-12-10 11:42 出处:网络
Is is possible to \'unleash\', or whatever, a process in Eclipse that you\'ve been debugging, or simply started with \'run\'? Would be nice. After such an \'unleash-ment\', the unleashed process shoul

Is is possible to 'unleash', or whatever, a process in Eclipse that you've been debugging, or simply started with 'run'? Would be nice. After such an 'unleash-ment', the unleashed process should not die when Eclipse is shut down, and should be removed from the debug view, to avoid accidentally killing it. Essentially, become a regular application process.开发者_开发问答 thanks, -j


There is no such command/option in Eclipse and it might not even possible depending on the OS. If you want a Java process to survive the end of Eclipse, you must start it outside.

It's sad that, after more than a decade, creating standalone processes in Java is still so painful. There is the -jar option but there is no way to have more than a single main() method this way, few people know how to build a working classpath when starting your app this way.

0

精彩评论

暂无评论...
验证码 换一张
取 消