maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gunchin Alexey (JIRA)" <>
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
             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:

View raw message