* [gentoo-dev] Java ebuild problems
@ 2002-04-03 14:15 Matthew Baxa
2002-04-03 20:26 ` mbutcher
0 siblings, 1 reply; 2+ messages in thread
From: Matthew Baxa @ 2002-04-03 14:15 UTC (permalink / raw
To: gentoo-dev
While trying to work on a EJB project in Gentoo, I needed to emerge the
Java stuff. The sun-j2ee.ebuild needed to be modified to take the
correct version available (j2sdkee-1_3_1-linux.tar.gz instead of the old
j2sdkee-1_3_01-linux.tar.gz) as well as "S=${WORKDIR}/j2sdkee1.3.1"
But my problem lies with Ant. After emerging ant (and sun-jdk) when I
try to run ant I get:
bash-2.05a$ ant
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tools/ant/Main
Any ideas on how to fix?
---------------------
Matthew Baxa
http://www.cis.ksu.edu/~mbb1810/
Student Systems Administrator
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-dev] Java ebuild problems
2002-04-03 14:15 [gentoo-dev] Java ebuild problems Matthew Baxa
@ 2002-04-03 20:26 ` mbutcher
0 siblings, 0 replies; 2+ messages in thread
From: mbutcher @ 2002-04-03 20:26 UTC (permalink / raw
To: gentoo-dev
I ran into that exact problem a week ago (though I am using j2sdk 1.4.1). It
stemmed from the absence of ant.jar in $ANT_HOME (/usr/share/ant). I searched
the entire filesystem for ant.jar and couldn't find it.
I ran the ebuild again, figuring that it might have given an unnoticed error
the first time, and it rebuilt correctly, placing ant.jar in /usr/share/ant
I figured I had done something wriong, and didn't think to file a bug, but if
you are seeing the same thing too... perhaps it should be filed.
Let me know the outcome.
Matt
On Wednesday 03 April 2002 07:15 am, Matthew Baxa wrote:
> While trying to work on a EJB project in Gentoo, I needed to emerge the
> Java stuff. The sun-j2ee.ebuild needed to be modified to take the
> correct version available (j2sdkee-1_3_1-linux.tar.gz instead of the old
> j2sdkee-1_3_01-linux.tar.gz) as well as "S=${WORKDIR}/j2sdkee1.3.1"
>
> But my problem lies with Ant. After emerging ant (and sun-jdk) when I
> try to run ant I get:
> bash-2.05a$ ant
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/tools/ant/Main
>
> Any ideas on how to fix?
>
> ---------------------
> Matthew Baxa
> http://www.cis.ksu.edu/~mbb1810/
> Student Systems Administrator
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-03 20:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-03 14:15 [gentoo-dev] Java ebuild problems Matthew Baxa
2002-04-03 20:26 ` mbutcher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox