[ 
https://issues.apache.org/jira/browse/NETBEANS-245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16415933#comment-16415933
 ] 

Gili commented on NETBEANS-245:
-------------------------------

Sorry, no. I'm wrong. Placing Netbeans in a folder with no space *does* fix 
this problem. I thought you were talking about the Maven directory (and this 
makes no difference).

> Profiler fails to launch when using Maven 3.5.x
> -----------------------------------------------
>
>                 Key: NETBEANS-245
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-245
>             Project: NetBeans
>          Issue Type: Bug
>          Components: apisupport - Maven
>         Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-159-on-20180102)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>            Reporter: Gili
>            Priority: Major
>
> This issue was originally reported as 
> https://netbeans.org/bugzilla/show_bug.cgi?id=271059
> Essentially the Java profiler works fine for Maven projects if you use Maven 
> 3.3.9 but fails as soon as you use version 3.5.0 and up. This is because 
> mvn.cmd was substantially modified in that version.
> Running under Maven 3.5.2 I get the following error:
> {code}
> *** Profiler message (Tue Jan 02 23:15:41 EST 2018): Starting target 
> application...
> C:\Program Files\Java\jdk-9.0.1\bin\java.exe -agentpath:C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll
>  -Xbootclasspath/a:C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server.jar;C:\Program 
> Files\netbeans-159\profiler\lib\jfluid-server-15.jar 
> org.netbeans.lib.profiler.server.ProfilerServer C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64 5141 10 
> ____Profiler+Calibration+Run____
> cd C:\Users\Gili\Documents\pyramid\server; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk1.8.0_141" "M2_HOME=C:\\Program Files\\apache-maven-3.5.2" 
> cmd /c "\"\"C:\\Program Files\\apache-maven-3.5.2\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/Program 
> Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
>  Files\\netbeans-159\\profiler\\lib\\\",5140,10 
> -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Gili\\AppData\\Local\\NetBeans\\Cache\\dev\\mavencachedirs\\354137174\\org-netbeans-modules-profiler
>   -ea -classpath %classpath com.holdmyspot.pyramid.server.Main\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk1.8.0_141\\bin\\java.exe\" 
> -Dexec.workingdir=C:\\Users\\Gili\\Documents\\Pyramid\\server\\target 
> -Dmaven.ext.class.path=\"C:\\Program 
> Files\\netbeans-159\\java\\maven-nblib\\netbeans-eventspy.jar\" 
> -Dfile.encoding=UTF-8 process-classes 
> org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
> The syntax of the command is incorrect.
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to