Try running the 'ant' script set -x so you can see what things like
$JAVA_HOME and $JAVACMD are actually being set to.

Diane

--- Sanjeev Bagaria <[EMAIL PROTECTED]> wrote:
> Hi folks,
> 
> I have Java 1.2 installed in /usr/java1.2
> 
> I set the JAVA_HOME environment variable and run ANT,
> but I get the following message on solaris.
> 
> "java was not found in
> /usr/java1.2/bin/sparc/native_threads/java "
> 
> I would expect ant to invoke the java executable in
> the /usr/java1.2/bin directory.
> 
> What am I missing here ?
> 
> Thanks in advance for your help.
> 
> Regards
> 
> Sanjeev
> 
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail. 
> http://personal.mail.yahoo.com/


=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Reply via email to