ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject RE: Ant on Linux
Date Wed, 06 Dec 2000 17:16:52 GMT
At 11:11  6/12/00 -0500, you wrote:
>Hi Weigi,
>
>Here is what I have done and the setup I have:
>
>I logged in as root and installed
>	ant in /usr/local/bin/ant from the latest jakarta-ant-bin.tar.gz
>	jaxp in /usr/local/jaxp1.0.1
>
>This is the .bash_profile:
>
>PATH=$PATH:$HOME/jtest/bin:$HOME/bin:/usr/local/jdk1.3
>BASH_ENV=$home/.bashrc
>USERNAME=""
>
>ANT_HOME=/usr/local/bin/ant
>JAVA_HOME=/usr/local/jdk1.3
>XML_HOME=/usr/local/jaxp1.0.1
>
>CLASSPATH=$CLASSPATH:/usr/local/bin/junit3/junit.jar:$XML_HOME/jaxp.jar:$XML
>_HOME/parser.jar
>
>and then I export all the variables
>
>When I attempt to run ant I consistently get the following error:
>
>Couldn't find or load essential class 'java/lang/object'
>java.lan.NoClassDefFoundError java/lang/object
>usr/local/bin/ant/bin: line 1411 aborted
>
>Any ideas would be appreciated.

One possibility is that you are using kaffe compiler/interpreter instead of
sun/ibm/whatevers version. To make sure you are not try java -version or
looking in RPM DB to see if you have kaffe installed. If it is installed
then remove it and try again ;)

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Mime
View raw message