[
https://issues.apache.org/jira/browse/MNG-7010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17385769#comment-17385769
]
Elliotte Rusty Harold commented on MNG-7010:
--------------------------------------------
Yes, that makes sense. Speciifcally:
1. Warn "The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program." when the JAVA_HOME
environment variable is not defined correctly.
2. Drop "NB" completely. It's very obscure.
3. If and only if the problem is that JAVA_HOME should points to a JRE instead
of a JDK, then also add, "JAVA_HOME should point to a JDK, not a JRE."
> omit "NB: JAVA_HOME should point to a JDK not a JRE" except when that is the
> problem.
> -------------------------------------------------------------------------------------
>
> Key: MNG-7010
> URL: https://issues.apache.org/jira/browse/MNG-7010
> Project: Maven
> Issue Type: Improvement
> Reporter: Elliotte Rusty Harold
> Priority: Minor
>
> Got this message a bunch today:
>
> $ mvn verify
> 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
>
> fair enough. My JAVA_HOME is broken, for reasons. However the problem is
> **not** that it points to a JDK instead of a JRE. Maven should omit "NB:
> JAVA_HOME should point to a JDK not a JRE" except when that is the problem.
> Also, I have no idea what NB means here. Nota bene perhaps?
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)