This is my first attempt at working with java. I am running Ubuntu 10.04 and have been using this tutorial from an older Ubuntu version
Getting RED 5 up and running on Ubuntu 9.04 | Sandeep Ghael
When I get to this command /usr/share/red5/red5.sh & I get this
error:
Starting Red5
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: 217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 21)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 66)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:334)
Could not find the main class: org.red5.server.Bootstrap. Program will
exit.
I wonder if it is something related to the java version, as I ran java
-version which returned java version "1.6.0_18"
yet I see only java-6-sun-1.6.0.20 in /usr/lib/jvm , I tried
export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.18 and export
JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.20, but no success. Perhaps
the issue is something totally different?
Code:to fix this error after reboot of the system when restarting the red5: 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:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:319) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java: 294) at java.lang.ClassLoader.loadClass(ClassLoader.java:264) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java: 332) Could not find the main class: org.red5.server.Bootstrap. Program will exit. To fix this go to red5.Download your versions ZIP red5 and replace your boot.jar with the one in the zipped verzion. No need to make it executable just upload it overwrite the original with the one from the zipped folder. Wonder what is up with that anyway (backup the original file just in case)
// d-_-b+
This doesn't work as is from here:
svn co red5 - Revision 4092: /java/server/tags/0_9_1 red5
I also tried replacing the boot.jar file with the one listed for 0.9.1 but still I am seeing the same error message.
red5 - Project Hosting on Google Code
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks