This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
java version "1.5.0_04" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05) Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing) Netbeans Profiler 4.1 Milestone 7 After running a profiled application that terminates with System.exit (scoped performance analysis), JAR files on the classpath appear to be still opened by the IDE, preventing them from being deleted due to sharing violations. No running processes are listed in the Runtime tab and Process Explorer (a tool from www.sysinternals.com) shows only one Java.exe process running with tha JAR files open. This bug prevents the user from performing a 'clean'/'clean and build' on the project (and any projects that also have JARs in the application's classpath). So far the only way to fix this that I have found is to terminate and restart the IDE.
This is indeed the case for all JAR files on the classpath, regardless of the application behavior (i.e. does not have to exit via System.exit). Fixed in M10, thanks for reporting this!
Verification of old issues.
Closing old issues
Reverting to original Target Milestone value changed by mistake. Sorry for inconvenience.