matthiasblaesing commented on code in PR #8361: URL: https://github.com/apache/netbeans/pull/8361#discussion_r2016837721
########## platform/o.n.bootstrap/launcher/unix/nbexec: ########## @@ -192,7 +192,13 @@ fi # rename old heap dump to .old mv "${userdir}/var/log/heapdump.hprof" "${userdir}/var/log/heapdump.hprof.old" > /dev/null 2>&1 -jargs_without_clusters="$jargs" +if [ -e "${plathome}/agent/org-netbeans-agent.jar" ] +then + jargs_without_clusters="$jargs -javaagent:${plathome}/agent/org-netbeans-agent.jar"; Review Comment: Testing showed, that space in path is a problem on Linux, but not on windows. So only fixed there. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists