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.
With a Maven based NetBeans Platform application developed on Mac OS X and running the IDE with OpenJDK 7u4, profiling doesn't work: [nbm:run-platform] Executing: /bin/sh -c /Users/fritz/Business/Tidalwave/Projects/WorkAreas/SolidBlue/solidblue-src/modules/Application/target/solidblue/bin/solidblue --userdir /Users/fritz/Business/Tidalwave/Projects/WorkAreas/SolidBlue/solidblue-src/modules/Application/target/userdir -J-Dnetbeans.logger.console=true -J-ea --branding solidblue --jdkhome /Library/Java/JavaVirtualMachines/1.7.0u4.jdk/Contents/Home -J-XX:+HeapDumpOnOutOfMemoryError -J-XX:HeapDumpPath=/Users/fritz/.netbeans/7.1.2/var/cache/mavencachedirs/859487781/org-netbeans-modules-profiler '-J-agentpath:/Applications/NetBeans/NetBeans -J7.1.2.app/Contents/Resources/NetBeans/profiler/lib/deployed/jdk16/mac/libprofilerinterface.jnilib=/Applications/NetBeans/NetBeans -J7.1.2.app/Contents/Resources/NetBeans/profiler/lib,5140,10' --jdkhome /Library/Java/JavaVirtualMachines/1.7.0u4.jdk/Contents/Home Error occurred during initialization of VM Could not find agent library /Applications/NetBeans/NetBeans -J7.1.2.app/Contents/Resources/NetBeans/profiler/lib/deployed/jdk16/mac/libprofilerinterface.jnilib in absolute path, with error: dlopen(/Applications/NetBeans/NetBeans -J7.1.2.app/Contents/Resources/NetBeans/profiler/lib/deployed/jdk16/mac/libprofilerinterface.jnilib, 1): image not found Note that -J-agentpath: option which is malformed (-J repeated every time there's a space in the NetBeans IDE path).
The same happens with Oracle JDK 7u4: [nbm:run-platform] Executing: /bin/sh -c /Users/fritz/Business/Tidalwave/Projects/WorkAreas/SolidBlue/solidblue-src/modules/Application/target/solidblue/bin/solidblue --userdir /Users/fritz/Business/Tidalwave/Projects/WorkAreas/SolidBlue/solidblue-src/modules/Application/target/userdir -J-Dnetbeans.logger.console=true -J-ea --branding solidblue --jdkhome /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home -J-XX:+HeapDumpOnOutOfMemoryError -J-XX:HeapDumpPath=/Users/fritz/.netbeans/7.1.2/var/cache/mavencachedirs/859487781/org-netbeans-modules-profiler '-J-agentpath:/Applications/NetBeans/NetBeans -J7.1.2.app/Contents/Resources/NetBeans/profiler/lib/deployed/jdk16/mac/libprofilerinterface.jnilib=/Applications/NetBeans/NetBeans -J7.1.2.app/Contents/Resources/NetBeans/profiler/lib,5140,10' --jdkhome /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home Error occurred during initialization of VM Could not find agent library /Applications/NetBeans/NetBeans -J7.1.2.app/Contents/Resources/NetBeans/profiler/lib/deployed/jdk16/mac/libprofilerinterface.jnilib in absolute path, with error: dlopen(/Applications/NetBeans/NetBeans -J7.1.2.app/Contents/Resources/NetBeans/profiler/lib/deployed/jdk16/mac/libprofilerinterface.jnilib, 1): image not foun
It is probably a dupe of #201132. No relation to JDK7u4 AFAIK. It is fixed for NB 7.2. *** This bug has been marked as a duplicate of bug 201132 ***