[
https://issues.apache.org/jira/browse/MNG-5606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14952142#comment-14952142
]
Gunchin Aleksey commented on MNG-5606:
--------------------------------------
People tend to interpret that "defacto standard" as they want. Maven have
plugins, I have many other java soft on my workstation. Sometimes they require
different things JAVA_HOME to point to. Javafx for example is in jre and not in
jdk. Having two env vars allows to describe that precisely system-wide. Or else
one have to give every program its own launch bat/sh script.
> 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)