maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gunchin Alexey (JIRA)" <j...@codehaus.org>
Subject [jira] (MNGSITE-185) maven should use JDK_HOME env var if present
Date Tue, 02 Jul 2013 08:49:05 GMT
Gunchin Alexey created MNGSITE-185:
--------------------------------------

             Summary: maven should use JDK_HOME env var if present
                 Key: MNGSITE-185
                 URL: https://jira.codehaus.org/browse/MNGSITE-185
             Project: Maven Project Web Site
          Issue Type: Bug
         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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message