简体   繁体   中英

Why did a Java program keeps running even if I delete the executable .jar?

I would like to know why this happens and wether this will always continues to happen when I delete a .jar file. This behavior would speed my updates to new .jars. I will be able to replace the .jar with a new one and restart the application right away.

I am always using linux to deploy my applications.

Linux does not completely delete the file as long as it is still used by a process. It will only disappear completely when the last user terminates or closes the file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM