Re: Problems while Installing Ant in fedora 9

2010-03-20 Thread Scot P. Floess
D'oh - you said install ;) I have never installed ant in this fashion (meaning runant.pl). Have you considered just using the tar.bz2 download (or is it tar.gz) - heck or even the zip file? All you have to do is stand in the directory where you want to install...and unzip or untar/gunzip/bu

Re: Problems while Installing Ant in fedora 9

2010-03-19 Thread Ankuj Gupta
Hi!! Even after changing the path to export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH I am getting the following error when I try to install ant using runant.pl But I received following error. java -classpath /usr/local/ant/lib/ant-launcher.jar -Dant.home=/usr/local/ant org.apache.tools.ant.laun

Re: Problems while Installing Ant in fedora 9

2010-03-19 Thread Scot P. Floess
I note from your PATH - you aren't adding $JAVA_HOME/bin to it... For example, export ANT_HOME=/usr/local/ant export JAVA_HOME=/usr/java/jdk1.6.0_18 export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH Note: the PATH statement includes both $JAVA_HOME/bin -and- $ANT_HOME/bin Might that be your prob

Problems while Installing Ant in fedora 9

2010-03-19 Thread Ankuj Gupta
Hi!!! I was trying to install Ant in Fedora 9 . I had set the following environment variables export ANT_HOME=/usr/local/ant # export JAVA_HOME=/usr/java/jdk1.6.0_18/ # export PATH=${PATH}:${ANT_HOME}/bin # runant.pl But I received following error. java -classpath /usr/local/ant/lib/ant-launcher.