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.
I tested this on Netbeans 8.0 and 8.0.1 , Windows XP 32. It's the same bug as the old bug #161670 : https://netbeans.org/bugzilla/show_bug.cgi?id=161670 Steps: Create new project, Maven , Java Application, using the wizard. Create Java main class using the wizard. Any main class will do. Use "Profile Project" action. Sample from the output: Collected project artifacts [] Collected project classpath [C:\programming\projects\BugTest\target\classes] Toolchains are ignored, 'executable' parameter is set to C:\Program Files\Java\jdk1.7.0_45\bin\java.exe Executing command line: C:\Program Files\Java\jdk1.7.0_45\bin\java.exe -agentpath:C:/Program Files/NetBeans 8.0/profiler/lib/deployed/jdk16/windows/profilerinterface.dll=C:\Program Files\NetBeans 8.0\profiler\lib,5140,10 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=C:\Documents and Settings\Alex\Local Settings\Application Data\NetBeans\Cache\8.0\mavencachedirs\631111071\org-netbeans-modules-profiler -classpath C:\programming\projects\BugTest\target\classes info.fmro.bugtest.TestMainClass Error occurred during initialization of VM Could not find agent library C:/Program Files/NetBeans 8.0/profiler/lib/deployed/jdk16/windows/profilerinterface.dll in absolute path, with error: The specified procedure could not be found ------------------------------------------------------------------------ BUILD FAILURE ------------------------------------------------------------------------ Total time: 1.047s Finished at: Wed Sep 17 12:15:06 UTC 2014 Final Memory: 4M/15M ------------------------------------------------------------------------ Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project BugTest: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project BugTest: Command execution failed.
The testing on Netbeans 8.0 was done shortly before 8.0.1 came out. Right now my Netbeans is updated as 8.0.1. Attaching the profiler to an already running project doesn't work either.
I should add that profilerinterface.dll is in the correct location. This might be the same "spaces present in the path name" error as in the old bug #161670 .
I don't think that this is caused by bug #161670. Windows XP is unsupported by NetBeans 8.0 and NetBeans 8.0.1. You are probably facing issue #246556.
*** This bug has been marked as a duplicate of bug 246556 ***