I had searched for Ant answers, but didn't find what I needed until now...
I added Redhat and found this chap who had the same problem.
http://www.jasonsimms.com/archives/2004/06/85-apache_ant_mystery_error_s
olved.html
I renamed /usr/share/ant to /usr/share/ant-old and now ant version 1.6.2
works great. :-)
I'm betting the Ant script that runs ant was pulling in the old jars and
that made the fubar state.
Cheers,
Tim
-Original Message-
From: Tim Colson [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 21, 2004 10:53 AM
To: [EMAIL PROTECTED]
Subject: [jug-discussion] ANT Install failing
I don't get it... I've installed ant in hundreds of
places... and never
had this kind of grief. This is Red Hat linux... java is
happy. env vars are
set. Ant won't run. :-(
Ideas?
Timo
[EMAIL PROTECTED] opt]$ java -version
java version 1.4.2
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
[EMAIL PROTECTED] opt]$
[EMAIL PROTECTED] tcolson]$ ant -version
Exception in thread main java.lang.NoClassDefFoundError:
org/apache/tools/ant/launch/Launcher
[EMAIL PROTECTED] tcolson]$ echo $JAVA_HOME
/opt/jdk
[EMAIL PROTECTED] tcolson]$ echo $ANT_HOME
/opt/ant
[EMAIL PROTECTED] tcolson]$ echo $PATH
/opt/jdk/bin:/opt/ant/bin:/usr/kerberos/bin:/usr/local/bin:/bi
n:/usr/bin:/us
r/X11R6/bin:/home/tcolson/bin
[EMAIL PROTECTED] tcolson]$ cd /opt
[EMAIL PROTECTED] opt]$ ls -l
total 33944
lrwxrwxrwx1 tcolson tcolson16 Aug 20 23:56 ant -
apache-ant-1.6.2
drwxr-xr-x6 trudkin trudkin 4096 Aug 3 11:45
apache-ant-1.6.1
drwxrwxr-x6 tcolson tcolson 4096 Aug 21 00:07
apache-ant-1.6.2
drwxr-xr-x8 root root 4096 Aug 10 08:00 j2sdk1.4.2
-rwxr-xr-x1 trudkin trudkin 34653233 Aug 10 07:38
j2sdk-1_4_2-linux-i586.rpm
lrwxrwxrwx1 trudkin trudkin10 Aug 10 08:28 jdk
- j2sdk1.4.2
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]