Java with maven wouldn’t build: Cannot run program “cmd” “Malformed argument has embedded quote”
Although this problem can be fixed by installing jdk1.8.0_221, but actually you don’t need to downgrade your JDK. Just try these: First exit netbeans IDE if it’s open, then open netbeans configuration file from here: netbeans-Install-Dir/etc/netbeans.conf (Note: for me netbeans-Install-Dir is C:\Program Files\NetBeans 8.2\etc) Add the below arguments -J-Djdk.lang.Process.allowAmbiguousCommands=true to the beginning of the string … Read more