ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ludwig <mil...@gmx.de>
Subject Re: Java in JDK but ANT can't find it!
Date Sat, 16 May 2009 19:03:58 GMT
David Nemer schrieb am 16.05.2009 um 20:51:31 (+0200):

> nemer@kubrick:~$ java -jar /home/nemer/apache-ant-1.7.1/lib/ant-launcher.jar
> -version
> Apache Ant version 1.7.1 compiled on June 27 2008
> 
> nemer@kubrick:~$ /opt/jdk1.6.0_06/bin/java -jar
> /home/nemer/apache-ant-1.7.1/lib/ant-launcher.jar -version
> Apache Ant version 1.7.1 compiled on June 27 2008
> 
> so just running JAVA worked as well as running /opt/jdk1.6.0_06/bin/java

So tools.jar is found alright. It's an environmental problem, either in
the ant shell script (has that been tampered with?) or, more likely, the
shell script you're using to launch it.

Michael Ludwig

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message