[Red5] Re5 Building Error
Ryan J. Peterson
rpeterson at vigorbranding.com
Mon Dec 17 09:13:18 PST 2007
Sergey,
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.
Ryan
-----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 12:09 PM
To: Ryan J. Peterson
Subject: Re: [Red5] Re5 Building Error
Ryan,
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.
Regards,
Sergey
> Sergey,
> 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.
> Ryan
> -----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
red5.jar;conf;bin;"%CLASSPATH%"
> org.red5.server.Standalone
> Regards,
> Sergey
>>
>>
>>
>> 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:
> org/red5/server/Standalone
>>
>>
>>
>> I have noticed there is no red5.jar on the root of the build, any
pointers
> 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
>>
>> http://www.vigorgbranding.com/
>>
>> _____________________________________
>>
>>
>>
>>
>>
_______________________________________________
Red5 mailing list
Red5 at osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
More information about the Red5
mailing list