Closed Thread
Results 1 to 3 of 3

Thread: Problem installing red5 media server

  1. #1
    chief is offline Newbie
    Join Date
    May 2010
    Posts
    2
    Rep Power
    0

    Problem installing red5 media server

    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?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    ksemeks's Avatar
    ksemeks is offline Learning Programmer
    Join Date
    Jan 2010
    Location
    Croatia
    Posts
    57
    Rep Power
    0

    Re: Problem installing red5 media server

    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+

  4. #3
    chief is offline Newbie
    Join Date
    May 2010
    Posts
    2
    Rep Power
    0

    Re: Problem installing red5 media server

    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

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Beginner Part 1: Installing Shoutcast Server onto an SSH Shell
    By morefood2001 in forum Tutorials
    Replies: 9
    Last Post: 08-23-2010, 09:51 PM
  2. Connecting with a Flash Media Server
    By whomp in forum Visual Basic Programming
    Replies: 0
    Last Post: 06-25-2010, 07:23 PM
  3. Media Server
    By Off in forum Linux Applications
    Replies: 3
    Last Post: 03-06-2008, 05:59 AM
  4. Streaming Media Server
    By Jordan in forum Computer Software/OS
    Replies: 6
    Last Post: 12-28-2006, 01:05 PM
  5. Installing SQL server on Windows XP 64 bit
    By roger in forum Database & Database Programming
    Replies: 1
    Last Post: 05-23-2006, 08:13 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts