Campbell Ritchie wrote:If 49.0 is Java5, you must have compiled it with a Java6 compiler and are running the code on a Java5 JVM.
I think you mean that the compiler must have been Java 5 and the JVM is Java 1.4. The class version in the .class file is 49.0 - Java 5.
Actually, Oracle Client was installed on my machine, that time oracle jvm 1.4 was set in the path. This was the root of the problem.
So now i have removed that path of oracle jvm 1.4 from PATH environ var, And the error has gone...