[osflash] Red5 setup on Centos BlueQuartz Linux box

Scott Hyndman scott at affsys.com
Fri Dec 21 12:35:18 PST 2007


export JAVA_HOME=/usr/java/jre1.6.0_03/

I'm pretty sure that's your java home. it will find the bin dir on its own.

On 21/12/2007, Colm Brazel <colmbrazel at gmail.com> wrote:
>
> Still no luck, tried setting it in red5.sh:
>
> ////////////because I got\\\\\\\\\\
>
> /usr/java/jre1.6.0_03/lib/rt.jar
>
>
>
> //in red5.sh I put\\
>
> #!/bin/bash
> export JAVA_HOME=/usr/java/jre1.6.0_03/bin/java
> for JAVA in "$JAVA_HOME/"
> #  "/usr/java/jre1.6.0_03/bin" "/usr/local/bin/java"
>
> also tried different combinations eg
>
> export PATH=$PATH:/usr/java/jre1.6.0_03/bin
> export JAVA_HOME=/usr/java/jre1.6.0_03/bin/java
> for JAVA in "$JAVA_HOME/"
> #  "/usr/java/jre1.6.0_03/bin" "/usr/local/bin/java"
>
>
>
> /////////above gets can't locate java.'is a directory etc
> \\\\\\\\\\\\\\\\\\\\\\\\\\
>
>
> regards
>
>
> Colm
>
>
>
>
>
> On Dec 20, 2007 11:53 PM, Scott Hyndman <scott at affsys.com> wrote:
> > export JAVA_HOME=/path/to/your/java/installation
> >
> > you're going to have to put it in red5.sh, or the startup script for
> your OS
> >
> >
> >
> >
> >
> > On 21/12/2007, Colm Brazel <colmbrazel at gmail.com> 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
> > >
> > >
> > >
> > > thanks
> > >
> > >
> > > Colm
> > >
> > > _______________________________________________
> > > osflash mailing list
> > > osflash at osflash.org
> > > http://osflash.org/mailman/listinfo/osflash_osflash.org
> > >
> >
> >
> > _______________________________________________
> > osflash mailing list
> > osflash at osflash.org
> > http://osflash.org/mailman/listinfo/osflash_osflash.org
> >
> >
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20071221/c606ab02/attachment.html 


More information about the osflash mailing list