You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@codehaus.org> on 2014/03/22 15:07:59 UTC

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

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

Karl Heinz Marbaise moved MNGSITE-185 to MNG-5606:
--------------------------------------------------

    Complexity: Intermediate
    Issue Type: Wish  (was: Bug)
           Key: MNG-5606  (was: MNGSITE-185)
       Project: Maven 2 & 3  (was: Maven Project Web Site)

> maven should use JDK_HOME env var if present
> --------------------------------------------
>
>                 Key: MNG-5606
>                 URL: https://jira.codehaus.org/browse/MNG-5606
>             Project: Maven 2 & 3
>          Issue Type: Wish
>         Environment: windows 7
>            Reporter: Gunchin Alexey
>            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
(v6.1.6#6162)