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
create folder Maven inside this folder extract download file
this file should C:\Program Files\YourFolderName must in C:\Program Files drive
goto This PC -> right click -> properties -> advanced system -> environment variable
user variable ----> new & ** note create two variable ** if not may be give error i) variable name = MAVEN variable value = C:\Program Files\MAVEN
ii) variable name = MAVEN_HOME variable value = C:\Program Files\MAVEN\apache-maven-3.6.3\apache-maven-3.6.3
system variable
path ---> Edit---> new----give path of this folder
i) C:\Program Files\MAVEN
ii) C:\Program Files\MAVEN\apache-maven-3.6.3\bin
Hurrraaaaayyyyy