0

I am using jdk 1.5.0_22 and this is set in env variables also. my server also has the same java version.

but still I am getting this error "java.lang.UnsupportedClassVersionError: Bad version number in .class file". Please help.

3

1 Answer 1

3

Are you using any libraries (JAR files)? It could be that those were compiled with Java 6 and thus cannot be run on a Java 5 JVM.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.