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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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
> > >
> > >
> > >
> > > thanks
> > >
> > >
> > > Colm
> > >
> > > _______________________________________________
> > > 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
> >
> >
>
> _______________________________________________
> 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