JDK7 dependency

Hey all,

I'm working on a plugin for a IntelliJ / AndroidStudio, I have a Java dependency that uses Java 7. When I compile & package my plugin with JDK7 and install it on the IDE
I get the following message: cannot create class "com.whatever.myplugin.actions.ActionName" [Plugin: com.whatever.myplugin]

Searching online revealed not so informative advice that "it must be compiled with JDK6.".

Would appreciate if anyone could elaborate on this.


1 comment
Comment actions Permalink

What kind of elaboration do you want? IntelliJ IDEA on Mac OS X runs under JDK 6. Therefore, you cannot use any dependencies that require Java 7 in your plugin.


Please sign in to leave a comment.