Re: tomcat 6 on amd64

Corey <corey_s-r9/[email protected]>
Newsgroups gmane.linux.gentoo.java
Message-ID <[email protected]>
On Thursday 24 May 2007 03:44:14 pm William L. Thomson Jr. wrote:
> Cory,
> 	Are you running a Opteron processor?
>

Thanks a ton for the fast response - this has had me pretty frustrated;

I'm on a Sempron, from /proc/cpuinfo:
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 44
model name      : AMD Sempron(tm) Processor 2800+


> > Anyhow, I can't get tomcat6 installed on my amd64 system; the ebuild dies
> > with:
>
> Please see bug for more information
> http://bugs.gentoo.org/show_bug.cgi?id=178980
>

Ok, I'll read through that.


> > ... I've read plenty of similar things, in which the big fix appears to
> > set '-J-Xmx256m' or thereabouts to the javac... however, being somewhat
> > new to java, I'm not certain where/how to do this in the ebuild, or
> > during the emerge.
>
> You can add
>
> export ANT_OPTS="-Xmx128m"
>
> Just after src_compile and digest ebuild.
>

Excellent, thankyou - I'll try this right now.


> Or use any jdk BUT 1.5.0.11 on amd64 Opterons.
>

Does the same advice apply for Semprons?

-- 
[email protected] mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.