Eclipse RIM Execution Environment

Note
Follow these instructions carefully to setup your development environment.
For each of the applications below, make sure to use the latest release.
Prerequisites
  1. Follow the Install Java instructions.
  2. Follow the Install Maven instructions.
  • Launch Eclipse
  • Setup JREs
    • Get one (or many) JDE environments downloaded from http://na.blackberry.com/eng/developers/javaappdev/javadevenv.jsp
    • Install into "C:\tools\rim" i.e. C:\tools\rim\jde-4.2.1
    • Go to Window -> Preferences -> Java -> Installed JREs
    • Click Add
      • Browse for your latest JDK folder
      • Set Default VM args to -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
      • Click OK to go back to preferences
      • Make the jdk the default (check it)
    • For each of the jde versions in "C:\tools\rim", do the following
      • Select your jdk and click Copy
      • Enter "rim-#.#.#" as the name
      • Remove all of the current JRE system libraries
      • Click Add External JAR and select "C:\tools\RIM\jde-#.#.#\lib\net_rim_api.jar"
      • Click OK to go back to preferences
      • TODO setup matching execution environments, including the JavaME one to 4.2.1
    • Go to Team -> Ignored Resources
      • Add the following patterns: "jde", "target", "~*"
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© 2011 Metova, Inc.