RE: I'm trying to install ant, and it's complaining about tools.jar not being in /usr/lib/sablevm/lib/
Okay, I install ant with apt-get, and now I still have some odd problems.
One, when I specify -h it tries to do a build, and still doesn't see
tools.jar:
leadbelly:/etc/apt# ant --help
/usr/bin/ant [script options] [options] [target [target2 [target3] ..]]
Script Options:
--help, --h print this message and ant help
--noconfig suppress sourcing of /etc/ant.conf,
$HOME/.ant/ant.conf, and $HOME/.antrc
configuration files
--usejikes enable use of jikes by default, unless
set explicitly in configuration files
--execdebug print ant exec line generated by this
launch script
Unable to locate tools.jar. Expected to find it in
/usr/lib/sablevm/lib/tools.jar
Buildfile: build.xml does not exist!
Build failed
leadbelly:/etc/apt#
Also, I'd like to see the version (a la page 24 of the O'Reilly hornytoad
book), and no dice:
leadbelly:/etc/apt# ant -version
Unable to locate tools.jar. Expected to find it in
/usr/lib/sablevm/lib/tools.jar
Buildfile: build.xml does not exist!
Build failed
Is there a way to fix this, or do I just have a broken version?
xc
-----Original Message-----
From: Wolfgang Baer [mailto:WBaer@gmx.de]
Sent: Tuesday, July 05, 2005 8:10 AM
To: xcampanoli@real.com
Cc: debian-java@lists.debian.org
Subject: Re: I'm trying to install ant, and it's complaining about tools.jar
not being in /usr/lib/sablevm/lib/
Xeno Campanoli wrote:
> I get nothing with apt-cache show ant[:]?. Perhaps you're using SID. For
> apt-cache search I get ant-phone, anteater, antennavis, anthy*, antiword,
> and antlr. No ant.
Seems you are missing contrib (there it is) in your sources.list entry.
Wolfgang
--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Reply to: