[
https://issues.apache.org/jira/browse/NETBEANS-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16954986#comment-16954986
]
Ludovic HOCHET commented on NETBEANS-3251:
------------------------------------------
Just to confirm, this is what I saw on Windows 10, with a NetBeans built from
master earlier today, as well as the 11.2-beta3 prebuilt binaries, with both
the built in Maven version and the current 3.6.2 with JDK 13.0.1 from
[http://jdk.java.net/13/]
I [tweeted |https://twitter.com/lhochet/status/1185180290169393154]about it,
and it was pointed to me that it was related to JDK-8221858.
The change was applied to JDK 13 (as well as for 11 and 8) as can be seen in
the Mercurial change log(s) for the JDK.
Using {{-J-Djdk.lang.Process.allowAmbiguousCommands=true}} allows to do Maven
builds as usual.
> Netbeans 11.1 on JDK 11.0.5
> ---------------------------
>
> Key: NETBEANS-3251
> URL: https://issues.apache.org/jira/browse/NETBEANS-3251
> Project: NetBeans
> Issue Type: Bug
> Affects Versions: 11.1
> Environment: Windows 10
> Reporter: Alexander Mitchell
> Priority: Blocker
>
> A fresh installation of Netbeans 11.1 and JDK 11.0.5 on Windows 10. Creating
> a maven project and attempting to run gives error:
>
> Execution:
> cd C:\Users\Alexander.Mitchell\Workspace\patterns; "JAVA_HOME=C:\\Program
> Files\\Java\\jdk-11.0.5" cmd /c "\"\"C:\\Program
> Files\\NetBeans\\NetBeans-11.1\\netbeans\\java\\maven\\bin\\mvn.cmd\"
> -Dmaven.ext.class.path=\"C:\\Program
> Files\\NetBeans\\NetBeans-11.1\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\"
> -Dfile.encoding=UTF-8 clean install\""
>
> Error:
> Cannot run program "cmd" (in directory
> "C:\Users\Alexander.Mitchell\Workspace\patterns"): Malformed argument has
> embedded quote: "C:\Program
> Files\NetBeans\NetBeans-11.1\netbeans\java\maven\bin\mvn.cmd"
> -Dmaven.ext.class.path="C:\Program
> Files\NetBeans\NetBeans-11.1\netbeans\java\maven-nblib\netbeans-eventspy.jar"
> -Dfile.encoding=UTF-8 clean install
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists