When i test maven using the command mvn -version; I get the error that ... | Selenium Forum
D
Dewaker Posted on 03/04/2020

I get the error that JAVA_HOME ENVIORENMENT variable is not configured properly. This enviorenment variable is needed to run the program JAVA_HOME should point to a jdk and not jre 

 

PATH:

;C:\Users\Dewaker\AppData\Local\Programs\Microsoft VS Code\bin;C:\jdk-10.0.2\bin;C:\java\apache-maven-3.6.3-bin\apache-maven-3.6.3\bin;

Maven_home:

C:\java\apache-maven-3.6.3-bin\apache-maven-3.6.3\bin;

Java_home:

C:\jdk-10.0.2\;


A
Ashish Thakur Replied on 03/04/2020

Create an env variable JAVA_HOME 

1) Make it point to location of jdk

2) In path add the bin folder of the JDK


Related Posts