echo %JAVA_HOME%C:Program FilesJavajdk1.8.0_91; Error (Command line) C:Users...">
Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Cyber Security
  3. Question
Cyber Security

What should I do if I receive this message - Maven Installation Error JAVA_HOME not defined correctly?

Asked by Aashish Chaursiya Apr 21, 2022 1.1K views 1 answer
Share

About this question

Operating System Windows 10 java version "1.8.0_161" - jre

C:Usersadmin>echo %JAVA_HOME%

C:Program FilesJavajdk1.8.0_91; Error (Command line) C:Usersadmin>mvn -version The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program NB: JAVA_HOME should point to a JDK not a JRE

Your answer

1 Answer

More Cyber Security discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Cyber Security Blogs

Guides, tips and career advice on Cyber Security from JanBask experts.