btw.. you missed which javac depending on which linux you are running, you will need to select the right jvm for your path.
to test that that would actually work, you can do something like export PATH=$JAVA_HOME/bin:$PATH and do ./red5.sh start that should get rid of this problem, but to get rid of this problem forever, you will need to modify your path and have java 5.0 in your path. Paul On 1/3/07, K. S. <[EMAIL PROTECTED]> wrote:
then I get this answer. what can I do to resolve this? [EMAIL PROTECTED] ~]# which java /usr/bin/java [EMAIL PROTECTED] ~]# java -version java version "1.4.2_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03) Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode) [EMAIL PROTECTED] ~]# echo $JAVA_HOME ./usr/java/jdk1.5.0. 2007/1/3, Paul Dhaliwal <[EMAIL PROTECTED]>: > > This probably means that you compiled your code using java 5.0, and you > are trying to deploy it on 1.4.x., or something similar. > > output from these commands will help debugging it. > > which java > which javac > echo $JAVA_HOME > java -version > > and same commands from the place where your code was compiled. > > > I recommend that you don't run your server as root, its never the best > idea. > > > Paul > > > On 1/3/07, K. S. < [EMAIL PROTECTED]> wrote: > > > What is this error. I never get this before. > > > > [EMAIL PROTECTED] red5-0.6rc1]# ./red5.sh start > > Exception in thread "main" java.lang.UnsupportedClassVersionError: > > org/red5/serv > > er/Standalone (Unsupported major.minor version 49.0) > > at java.lang.ClassLoader.defineClass0(Native Method) > > at java.lang.ClassLoader.defineClass(Unknown Source) > > at java.security.SecureClassLoader.defineClass(Unknown Source) > > at java.net.URLClassLoader.defineClass (Unknown Source) > > at java.net.URLClassLoader.access$100(Unknown Source) > > at java.net.URLClassLoader$1.run(Unknown Source) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(Unknown Source) > > at java.lang.ClassLoader.loadClass(Unknown Source) > > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > > at java.lang.ClassLoader.loadClass (Unknown Source) > > at java.lang.ClassLoader.loadClassInternal(Unknown Source) > > > > > > _______________________________________________ > > Red5 mailing list > > [email protected] > > http://osflash.org/mailman/listinfo/red5_osflash.org > > > > > > > > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org > > > _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
