Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been trying for many days to get Red5 to install on Ubuntu 10.04. I finally managed to get to stop hanging a few seconds in but now I'm getting the following error:

Setting default logging context: default
Exception in thread "main" java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
 at java.lang.reflect.Method.invoke(
 at org.red5.server.Bootstrap.bootStrap(
 at org.red5.server.Bootstrap.main(
Caused by: java.lang.NoSuchMethodError: org.slf4j.impl.StaticLoggerBinder.getContextSelector()Lch/qos/logback/classic/selector/ContextSelector;
 at org.red5.logging.Red5LoggerFactory.getLogger(
 at org.red5.logging.Red5LoggerFactory.getLogger(
 at org.red5.server.Launcher.launch(
 ... 6 more

I suspected that this had to do with slf4j not being installed or on my classpath. I installed logback and libslf4j-java from aptitude and I see related files in my red5 lib directories. For example:


And I set my classpath to /usr/share/red5/lib/

Any ideas on where to proceed from here? There seem to be a lot of people having trouble getting 10.04 and red5 0.9 working together. I've tried red5-0.9.1.tar.gz and red5_0.9.0-RC1_all.deb. The libraries above should be all that are needed according to Red5's documentation and I got the latest version of each.

share|improve this question

migrated from Nov 10 '10 at 3:08

This question came from our site for professional and enthusiast programmers.

Use this tutorial: It has been done for me.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .