You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2022/10/20 08:11:02 UTC

[jira] [Updated] (MNG-7010) Omit "NB: JAVA_HOME should point to a JDK not a JRE" except when that is the problem

     [ https://issues.apache.org/jira/browse/MNG-7010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet updated MNG-7010:
---------------------------------
    Fix Version/s: 4.0.0-alpha-2

> 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
>            Assignee: Michael Osipov
>            Priority: Minor
>             Fix For: 3.8.2, 4.0.0-alpha-1, 4.0.0-alpha-2, 4.0.0
>
>
> 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.20.10#820010)