compile failing -- "wrong version" -- config issue or bug?

I've included lib\openapi.jar in my project's classpath, and get the following compile error, build 676. Anyone see this before?

Information: 1 error
Information: 0 warnings
Error: line (10) cannot access com.intellij.openapi.actionSystem.AnAction
bad class file: C:\IntelliJ-IDEA-3.0\lib\openapi.jar(com/intellij/openapi/actionSystem/AnAction.class)
class file has wrong version 48.0, should be 47.0
Please remove or make sure it appears in the correct subdirectory of the classpath.

1 comment

You are trying to compile with jdk 1.3, but the openapi classes are compiled for target 1.4.
If you use jdk 1.4 to compile a plugin, everything should work fine.


Please sign in to leave a comment.