what happen if I delete the xx.jar file after I started to execute the xx.jar
Posted
by ogzylz
on Stack Overflow
See other posts from Stack Overflow
or by ogzylz
Published on 2010-04-23T07:47:27Z
Indexed on
2010/04/23
7:53 UTC
Read the original article
Hit count: 169
I have a server program running a java binary code (xx.jar file) While it is running I erranously delete the xx.jar file. The program continues to run. But I am not sure if the results will be correct, and I am not sure if the program will fail?
When I delete the xx.jar file, the program was in a method for a long time and still it is in that method call. When it calls another method call will my program fail?
I am asking this question because If deleting the file has no harm I will be gaining about 3-4h on a server machine
© Stack Overflow or respective owner