ava.lang.UnsupportedClassVersionError: facebook (Unsupported major.minor version 49.0)
Originally posted by David O'Meara:
Welcome to the JavaRanch.
We're a friendly group, but we do require members to have valid display names.
Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.
Please edit your profile and correct your display name since accounts with invalid display names get deleted, often without warning
Originally posted by Poonam Gulve:
its working now.. thanks a lot .. i recompiled the java file on server..
but i dont understand one thing that my colleague has written his own servlet, compiled in 1.5 jdk, uploaded it onthe same server with jdk 1.6 and running it just fine .. he didnt requir any recompiling of the files .. what might be the reason ??
anyways thanks a lot again ..
Originally posted by Ben Souther:
This is probably it.
This error occurs when you compile one of your classes with a newer version of javac than the version of the JVM you are using at run time.
Either recompile with the same version as the one on your public server or use the -source switch in javac to specify that this class is to be compatible with the version of the JVM on your server.