Error: Malformed argument has embedded quote
Answered
In IntelliJ IDEA 2020.3 after a while I get the following error message when compiling:
Cannot run program "C:\PGM\D\Programs\Java_1.8.0_241\bin\java.exe" (in directory "C:\PGM\D\.IntelliJIdea\system\compile-server"): Malformed argument has embedded quote: -Djava.endorsed.dirs=\"\"
By company policy I'm stick to using the companies JDK.
I already tried the flag -Djdk.lang.Process.allowAmbigousCommands=true (and it's cousin -Djdk.lang.Process.allowAmbiguousCommands=true) but they result in a unknown flag error.
Any ideas?
Please sign in to leave a comment.
Hello Ronald,
See if this suggestion helps.
If it doesn't, please provide the whole idea.log file (Help | Show Log in Explorer) after restarting the IDE and reproducing the problem. You can upload it privately to https://uploads.jetbrains.com/ and provide the upload id.
Hello,
I already tries that, but it didn't solve the problem. I add the log file. Just for info: I use WebLogic with an EAR and jRebel plugin.
Upload id: 2020_12_15_Eqx9NtB5Xh6jDapV (file: idea.log)
Thank you Ronald.
I created a new bug report for this: IDEA-257962. The developers will look into it shortly and advise.
Feel free to follow it for updates.