Discussion:
Red5 Installation on Windows
Aleksandr V Galiyev
2009-07-23 07:06:36 UTC
Permalink
Installed Red5 using this tutorial:

http://osflash.org/red5/windowstomcat

When started Red5 (from Start Menu) it requested to set JAVA_HOME env
variable. So I did (C:\jbin\jdk1.6).
After starting again I'm getting this error:

Not sure what to do, could not find any information on Google.

========================================================================
Starting Red5
Exception in thread "main" java.lang.NoClassDefFoundError:
org/red5/server/Boots
trap
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.
========================================================================

Please help!

Thanks
Sascha Sauren
2009-07-23 14:18:42 UTC
Permalink
try to set

JAVA_HOME

to the path of the JRE not the JDK

greetz
Post by Aleksandr V Galiyev
http://osflash.org/red5/windowstomcat
When started Red5 (from Start Menu) it requested to set JAVA_HOME env
variable. So I did (C:\jbin\jdk1.6).
Not sure what to do, could not find any information on Google.
========================================================================
Starting Red5
org/red5/server/Boots
trap
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.
========================================================================
Please help!
Thanks
_______________________________________________
Red5 mailing list
http://osflash.org/mailman/listinfo/red5_osflash.org
Jonathan Valliere
2009-07-23 15:35:30 UTC
Permalink
You could just use the Installer. http://code.google.com/p/red5/
It should run out of the box.

On Thu, Jul 23, 2009 at 10:18 AM, Sascha Sauren <
Post by Sascha Sauren
try to set
JAVA_HOME
to the path of the JRE not the JDK
greetz
Post by Aleksandr V Galiyev
http://osflash.org/red5/windowstomcat
When started Red5 (from Start Menu) it requested to set JAVA_HOME env
variable. So I did (C:\jbin\jdk1.6).
Not sure what to do, could not find any information on Google.
========================================================================
Starting Red5
org/red5/server/Boots
trap
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.
========================================================================
Please help!
Thanks
_______________________________________________
Red5 mailing list
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
http://osflash.org/mailman/listinfo/red5_osflash.org
Aleksandr V Galiyev
2009-07-24 06:53:06 UTC
Permalink
I did use the installer, it requires separate installation of JRE, JDK and
TomCat
Post by Jonathan Valliere
You could just use the Installer. http://code.google.com/p/red5/
It should run out of the box.
On Thu, Jul 23, 2009 at 10:18 AM, Sascha Sauren <
Post by Sascha Sauren
try to set
JAVA_HOME
to the path of the JRE not the JDK
greetz
Post by Aleksandr V Galiyev
http://osflash.org/red5/windowstomcat
When started Red5 (from Start Menu) it requested to set JAVA_HOME env
variable. So I did (C:\jbin\jdk1.6).
Not sure what to do, could not find any information on Google.
========================================================================
Starting Red5
org/red5/server/Boots
trap
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.
========================================================================
Please help!
Thanks
_______________________________________________
Red5 mailing list
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
http://osflash.org/mailman/listinfo/red5_osflash.org
Mondain
2009-07-27 21:48:14 UTC
Permalink
The installer does not require Tomcat, it only requires that you have Java
installed. Also your JAVA_HOME should not point at the java db directory.
Paul
Post by Aleksandr V Galiyev
I did use the installer, it requires separate installation of JRE, JDK and
TomCat
You could just use the Installer. http://code.google.com/p/red5/
Post by Jonathan Valliere
It should run out of the box.
On Thu, Jul 23, 2009 at 10:18 AM, Sascha Sauren <
Post by Sascha Sauren
try to set
JAVA_HOME
to the path of the JRE not the JDK
greetz
Post by Aleksandr V Galiyev
http://osflash.org/red5/windowstomcat
When started Red5 (from Start Menu) it requested to set JAVA_HOME env
variable. So I did (C:\jbin\jdk1.6).
Not sure what to do, could not find any information on Google.
========================================================================
Post by Aleksandr V Galiyev
Starting Red5
org/red5/server/Boots
trap
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)
Post by Aleksandr V Galiyev
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Post by Aleksandr V Galiyev
Could not find the main class: org.red5.server.Bootstrap. Program will
exit.
========================================================================
Post by Aleksandr V Galiyev
Please help!
Thanks
_______________________________________________
Red5 mailing list
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
http://osflash.org/mailman/listinfo/red5_osflash.org
--
http://gregoire.org/
http://code.google.com/p/red5/
http://code.google.com/p/blue5/
Aleksandr V Galiyev
2009-07-24 06:52:19 UTC
Permalink
I tried setting JAVA_HOME to "C:\Program Files\Sun\JavaDB\" where my JRE is
located, but I'm getting a different error:

