Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5850

Launching profiler on windows doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.4
    • None
    • Win10 20H2 19042.1083

      Netbeans 12.4 (x64)

      AdoptOpenJDK 11.0.11+9 (x64)

      Bundled Maven (3.6.3)

    Description

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

       

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

       

      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.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            GabrieleSipal Gabriele Frau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: