> export JAVA_HOME=/usr/java/jre1.6.0_03/ >> I'm pretty sure that's your java home.
Yes, I try the above but get that exception in main class error, I'll try the red5 list you mentioned after the holidays, as you say its found java but is looking for some class that appears not available. Have a good holiday and thanks for the help. Best regards Colm [EMAIL PROTECTED] red5-0.6.3]# ./red5.sh Exception in thread "main" java.lang.NoClassDefFoundError: org/red5/server/Stand alone On Dec 21, 2007 8:35 AM, Scott Hyndman <[EMAIL PROTECTED]> wrote: > 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 > > _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
