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.
When trying to profile a JavaSE (Swing) application I get the following error during startup: ant -f C:\\Projects\\sqlworkbench\\nbproject "-Drun.jvmargs.ide= -agentpath:C:/etc/NetBeans80/profiler/lib/deployed/jdk16/windows/profilerinterface.dll=C:\\etc\\NetBeans80\\profiler\\lib,5140,10 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=C:\\Projects\\sqlworkbench\\nbproject\\nbproject\\private\\profiler " -Drun.class=workbench.WbManager -Dnb.internal.action.name=profile profile init: profile-init: deps-jar: compile: profile: init: deps-jar: compile: run: Error occurred during initialization of VM Could not find agent library C:/etc/NetBeans80/profiler/lib/deployed/jdk16/windows/profilerinterface.dll in absolute path, with error: The specified file could not be found Java Result: 1 BUILD SUCCESSFUL (total time: 29 seconds) Needless to say that the file mentioned in the error message *is* there. The profiler works with exactly the same JDK and project in NetBeans 7.4 without a problem.
When I try this on a Windows 7 computer as local administrator the profiler works (same JDK, same NetBeans version, same project). I don't think it's the difference between Windows XP and Windows 7 but being Administrator.
Profiling is not supported on Windows XP any more starting from NetBeans 8.0. *** This bug has been marked as a duplicate of bug 243540 ***