利用安装包安装的,默认是JRE7.0的,如果我们想开发基于老版本的如JRE5.0,那就需要我们安装老的JRE,方法和
把BlackBerry作为插件安装到已有的Eclipse中 非常类似.
http://www.cnblogs.com/Jessy/archive/2012/01/29/2331184.html
具体步骤如下,
一。 Downloading and installing the BlackBerry Java Plug-in and
the Eclipse IDE
- Go to www.blackberry.com/developers/java.
- Click the Development tools and downloads link.
- Click the Download the BlackBerry Java Plug-in for Eclipse v1.3 (full
installer) link. This installer includes both the BlackBerry Java
Plug-in-in
for Eclipse and Eclipse 3.6. - Click Download.
- Click Save, and then save the file to a location on your
computer. - Double-click the setup application file.
- Click Run.
- On the Introduction screen, click Next.
- Review the license agreement, and then select I accept the terms of
the License Agreement. - Click Next.
- Choose a location where you would like to install Eclipse. You can use the
default location that’s specified on the screen or you specify a different
folder location. Note: The folder must be empty. - Click Next.
- On the Select Additional Tasks screen, select where you want the setup
application to create shortcuts for the BlackBerry Java Plug-in. - Click Next.
- Review the information on the Pre-installation Summary screen, and then
click Install. - Click Done.
二。安装组件安装包(BlackBerry Component Pack)
- From the Help menu, select Install New Software to open the
Install window. - Click the Add button:
- In the Add Site dialog, type the URL
http://www.blackberry.com/go/eclipseUpdate/3.6/java into
the
location text box and specify BlackBerry Java Plug-in Update
Site in the name text box. - Click the OK button, BlackBerry Update Site appears in the
Available Software list. - Select the BlackBerry Java Plug-in item and at least one
BlackBerry Component Pack item you want to work on. - Click the Next button.
- Click the Next button after reviewing the items to be
installed. - Check the I accept the terms of the license agreement radio
button after reviewing licenses. - Click the Finish button to begin installation.
- After successfully downloading the files, you’ll be prompted to restart the
Eclipse Platform. Choose to restart the platform.
Software versions (new updates available as of Nov. 17, 2011)
To verify you’re using the latest version of the BlackBerry Java Plug-in for
Eclipse or BlackBerry Java SDK: