My classpath is set for the tomcat working directory. Looks like
apache.ant.org is down now (so couldnt see what it should be set to).

echo $CLASSPATH
/usr/share/tomcat6/lib/servlet-api.jar

I am working on a ubuntu server edition. I had ant-gcj installed previously.
Removed it now and tried it. Still its failing with the same error.

sudo dpkg --get-selections | grep gcj
gcj-4.4-base                                    purge
gcj-4.4-jre-lib                                 install
libgcj-bc                                       install
libgcj-common                                   install
libgcj10                                        install

On Sun, Mar 7, 2010 at 12:04 PM, Konstantin Kolinko
<knst.koli...@gmail.com>wrote:

> 2010/3/7 Bharath Vasudevan <bharath....@gmail.com>:
> >
> > I have been using sun jdk only. Even my JAVA_HOME path looks fine.
> >
> > echo $JAVA_HOME
> > /usr/lib/jvm/java-6-openjdk/
> >
>
> Do not be so sure. I think you self can see that
> gnu/classpath/Configuration in your logs.
>
> What is the value of $CLASSPATH ?
> http://ant.apache.org/manual/install.html
>
> It is my humble opinion, but you would better go and uninstall gcj
> E.g.  rpm -q -a | grep gcj  can mention something.
> (I do not know what OS you are using).
>
>
> Looking again at the stack trace, it looks like Ant is confused: it
> tries to find some "modern" compiler and initialize a wrapper around
> it, but cannot.
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>

Reply via email to