did you try the dir above bin? /usr/java/jre1.6.0_03/
the message earlier : Exception in thread "main" java.lang.NoClassDefFoundError: org/red5/server/Standalone means that it found java, but it couldnt find the class it wanted to load. i still recommend mailing the red5 list as im sure they deal with this kind of thing all the time. good luck. martin. Colm Brazel 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
