<p>I know RIM has their own IDE (<a href="http://na.blackberry.com/eng/developers/downloads/jde.jsp" rel="nofollow noreferrer">BlackBerry JDE</a>) for building BlackBerry apps, but does anyone know how to configure <a href="http://www.jetbrains.com/idea/index.html" rel="nofollow noreferrer">IntelliJ IDEA</a> to build/debug BlackBerry apps?</p>

[{'answer_id': 53770, 'author': 'Chris Kimpton', 'author_id': 48310, 'author_profile': 'https://Stackoverflow.com/users/48310', 'pm_score': 1, 'selected': False, 'text': '<p>Not really an answer, but more asking for clarification what is different for Blackberry dev versus other J2ME devices...</p>\n\n<p>I see its a <a href="http://na.blackberry.com/eng/developers/downloads/jde.jsp" rel="nofollow noreferrer">MIDP J2ME</a> device, and so the standard <a href="http://www.jetbrains.com/idea/webhelp2/creating-mobile-module.html" rel="nofollow noreferrer">Intellij J2ME</a> support would seem to give most of what is needed.</p>\n\n<p>I guess the emulator side of things might be different... but maybe you can call the jde emulator from IDEA...</p>\n\n<p>Regards,\nChris</p>\n'}, {'answer_id': 83469, 'author': 'TonyB', 'author_id': 3543, 'author_profile': 'https://Stackoverflow.com/users/3543', 'pm_score': 0, 'selected': False, 'text': '<p>Not sure if this will help but here are instructions for <a href="http://www.blackberryforums.com/developer-forum/138210-setup-up-eclipse-blackberry-development.html" rel="nofollow noreferrer">setting up Eclipse</a> for blackberry development.</p>\n\n<p>Maybe you can use that information to figure out what changes to need to make in IDEA.</p>\n'}, {'answer_id': 88387, 'author': 'Alexander', 'author_id': 16724, 'author_profile': 'https://Stackoverflow.com/users/16724', 'pm_score': 2, 'selected': False, 'text': "<p>RIM's compiler (the one that builds the COD files) can be easily run from the command line. All you need to do is create a corresponding build step in IDEA.</p>\n\n<p>Also, to make your life easier when editing the code, you may want to add the net_rim_api.jar (the one that comes with RIM JDE) to the JAR files used by your IDEA project.</p>\n\n<p>As for the debugger, RIM's debugger was supposed to support the standard Java debugger interface. I don't remember what the minimum version of JDE is required for that.</p>\n"}, {'answer_id': 127024, 'author': 'Eric', 'author_id': 21638, 'author_profile': 'https://Stackoverflow.com/users/21638', 'pm_score': 3, 'selected': True, 'text': '<p>RE: Chris\' question about what is different... Blackberry applications can be standard MIDP apps or CLDC apps that make use of the Blackberry specific APIs.  Most developers tend to take the latter approach, and then using Blackberry\'s tools is required - especially if you are using some of their secured APIs and have to sign your deployment files for them to run on the devices.</p>\n\n<p>A potential answer to the original question would be to use the <a href="http://bb-ant-tools.sourceforge.net/" rel="nofollow noreferrer">Blackberry ANT tools</a> to create an ANT script for building the application and reference that from IntelliJ IDEA.  Of course, that\'s only half the battle and to run/debug the application you\'ll need to connect the debugger to IDEA as noted by Alexander above.  Alternatively, you could code in IDEA and run/debug in the JDE, but that seems less than ideal, to say the least.</p>\n\n<p>I use Eclipse with the Blackberry plugin.  Also not ideal, since you are forced to use an old (and buggy) version of Eclipse, but at least I\'m in one IDE and can step through code running in a simulator.</p>\n\n<p>Blackberry JDE integration would be a great IntelliJ plugin project.</p>\n'}, {'answer_id': 312799, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': "<p>Its very easy to integrate IntelliJ with Blackberry development given the above suggestion (using the bb ant tasks), but I've yet to successfully debug the simulator through IntelliJ. It should work, but it doesn't.</p>\n\n<p>Thus, the 'integration' is incomplete.</p>\n"}, {'answer_id': 376752, 'author': 'Fostah', 'author_id': 16524, 'author_profile': 'https://Stackoverflow.com/users/16524', 'pm_score': 1, 'selected': False, 'text': "<p>I've been using IntelliJ to develop Blackberry apps...sort of.  IntelliJ is really good at indexing code, you just need to point it in the right direction.  It's editing abilities are way beyond the JDE and in my opinion it is much more flexible and user friendly than Eclipse (even though RIM has an Eclipse plug-in). </p>\n\n<p>I say sort of though as I just code in IntelliJ and currently still compile and debug through the JDE.  Hoping for better integration on that front with IntelliJ down the line, but it is an acceptable working environment for now.</p>\n"}]
['https://Stackoverflow.com/questions/52698', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2047/']