Reputation: 97
ERROR: Cannot run program "C:\Program Files\Java\jdk1.8.0_202\bin\java.exe" (in directory "C:\Users\USERNAME\AppData\Local\JetBrains\IntelliJIdea2020.3\compile-server"): Malformed argument has embedded quote: -Djava.endorsed.dirs=
I keep getting this error everytime I Redeploy my Spring Boot project via weblogic server in IntelliJ IDE. The first time I deploy, everything works just fine. But when I Redeploy the project in order to effect new changes, this error comes up.
My Tools:
What I have Tried:
Upvotes: 1
Views: 14319
Reputation: 49
For those that need help finding the VM options in the IDE. I'm using IntelliJ IDEA 2021.1 by the way.
On the IDE Toolbar at the top -> click HELP -> Edit Custom VM Options...
Then add this VM option at the bottom (uncluding the hyphen '-' symbol):
-Djdk.lang.Process.allowAmbiguousCommands=true
Upvotes: 0
Reputation: 46
I also encountered the same problem. The reason is that I installed the FindBugs plugin. You can try to add the following line of parameters to the idea64.exe.vmoptions.
-Djdk.lang.Process.allowAmbiguousCommands=true
Upvotes: 3