The java and javac executables are using the PATH environment variable, while intelliJ is using JAVA_HOME variable. Remove the additional quotation marks in your JAVA_HOME value.

It might shows that your path to the jdk installation directory is hard coded in the PATH, rather then using %JAVA_HOME%.

Leave a Reply

Your email address will not be published. Required fields are marked *