Re: tomcat 6 on amd64

"William L. Thomson Jr." <[email protected]>
Newsgroups gmane.linux.gentoo.java
Organization Gentoo
Message-ID <[email protected]>
Cory,
	Are you running a Opteron processor?

On Thu, 2007-05-24 at 15:39 -0700, Corey wrote:
> Hey folks! Really hoping someone can help me out, hope these questions aren't
> considered too simple to be answered; sorry if I'm asking on the wrong place.
> 
> 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

> ... 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.

Or use any jdk BUT 1.5.0.11 on amd64 Opterons.

> Is there a place to set system-wide, or per-user JAVAC options?

I do not believe so at this time.

-- 
William L. Thomson Jr.
Gentoo/Java
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQBGVhU3PrChP8zZLyYRAmieAJ9GCKfpfogZAOb/cAqxW0/NjmW1fgCeMxHL
nyHzqPZb1jwh6dXbj0MbIvw=
=v+kn
-----END PGP SIGNATURE-----
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.