8 comments
Comment actions Permalink

Needless to say, you should checkout the right tag when using it as SDK source.
And some time ago I had a problem when I used JDK 1.7, because some people still used JDK 1.6 and IJ would not start because of it.

0
Comment actions Permalink

That's a good point regarding the JDK version. If you're on windows though getting 1.6 requires going through Oracle's warning saying it's not secure and you shouldn't use it. If you have Windows 8 you can get 1.6 but it will involve accepting disclaimers and seeing a lot of red text. Seems like if you're using 1.6 you are going to have issues, at least according to Oracle. I'm not really sure what the consquences of just using 1.7 are, but it seems bad to recommend using an out of date JDK version that Oracle says is now insecure.

0
Comment actions Permalink

But some people still use seriously old stuff, and old IntelliJ... this version is for IJ 9 and 10:
untitled.PNG

0
Comment actions Permalink

Wow that's crazy. Thanks for the usage data. The plugin.xml file lets you specify an idea version so one could mitigate the problem by requiring newer versions of Intellij IDEA, but then the audience for the plugin is diminished.

0
Comment actions Permalink

BTW,  I think that compiling with the old JDK is fine, security is all about the VM.
http://stackoverflow.com/questions/3846237/security-issues-of-compiling-against-older-jdks

Few months ago, I even started publishing a maven plugin compiled against JDK 1.5, because someone wanted it...

0
Comment actions Permalink

Ok cool. And I actually ran into a 1.7 issue that I fixed by using 1.6 and rewriting some Java 7 code. So I've updated the blog post. Thanks.

0
Comment actions Permalink

Note that 1.6 is still the default and the most stable version for running IntelliJ (and hence plugins) on OSX. You don't have to require it for execution on Windows, but you do have to compile for it and be careful about using new APIs.

0
Comment actions Permalink

Thanks for the blog post! :)

It would be cool if JetBrains could add such links to the Confluence pages perhaps?
As it's perhaps unlikely that a stray soul would happen across your blog from Google, or finding this forum post for instance :p

0

Please sign in to leave a comment.