ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Martinez <micha...@snocountry.org>
Subject Install problem "java.lang.NoClassDefFoundError"
Date Wed, 05 Nov 2003 23:18:27 GMT
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


Mime
View raw message