Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ Idea 2020 Malformed argument has embedded quote: -Djava.endorsed.dirs=\"\"

I just newly installed IntelliJ IDEA 2020.1, and when I run or build my project, I get this error:

Error:Cannot run program "D:\Java\jdk1.8.0_231\bin\java.exe" (in directory "C:\Users\wukoubo\AppData\Local\JetBrains\IntelliJIdea2020.1\compile-server"): Malformed argument has embedded quote: -Djava.endorsed.dirs=\"\"

If I restart Idea, the error disappeared, but after a while, or after several times of building, this error appear again.

like image 540
Cooper Aaron Avatar asked Dec 01 '25 03:12

Cooper Aaron


1 Answers

In idea64 exe.vmoptions On the last line, add the code

-Djdk.lang.Process.allowAmbiguousCommands=true
like image 89
Steven Avatar answered Dec 08 '25 17:12

Steven



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!