maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <>
Subject [jira] [Commented] (MNG-6456) Log $JAVA_HOME when there is an issue with it
Date Sun, 17 Feb 2019 22:48:00 GMT


Michael Osipov commented on MNG-6456:

It doesn't seem to to be that important if no one provided a reasonable patch...

> Log $JAVA_HOME when there is an issue with it
> ---------------------------------------------
>                 Key: MNG-6456
>                 URL:
>             Project: Maven
>          Issue Type: Improvement
>          Components: Command Line
>    Affects Versions: 3.5.4
>            Reporter: Johanneke Lamberink
>            Assignee: Sylwester Lachiewicz
>            Priority: Minor
>             Fix For: 3.6.x-candidate
> I've just spend more time than was necessary on debugging a problem where Maven complained
about a missing $JAVA_HOME, because there was no logging of which $JAVA_HOME was used.
> It would be really helpful to be able to see the $JAVA_HOME being used by Maven, in addition
to the current logging:
> {noformat}
> 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{noformat}

This message was sent by Atlassian JIRA

View raw message