[Red5] red5 on debian

Thijs Triemstra | Collab lists at collab.nl
Tue Nov 20 14:00:29 PST 2007


Looks like your ant is broken? It should just return:

$ ant -version
Apache Ant version 1.7.0 compiled on December 13 2006

You could recompile the server with the 'ant' command and then  
starting it by changing to 'dist' and run ./red5.sh

Thijs

On Nov 20, 2007, at 10:50 PM, Antoine Jacoutot wrote:

> On Tue, 20 Nov 2007, Nathan P. Johansen wrote:
>> java version "1.6.0_01"
>> Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
>> Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
>
> I should have mentioned it was the first thing I tried of course.
> The error is different though but it still doesn't work:
>
> Anyway, here's more output that may be interesting.
>
>
> # export JAVA_HOME=/usr/lib/jvm/java-6-sun/
> # export CLASSPATH=/usr/lib/jvm/java-6-sun/lib/:/usr/lib/red5/:/usr/ 
> lib/red5/lib
> # /usr/lib/red5/red5.sh
> Exception in thread "main" java.lang.NoClassDefFoundError: org/red5/ 
> server/Standalone
>
> # java -version
> java version "1.6.0_03"
> Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
> Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)
>
> # ant -version
> java.lang.NoSuchMethodException: java.net.URI.create(java.lang.String)
>          at java.lang.Class.getMethod(Class.java:1605)
>          at org.apache.tools.ant.launch.Locator.fromURI 
> (Locator.java:161)
>          at org.apache.tools.ant.launch.Locator.getResourceSource 
> (Locator.java:119)
>          at org.apache.tools.ant.launch.Locator.getClassSource 
> (Locator.java:90)
>          at org.apache.tools.ant.launch.Launcher.run(Launcher.java: 
> 161)
>          at org.apache.tools.ant.launch.Launcher.main(Launcher.java: 
> 104)
> java.lang.NoSuchMethodException: java.net.URI.create(java.lang.String)
>          at java.lang.Class.getMethod(Class.java:1605)
>          at org.apache.tools.ant.launch.Locator.fromURI 
> (Locator.java:161)
>          at org.apache.tools.ant.launch.Launcher.run(Launcher.java: 
> 245)
>          at org.apache.tools.ant.launch.Launcher.main(Launcher.java: 
> 104)
> [...]
> java.lang.NoSuchMethodException: java.net.URI.create(java.lang.String)
>          at java.lang.Class.getMethod(Class.java:1605)
>          at org.apache.tools.ant.launch.Locator.fromURI 
> (Locator.java:161)
>          at org.apache.tools.ant.launch.Launcher.run(Launcher.java: 
> 245)
>          at org.apache.tools.ant.launch.Launcher.main(Launcher.java: 
> 104)
> Apache Ant version 1.7.0 compiled on August 24 2007
>
> -- 
> Antoine
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org




More information about the Red5 mailing list