[Maven] The JAVA_HOME environment variable is not defined... Configuration error log

.
.
.

Because it is the first time to configure Maven, there have been many mistakes, so I will list one or two.

When the Java_Home environment variable cannot be found, as shown in the figure.
Write picture description here

At this time, it may be that your Java_Home path is configured incorrectly. In the Java_Home path, delete \bin and follow the path with \bin.

Such as %java_home%\bin, instead of writing directly in java_home.

Guess you like

Origin blog.csdn.net/a_Chaon/article/details/82384373