[Red5devs] Error while compiling with ant server
Leonardo Braga
leonardo.braga at gmail.com
Fri Feb 22 07:22:40 PST 2008
Sorry for the wrong assumption. As yourself realized, the error is related
to the red5.jar file, that was not found in the lib dir.
Moving it to the lib dir should solve the issue.
--
Leonardo Braga Nogueira
Braga & Braga Consultoria em Tecnologia
On 2/22/08, Leonardo Braga <leonardo.braga at gmail.com> wrote:
>
> Hey Caio,
>
> You´re setting the JAVA_HOME environment variable wrongly. The patch
> should end at the JDK folder, not inside the JRE, i.e: C:\Arquivos de
> programas\Java\jdk1.6.0_04
>
> Just an observation: the right list to put questions about RED5 usage is
> Red5 at osflash.org.
> This one is for internal RED5 development only.
>
> Thank you,
> --
> Leonardo Braga Nogueira
> Braga & Braga Consultoria em Tecnologia
>
>
> On 2/22/08, Caio Cunha <caio at magnasaga.com.br> wrote:
>
> > Hello!
> >
> >
> >
> > I'm new to Red5 and Java, and was trying the tutorial on
> > http://www.flashextensions.com/tutorials.php, but when I try to compile
> > the project with ant server it crashes on the below error:
> >
> >
> >
> > "
> >
> >
> >
> >
> >
> > C:\Arquivos de programas\Red5>ant server
> >
> > Buildfile: build.xml
> >
> > [echo] java.home is C:\Arquivos de programas\Java\jdk1.6.0_04\jre
> > and the t
> >
> > arget version is 1.6
> >
> >
> >
> > -library.check:
> >
> >
> >
> > -java6.check:
> >
> > [echo] Using java6? true
> >
> >
> >
> > -junit.check:
> >
> >
> >
> > prepare:
> >
> >
> >
> > compile:
> >
> > [echo] Javac version: 1.6
> >
> > [echo] Eclipse? ${eclipse.running}
> >
> > [echo] Compiler adapter name: modern
> >
> > [echo] java.home is C:\Arquivos de programas\Java\jdk1.6.0_04\jre
> > and the t
> >
> > arget version is 1.6
> >
> >
> >
> > compile_core:
> >
> > [echo] java.home is C:\Arquivos de programas\Java\jdk1.6.0_04\jre
> > and the t
> >
> > arget version is 1.6
> >
> >
> >
> > retrieve:
> >
> > [javac] Compiling 278 source files to C:\Arquivos de
> > programas\Red5\bin
> >
> > [javac] C:\Arquivos de
> > programas\Red5\src\org\red5\server\Server.java:35: ca
> >
> > nnot access org.red5.server.api.listeners.IScopeListener
> >
> > [javac] bad class file: C:\Arquivos de
> > programas\Red5\bin\org\red5\server\ap
> >
> > i\listeners\IScopeListener.class
> >
> > [javac] class file contains wrong class:
> > java.util.concurrent.CopyOnWriteArr
> >
> > aySet
> >
> > [javac] Please remove or make sure it appears in the correct
> > subdirectory of
> >
> > the classpath.
> >
> > [javac] import org.red5.server.api.listeners.IScopeListener;
> >
> > [javac] ^
> >
> >
> >
> > BUILD FAILED
> >
> > C:\Arquivos de programas\Red5\build.xml:146: The following error
> > occurred while
> >
> > executing this line:
> >
> > C:\Arquivos de programas\Red5\build.xml:167: Compile failed; see the
> > compiler er
> >
> > ror output for details.
> >
> >
> >
> > Total time: 10 seconds
> >
> > C:\Arquivos de programas\Red5>
> >
> >
> >
> > "
> >
> >
> >
> >
> >
> > Any idea what could I try or Google for?
> >
> >
> >
> > Thank you!
> >
> >
> >
> > *Caio Cunha | **Tecnologia***
> >
> > [image: cid:image003.gif at 01C84D1B.5CA0B1B0]<http://www.magnasaga.com.br/>
> >
> >
> >
> > _______________________________________________
> > Red5devs mailing list
> > Red5devs at osflash.org
> > http://osflash.org/mailman/listinfo/red5devs_osflash.org
> >
> >
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5devs_osflash.org/attachments/20080222/7d37b6f0/attachment-0001.html
More information about the Red5devs
mailing list