maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-5606) maven should use JDK_HOME env var if present
Date Sun, 11 Oct 2015 09:26:05 GMT

    [ https://issues.apache.org/jira/browse/MNG-5606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14952232#comment-14952232
] 

Michael Osipov commented on MNG-5606:
-------------------------------------

Just a note, Maven does only require a JDK when you intend to compile or use any of the tools
provided in the JDK only.

> 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: Gunchin Aleksey
>            Priority: Trivial
>              Labels: close-pending
>
> 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.3.4#6332)

Mime
View raw message