On Wed, 2007-02-21 at 11:35 -0500, William L. Thomson Jr. wrote: > On Wed, 2007-02-21 at 14:55 +0100, Remy Maucherat wrote: > > Avramenko Andrew wrote: > > >> I haven't been able to build Tomcat 6 with JDK 1.6 either. Since > > >> building with > > >> JDK 1.5 works for me, I didn't try too hard to find out why it fails > > >> using > > >> 1.6. > > > > > > I've install JDK 1.5. The problem is the same. > > > > > > Can it be related to installed GCJ on this computer or ant which was > > built with GCJ, I've export right JAVA_HOME, but nevertheless.. ? > > > > It works for me. Given the error message, there seems to be a problem > > with the compiler (you can easily verify the imports exist in the source > > tree). > > It also compiles for anyone on Gentoo. We still have 6.0.9_beta in tree. > No bugs have been filed about it failing to compile for people on > Gentoo. I would assume that's a local issue. Nothing wrong with the > sources and ability to compile them.
Oh yeah, and I have been compiling it with Sun 1.6 jdk. I am sure others have as well. Sun 1.5 works as well. But we are using -source 1.5 -target 1.5 with both 1.5 and 1.6 jdks. Can't recall off hand if that is set/forced in the build system or not by default. -- William L. Thomson Jr. Gentoo/Java
signature.asc
Description: This is a digitally signed message part