I've been playing around with LEGO Mindstorms and found the leJOS firmware that implements Java on the LEGO controller. Unfortunately, IDEA doesn't want to recognize the leJOS environment as a JDK, so I have to use Eclipse for an IDE.
I'm pretty sure I could script the external tools (linker, uploader) needed for use with IDEA. If nothing else, I could make a plugin to get it to work. However, the leJOS VM only implements a subset of the Java API, putting those classes in its own classes.zip. I need to replace the standard classes.zip with this one while developing; the easiest way I can see doing that is if IDEA treats the toolset as a new JDK.
Any ideas? Is it based on the presence of certain files? Particular scripts?