Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Java by (7k points)

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?

1 Answer

0 votes
by (13.1k points)

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.

Browse Categories

...