How do I fix maven error The JAVA_HOME environment variable is not defined correctly?

后端 未结 19 1070
误落风尘
误落风尘 2021-02-01 01:33

Issue:

I am getting the Maven error \"The JAVA_HOME environment variable is not defined correctly\" when I run through Inno setup batch execution. Howe

19条回答
  •  温柔的废话
    2021-02-01 02:12

    I have removed JAVA_HOME variable and kept only path and classpath variables by pointing them to jdk and jre respectively. It worked for me.

提交回复
热议问题