You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gunchin Alexey (JIRA)" <ji...@codehaus.org> on 2013/07/02 10:49:05 UTC
[jira] (MNGSITE-185) maven should use JDK_HOME env var if present
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