Red5 debian/ubuntu package problems

In case anyone has problems installing Red5 0.9.0 RC1 from the debian package, specifically if the package installs OK, but it doesn't run when /etc/init.d/red5 is executed, and you get this error when you run /usr/lib/red5/red5.sh

Exception in thread "main" java.lang.NoClassDefFoundError: org/red5/server/Bootstrap
Caused by: java.lang.ClassNotFoundException: org.red5.server.Bootstrap
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: org.red5.server.Bootstrap. Program will exit.

Just copy the boot.jar from the generic .zip distribution into /usr/lib/red5/ and all will be well.

published 2009.10.25 updated 2017.06.26
show menu