Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6456

Log $JAVA_HOME when there is an issue with it

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5.4
    • Fix Version/s: 3.7.x-candidate
    • Component/s: Command Line
    • Labels:
      None

      Description

      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:
       

      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

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jlammetje Johanneke Lamberink
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: