Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (9.5k points)

Below is the error I get when I’m trying to set up maven: 

"JAVA_HOME should point to a JDK not a JRE"

Can anyone tell me how to point JAVA_HOME to JDK in windows using IntelliJ IDEA? 

1 Answer

0 votes
by (19.7k points)

Follow the below steps:

Control Panel -> System and Security -> System -> Advanced system settings -> Advanced -> Environment Variables -> New System Variable

image

Interested in Java? Check out this Java tutorial by Intellipaat.  

Browse Categories

...