ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Install problem "java.lang.NoClassDefFoundError"
Date Wed, 05 Nov 2003 23:21:11 GMT
Did you use GNU tar to untar? Regular tar doesn't support paths with more
than 100 chars or so. Trying re-installing Ant, maybe checking the MD5 sum
of what you downloaded, and then make sure you untar with GNU tar. --DD

> -----Original Message-----
> From: Michael Martinez [mailto:michaelm@snocountry.org]
> Sent: Wednesday, November 05, 2003 5:18 PM
> To: user@ant.apache.org
> Subject: Install problem "java.lang.NoClassDefFoundError"
> 
> Hello,
> 
>    I am having a basic install problem,  I have RTFM (checked and
>    double checked ANT_HOME and JAVA_HOME), with not luck
>    this is what I get when I try to run:
> 
>    > ant -help
>    Exception in thread "main" java.lang.NoClassDefFoundErro:
> org/apache/tools/ant/Main
> 
>    I downloaded Ant 1.54
>    My configuration (.bash_profile)
> 
> > export ANT_HOME=/user/local/src/ANT
> > export JAVA_HOME=/home/michaelm/JBuilder6/jdk1.3.1
> > PATH=$PATH:$HOME/bin
> > PATH=$PATH:/opt/FastObjects_t7_9.0/bin/
> > PATH=$PATH:$ANT_HOME/bin
> > export PATH
> > LD_LIBRARY_PATH=/opt/FastObjects_t7_9.0/lib
> > LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/FastObjects_t7_9.0/runtime/lib
> > export LD_LIBRARY_PATH
> > CLASSPATH=/opt/FastObjects_t7_9.0/runtime/lib/FastObjects_t7_JDO.jar
> > CLASSPATH=$CLASSPATH:/opt/FastObjects_t7_9.0/runtime/lib/jdo.jar
> > CLASSPATH=$CLASSPATH:/home/michaelm/JGoodies/forms-1.0/forms-1.0.jar
> > CLASSPATH=$CLASSPATH:/home/michaelm/JGoodies/JCalendar/jcalendar.jar
> > CLASSPATH=$CLASSPATH:/home/michaelm/jbproject
> > CLASSPATH=$CLASSPATH:/home/michaelm/jbproject/snoComponents
> > export CLASSPATH
> 
> 
> 
> My ultimate goal is to use Ant to compile Apache XML-RPC
> thank you in advance.
> 
> Michael
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org

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


Mime
View raw message