Maven is juist checking that your JAVA_HOME is correctly set. It definitly
needs to know where JAVA is installed.

IMHO, there is no such thing as a "standard" location for Java....

Denis.


Weiqi Gao wrote:
> 
> On 8/7/06, Vincent Siveton <[EMAIL PROTECTED]> wrote:
>> JAVA_HOME is a requirement
>> http://maven.apache.org/download.html#installation
> 
> That piece of documentation seems to be wrong.  By reading the script,
> I certainly get the impression that the script is furiously trying to
> figure out where my JAVA_HOME is when the JAVA_HOME environment is not
> set.
> 
> Right after the block of script I cited, there is another check for
> JAVA_HOME and it gives a warning if JAVA_HOME is not set.
> 
> If Maven is going to require the setting of JAVA_HOME anyway, all that
> extra script are pointless.
> 
> Of course I'm advocating that Maven not requiring me to set JAVA_HOME
> if I have installed my JDK in the "standard" location (such as
> C:\Program Files\Java\jdk1.5.0_12.).
> 
> -- 
> Weiqi Gao (高为奇)
> [EMAIL PROTECTED]
> http://www.weiqigao.com/blog/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/The-mvn-script-errors-out-when-JAVA_HOME-is-not-defined-tf2063191.html#a5685379
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to