[Red5] Re5 Building Error
Ryan J. Peterson
rpeterson at vigorbranding.com
Mon Dec 17 09:13:18 PST 2007
I forgot to clarify I am building on Cent OS 4, not windows. I will see if I
can fix this script to get the right class path.
From: red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] On Behalf
Of Mamontov Sergey V.
Sent: Monday, December 17, 2007 12:09 PM
To: Ryan J. Peterson
Subject: Re: [Red5] Re5 Building Error
I found in the end of red5.sh file same line as in red5.bat:
exec $JAVA -Djava.security.manager -Djava.security.policy=conf/red5.policy
-cp red5.jar:conf:$CLASSPATH org.red5.server.Standalone
Check you system variables (Windows), if JAVA path contains spaces,
put it in "", same with CLASSPATH.
If this will not help, when I can't help in this situation. But my
problem with same message was solved like I wrote.
> No, I used the sh. I have been using ant server & to build it. Inside the
> red5.sh there is a reference to red5.jar, that's what I am referring too.
> Not sure why it's not working correctly or what I am missing.
> -----Original Message-----
> From: red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] On Behalf
> Of Mamontov Sergey V.
> Sent: Monday, December 17, 2007 11:42 AM
> To: Ryan J. Peterson
> Subject: Re: [Red5] Re5 Building Error
> Hello Ryan,
> Look's like you try to run red5.bat.
> If you want to compile server, you need to have Ant server for this case.
> Then you compile your server properly, I bet you will recive this error
> again, because you set up JDK to program files. Under Windows I have to
> modify red5.bat like this:
> "%JAVA_HOME%/bin/java" -Djava.security.manager
> -Djava.security.policy=conf/red5.policy -cp
>> I have been trying over and over to get red5 to build, each time,
>> the build ends up fine but when I run ./red5.sh I get
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> I have noticed there is no red5.jar on the root of the build, any
> on how to proceed?
>> Ryan J. Peterson
>> Lead Web Developer
>> VIGOR an e-Centric Brand Strategy Firm
>> 1315 North Second Street // Harrisburg, PA 17102
>> PH // 717.234.4846
>> MO // 717.609.7750
Red5 mailing list
Red5 at osflash.org
More information about the Red5