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:
- IntelliJ IDEA 2020.3 (Ultimate Edition)
- WebLogic Server Version: 12.2.1.3.0
- Windows 10
- Java (JDK) version "1.8.0_202"
- Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
What I have Tried:
- I only have one installed JDK and JRE version: 1.8.0_202 installed on my PC
- Deleted javaws.exe, javaw.exe & java.exe fields from my Sys32 Folder (A Googled Solution)
- Able to view my Java version on cmd when I run: java -version
- Path to my jdk is correct: C:\Program Files\Java\jdk1.8.0_202\bin\java.exe
- IntelliJ is correctly pointing to my JDK folder JDK Linked to My IntelliJ IDE
- My Weblogic configurations look just fine: My Weblogic configurations