what does java -version return? And what OS are you using? Thijs
On Jun 6, 2007, at 9:47 PM, Grant Kohler wrote: > Now that I look closer, it looks like it's trying to use the wrong > version > of java. > > Buildfile: build.xml > [echo] java.home is /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre > and the > target version is 1.4 > > server: > [echo] java.home is /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre > and the > target version is 1.4 > > I've installed jdk1.6.0_01 and set my environment variable for > JAVA_HOME to > point to the directory for jdk1.6.0_01, but it still doesn't seem > to be > looking there for java. Do I need to change it somewhere else too? > > Thanks, > -Grant > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf > Of Thijs Triemstra | Collab > Sent: Wednesday, June 06, 2007 2:57 PM > To: [email protected] > Subject: Re: [Red5] IStreamableFileService > > You should try a newer version of Red5 (v0.6.1) that supports jdk1.6 > > Thijs > > > Op 6-jun-2007, om 20:16 heeft Grant Kohler het volgende geschreven: > >> Hello, >> >> I'm trying to setup red5 on a new server. I'm running >> jdk1.6.0_01 but when I run ant server I get the following message >> and I have no idea what it means: >> >> >> >> compile: >> >> [javac] Compiling 309 source files to /home/reach/red5-0_5rc1/bin >> >> [javac] ---------- >> >> [javac] 1. ERROR in /home/reach/red5-0_5rc1/src/org/red5/io/ >> IStreamableFileFactory.java >> >> [javac] (at line 31) >> >> [javac] public abstract Set<IStreamableFileService> >> getServices(); >> >> [javac] ^^^ >> >> [javac] The type Set is not generic; it cannot be parameterized >> with arguments <IStreamableFileService> >> >> [javac] ---------- >> >> [javac] 2. ERROR in /home/reach/red5-0_5rc1/src/org/red5/io/ >> IStreamableFileFactory.java >> >> [javac] (at line 31) >> >> [javac] public abstract Set<IStreamableFileService> >> getServices(); >> >> [javac] ^^^^^^^^^^^^^^^^^^^^^^ >> >> [javac] Syntax error, parameterized types are only available if >> source level is 5.0 >> >> [javac] ---------- >> >> [javac] 2 problems (2 errors) >> >> >> >> Is there something else I need to configure first? >> >> >> >> Thanks, >> >> -Grant >> >> >> >> _______________________________________________ >> Red5 mailing list >> [email protected] >> http://osflash.org/mailman/listinfo/red5_osflash.org > > > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org > > > > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
