You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Gabriele Frau (Jira)" <ji...@apache.org> on 2021/07/14 07:02:00 UTC

[jira] [Created] (NETBEANS-5850) Launching profiler on windows doesn't work

Gabriele Frau created NETBEANS-5850:
---------------------------------------

             Summary: Launching profiler on windows doesn't work
                 Key: NETBEANS-5850
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5850
             Project: NetBeans
          Issue Type: Bug
          Components: profiler - Base, projects - Maven
    Affects Versions: 12.4
         Environment: Win10 20H2 19042.1083

Netbeans 12.4 (x64)

AdoptOpenJDK 11.0.11+9 (x64)

Bundled Maven (3.6.3)
            Reporter: Gabriele Frau


Launching NetBeans 12.4 and profiling a maven project creates the following command

 
{noformat}
cd <pathtoproject>; 
JAVA_HOME=C:\\jdk-11.0.11+9 
cmd /c "\"C:\\Netbeans\\java\\maven\\bin\\mvn.cmd\" -Dexec.vmArgs=<stuffwedontcareabout>"{noformat}
 

{{Obviously, CMD doesn't support defining shell variables, breaking the profiler. On top of this, I've had to move both netbeans and openjdk on the disk's root to avoid errors with dealing with spaces in the cmd.}}

{{I have yet to find a way to switch default terminal to bash.}}

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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