You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sylwester Lachiewicz (JIRA)" <ji...@apache.org> on 2019/01/13 23:46:00 UTC

[jira] [Updated] (MNG-5606) maven should use JDK_HOME env var if present

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

Sylwester Lachiewicz updated MNG-5606:
--------------------------------------
    Labels:   (was: close-pending)

> maven should use JDK_HOME env var if present
> --------------------------------------------
>
>                 Key: MNG-5606
>                 URL: https://issues.apache.org/jira/browse/MNG-5606
>             Project: Maven
>          Issue Type: Wish
>         Environment: windows 7
>            Reporter: guai
>            Priority: Trivial
>
> 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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)