We had this discussion recently:
http://www.experts-exchang
The answer is "you can't" as the classloader has cached the class, so it is in use, so it can't be deleted...
The long answer is you should be able to write a script to run your application, and have the script close the app once it is closed...
Tim
Main Topics
Browse All Topics





by: zzynxPosted on 2005-04-05 at 06:57:35ID: 13707151
Are you a graduated virus writer ;°)
You could try with File.deleteOnExit()