On 16 Jun 2008 at 17:32, Chuck Noren wrote: Date sent: Mon, 16 Jun 2008 17:32:34 -0400 From: Chuck Noren <[EMAIL PROTECTED]> Subject: Installing Apache-Tomcat 6.0.16 Problem To: Tomcat Users List <users@tomcat.apache.org> Send reply to: Tomcat Users List <users@tomcat.apache.org>
> I have a PC with Fedora Core 6 > I have installed jdk 1.6.0_06 > > I downloaded Tomcat 6.0.16, did a sucessful ant download. When I do > ant, I > get a complaint from javac on the first line of Resouce.java, > flagging the > comment characters "/*" and complaining about Enum (see below). Of > cource, > javac compiles the single file okay when I hand enter it. What is > going > wrong? > > Thanks, > Chuck > Why not just get the binary version of Tomcat? -Steve O. > [EMAIL PROTECTED] apache-tomcat-6.0.16-src]$ su > Password: > [EMAIL PROTECTED] apache-tomcat-6.0.16-src]# ant -version > Apache Ant version 1.6.5 compiled on August 30 2006 > [EMAIL PROTECTED] apache-tomcat-6.0.16-src]# which javac > /usr/local/jdk1.6.0_06/bin/javac > [EMAIL PROTECTED] apache-tomcat-6.0.16-src]# ant > Buildfile: build.xml > > build-prepare: > [delete] Deleting directory > /home/noren/opennms/apache-tomcat-6.0.16-src/output/build/temp > [mkdir] Created dir: > /home/noren/opennms/apache-tomcat-6.0.16-src/output/build/temp > > compile: > [javac] Compiling 1045 source files to > /home/noren/opennms/apache-tomcat-6.0.16-src/output/classes > [javac] ---------- > [javac] 1. ERROR in > /home/noren/opennms/apache-tomcat-6.0.16-src/java/javax/annotation/R > esource.java > (at line 1) > [javac] /* > [javac] ^^ > [javac] The type Enum is not generic; it cannot be parameterized > with > arguments <Resource.AuthenticationType> > [javac] ---------- > [javac] 1 problem (1 error) > > BUILD FAILED > /home/noren/opennms/apache-tomcat-6.0.16-src/build.xml:109: Compile > failed; > see the compiler error output for details. > > Total time: 5 seconds > [EMAIL PROTECTED] apache-tomcat-6.0.16-src]# > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]