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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.