I'm developing my first Intellij plugin ("hello world plugin"), and would be very grateful for some help.
My problem is that my plugin module won't compile, it keeps saying "Wrong JDK type for plugin module".
What I have installed:
- Intellij IDEA , 5.0.1
- Sun SDK 1.5.0
What I did so far:
1. Created a Plugin Module ("File | new Module | Plugin Module).
Module is configured to work with java 5 (and also compile clases compatible for java 5).
To module libraries, I added jars (annotations.jar, openapi.jar, jdom.jar) which I found under IDEA installation .
2. created class HelloPlugin implements ProjectComponent, JDOMExternalizable, Configurable
When compiling the plugin module, I get error message
"Wrong JDK type for plugin module".
What is wrong ?
I searched the internet, and people keep referring to "IDEA JDK" - do I have to download it somewhere ?
Thanks very much.