Back
I am trying to set up a maven for my project and I am getting this error
“JAVA_HOME should point to a JDK, not a JRE”
I am using IntelliJ IDEA. How can I point JAVA_HOME to JDK in windows?
Control panel-> System and Security-> System-> Advanced system settings-> Advanced-> Environment Variables-> New System Variable
Want to learn Java? Check out the Java certification from Intellipaat.
31k questions
32.8k answers
501 comments
693 users