Hi,

Thanks for that, I found rt.jar and set it with your howto info, no luck,

I get [EMAIL PROTECTED] red5-0.6.3]$ ./red5.sh
Exception in thread "main" java.lang.NoClassDefFoundError:
org/red5/server/Standalone
[EMAIL PROTECTED] red5-0.6.3]$


..so I have some java problem with Red5 on my centos.... on the
positive side I did get SmartFoxServer going but havn't tried it from
flash yet, I got java installed with info here

http://www.java.com/en/download/help/5000010500.xml#enable


[EMAIL PROTECTED] java]# ls
default  jre1.6.0_03  latest
[EMAIL PROTECTED] java]# cd jre1.6.0_03
[EMAIL PROTECTED] jre1.6.0_03]# ls
bin        javaws  LICENSE  plugin  THIRDPARTYLICENSEREADME.txt
COPYRIGHT  lib     man      README  Welcome.html
[EMAIL PROTECTED] jre1.6.0_03]# cd bin
[EMAIL PROTECTED] bin]# java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)
[EMAIL PROTECTED] bin]#

thanks again


Colm

On Dec 21, 2007 12:04 AM, Martin Wood-Mitrovski
<[EMAIL PROTECTED]> wrote:
> Hi, youre more likely to get a quick answer from the red5 mailing list, check
> the red5 page for more details here
>
> http://osflash.org/red5
>
> also for the previous 2 posters you'll want to do the same :)
>
> but, seeing as im here, on linux to set an environment variable you can do 
> this
> in the .bashrc file of the user that runs red5
>
> export JAVA_HOME=/some/place/here
>
> alternatively you could edit the system wide .bashrc, which could be here
>
> /etc/bash.bashrc
>
> to find out what JAVA_HOME should be you need to find where your java is. try
> running :
>
> locate rt.jar
>
> and you could find a result like this :
>
> /usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/rt.jar
>
> in which case i would set it like this :
>
> export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.03
>
> again, this might all be different with centos (im running ubuntu)
>
> thanks,
>
> Martin
>
>
> Colm Brazel wrote:
> > Hi,
> >
> > I get the following error
> >
> > [EMAIL PROTECTED] red5-0.6.3]# ./red5.sh
> > Unable to locate java. Please set JAVA_HOME environment variable.
> > [EMAIL PROTECTED] red5-0.6.3]# Unable to locate java. Please set
> > JAVA_HOME environment variable.
> >
> >
> > anybody suggest how to to set the JAVA_HOME environment variable or
> > set up java with environment label on this box
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to