bad version in class file

后端 未结 5 597
滥情空心
滥情空心 2020-12-18 10:20

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

5条回答
  •  清酒与你
    2020-12-18 10:50

    This is a result of running code compiled with a compiler version that is greater than the version of java you are using to run it. IE Code compiled with 1.6 and you are running it with 1.5. See this post to determine what version it was compiled with.

    how-can-i-find-the-target-java-version-for-a-compiled-class

    the easiest fix is to run it with the most recent JVM.

提交回复
热议问题