I have to use a code that compiles on Eclipse but fails to compile on IntelliJ. I understand that this is the code problem (generics related) but I can't modify it. So I tried to change compiler to Eclipse in the IntelliJ settings. But now compile fails with error:
Cannot run program "d:\software\intellij_idea_community_edition_9.0\jre\jre\bin\java": CreateProcess error=87, The parameter is incorrect.
Maybe I should specify something in Additional command line parameters field ? I use IntelliJ 9.0.2 Build #IC-95.66