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

后端 未结 19 1126
误落风尘
误落风尘 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:15

    I was able to solve this problem with these steps:

    1. Uninstall JDK java
    2. Reinstall java, download JDK installer
    3. Add/Update the JAVA_HOME variable to JDK install folder

提交回复
热议问题