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

maven should use JDK_HOME env var if present

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Trivial
    • Resolution: Auto Closed
    • None
    • None
    • None
    • None
    • windows 7

    Description

      JAVA_HOME is for jre, but maven searches for javac there.
      One can add
      @if not "%JDK_HOME%" == "" set JAVA_HOME="%JDK_HOME%"
      to mvn.bat
      and the analogue string to .sh script

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              guai guai
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: