[osflash] Red5
Martin Wood-Mitrovski
flashdev at relivethefuture.com
Fri Dec 21 04:04:52 PST 2007
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
>
> [root at server3035 red5-0.6.3]# ./red5.sh
> Unable to locate java. Please set JAVA_HOME environment variable.
> [root at server3035 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
More information about the osflash
mailing list