FYI, if you feel yourself brave enough and exhausted already with automatic IDE setup you can try following this little tutorial of getting openHAB working from IntelliJ: Setting up development environment with IntelliJ any feedback on this is welcome.
Cheers,
Łukasz