Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

bad version in class file

Tags:

java

When I use certain jars in one of the connector projects i write for lombardi in TeamWorks eclipse i get a bad class version exception...

any ideas how this might be resolved..

Regards, Adhir

like image 291
Adhir Avatar asked Dec 06 '22 06:12

Adhir


1 Answers

You will get this error if you are using (say) Java 1.5 and you are using a JAR compiled with Java 1.6.

The easiest way to resolve is to upgrade your version of Java to the one used by the JAR.

like image 78
Simon Nickerson Avatar answered Dec 16 '22 21:12

Simon Nickerson