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

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

    In case of windows if there is any space in path to jdk like ("C:\Program Files\jdk") then it doesn't work, but if we keep jdk in a location which doesn't have space then it works fine like ("C:\jdk")

提交回复
热议问题