Starting Red5
'"C:\Program Files\Sun\JavaDB\bin\java"' is not recognized as an internal or
external command, operable program or batch file.
Post by Sascha Sauren
try to set
JAVA_HOME
to the path of the JRE not the JDK
greetz
Post by Aleksandr V Galiyev
http://osflash.org/red5/windowstomcat
When started Red5 (from Start Menu) it requested to set JAVA_HOME env
variable. So I did (C:\jbin\jdk1.6).
Not sure what to do, could not find any information on Google.
========================================================================
Starting Red5
org/red5/server/Boots
trap
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.
========================================================================
Please help!
Thanks
_______________________________________________
Red5 mailing list
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
http://osflash.org/mailman/listinfo/red5_osflash.org
Jens-Christian Skibakk
2009-07-24 06:55:25 UTC
Permalink
If you have Java 6 installed, the JAVA_HOME in usually c:\program
files\java\jre6

So you need to use
set JAVA_HOME=c:\program files\java\jre6
Post by Aleksandr V Galiyev
I tried setting JAVA_HOME to "C:\Program Files\Sun\JavaDB\" where my JRE is
Starting Red5
'"C:\Program Files\Sun\JavaDB\bin\java"' is not recognized as an internal
or external command, operable program or batch file.
try to set
Post by Aleksandr V Galiyev
JAVA_HOME
to the path of the JRE not the JDK
greetz
Post by Aleksandr V Galiyev
http://osflash.org/red5/windowstomcat
When started Red5 (from Start Menu) it requested to set JAVA_HOME env
variable. So I did (C:\jbin\jdk1.6).
Not sure what to do, could not find any information on Google.
========================================================================
Starting Red5
org/red5/server/Boots
trap
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.
========================================================================
Please help!
Thanks
_______________________________________________
Red5 mailing list
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
http://osflash.org/mailman/listinfo/red5_osflash.org
Aleksandr V Galiyev
2009-07-24 09:07:48 UTC
Permalink
Tried that too, same error:

=============================================================
Starting Red5
Exception in thread "main" java.lang.NoClassDefFoundError:
org/red5/server/Boots
trap
Caused by: java.lang.ClassNotFoundException: org.red5.server.Bootstrap
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: org.red5.server.Bootstrap. Program will
exit.
=============================================================
Post by Jens-Christian Skibakk
If you have Java 6 installed, the JAVA_HOME in usually c:\program
files\java\jre6
So you need to use
set JAVA_HOME=c:\program files\java\jre6
Post by Aleksandr V Galiyev
I tried setting JAVA_HOME to "C:\Program Files\Sun\JavaDB\" where my JRE
Starting Red5
'"C:\Program Files\Sun\JavaDB\bin\java"' is not recognized as an internal
or external command, operable program or batch file.
try to set
Post by Aleksandr V Galiyev
JAVA_HOME
to the path of the JRE not the JDK
greetz
Post by Aleksandr V Galiyev
http://osflash.org/red5/windowstomcat
When started Red5 (from Start Menu) it requested to set JAVA_HOME env
variable. So I did (C:\jbin\jdk1.6).
Not sure what to do, could not find any information on Google.
========================================================================
Post by Aleksandr V Galiyev
Starting Red5
org/red5/server/Boots
trap
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)
Post by Aleksandr V Galiyev
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Post by Aleksandr V Galiyev
Could not find the main class: org.red5.server.Bootstrap. Program will
exit.
========================================================================
Post by Aleksandr V Galiyev
Please help!
Thanks
_______________________________________________
Red5 mailing list
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
http://osflash.org/mailman/listinfo/red5_osflash.org
Loading...