apache ant impossible de trouver ou charger la classe principale de org.apache.outils.ant.de lancement.Lanceur

Je suis en train de compiler un outil qui utilise apache ant sur linux

https://github.com/lindenb/jvarkit

Quand j'ai essayé de compiler l'outil , j'obtiens erreur n.

$ make vcffilterjs

c'est ce que j'obtiens quand j'exécute la commande

echo "Compiling htsjdk with ${JAVA_HOME} = /usr/lib/jvm/java/jre/"
Compiling htsjdk with /usr/lib/jvm/java/jre/ = /usr/lib/jvm/java/jre/
echo "Compiling htsjdk library for java. Requires  apache ANT. If it fails      here, it's a not a problem with jvarkit."
Compiling htsjdk library for java. Requires  apache ANT. If it fails here,  it's a not a problem with jvarkit.
echo "And ${JAVA_HOME}/bin/javac should be >=1.7"
And /usr/lib/jvm/java/jre//bin/javac should be >=1.7
(cd /home/jannahS/jvarkit/htsjdk-1.139 && ant )
Error: Could not find or load main class  org.apache.tools.ant.launch.Launcher
make: *** [/home/jannahS/jvarkit/htsjdk-1.139/dist/htsjdk-1.139.jar] Error 1

J'ai installé apache ant et tenté de ANT_HOME de google suivant l'instruction

export ANT_HOME=apache-ant-1.9.6
ANT_OPTS="-Xms256M -Xmx512M"
PATH=$PATH:$HOME/bin:$ANT_HOME/bin
export ANT_HOME ANT_OPTS PAT

J'ai aussi set JAVA_HOME

export JAVA_HOME=/usr/lib/jvm/jre-1.7.0
export PATH=$JAVA_HOME/jre/bin:$PATH

Quand je lance

ant --execdebug

exec "/usr/lib/jvm/java/jre//bin/java" -Xmx256M -classpath "apache-ant-  1.9.6/lib/ant-launcher.jar" -Dant.home="apache-ant-1.9.6" -Dant.library.dir="apache-ant-1.9.6/lib" org.apache.tools.ant.launch.Launcher -cp ""
Buildfile: build.xml does not exist!
Build failed

Je ne sais pas quoi faire d'autre pour faire des choses à travailler. Je ne peux pas compiler l'outil que je veux utiliser sans apache ant

ANT_HOME doit avoir un chemin d'accès absolu.

OriginalL'auteur Jan Shamsani | 2015-11-09