06-23-2010 07:50 AM
The current app I am working on is compiled and running under SDK5.0. I downloaded in Eclipse SDK4.7 and 4.5 and want to compile against 4.5 to support 8300 devices.
When I open the Application Descriptor, the box in the build tab shows the three SDKs (4.7, 4.5 and 5.0) with the checkmark against the 5.0. I cannot change the checkmark.
I tried changing the JRE in the configuration and selecting the alternate, this just opens the 8300 simulator but does not recompile the app.
What's the procedure to change the SDK so that the app can be downloaded to legacy devices.
Solved! Go to Solution.
06-23-2010 07:55 AM
Try to right click your project in eclipse navigator/package explorer , than choose Build Path>Configure Build Path>Libraries tab>choose the given JRE(SDK) and click Edit to select your desired.
06-23-2010 10:39 AM
That does not do it, I only see the SDK5.0 listed and not other SDKs. There must be a different procedure to compile against the 4.5 or 4.7 SDK instead of the 5.0SDK.
Anyone at BlackBerry?
06-23-2010 12:38 PM - edited 06-23-2010 12:39 PM
Do the following steps:
1) Expand the project tree in package explorer.
2) Right click on the JRE System Library Folder and click on Properties.
3) Click on Alternate JRE and select the JRE version you want to use.
06-23-2010 11:01 PM
You should check that the 4.5 and 4.7 JREs are properly installed. Go to Windows > Preferences, expand the Java branch and select Installed JREs. If you don't see them there, that would explain why you can't follow the steps of sonicboomboy or Arjav.
06-24-2010 11:51 AM
Hi amiz, try this..
1. Install the JDE Component Package 4.7.0
2. Create the file BlackBerry.ee in the installation directory for the JDE 4.7, let say.. Program files\Research In Motion\BlackBerry JDE Component Package 4.7.0
The BlackBerry.ee have this content:
-Dee.name=BlackBerry JRE 4.7.0
-Dee.description=BlackBerry Java API Definitions, simulators and utilities for BlackBerry smartphone OS version 4.7.0
-Dee.copyright=Copyright (c) Research In Motion Ltd. 1997-2010 All Rights Reserved.
3. Add the JRE 4.7 in eclipse.
a) Choose Project properties
b) Choose Java Build Path -> Libraries -> Edit
c) Click "Installed JREs" (you will se only el JRE 5.0), then click the button "Add".
d) Select "BlackBerry Execution Env" , Next,
e) Search for the BlackBerry.ee file and put it in the "Definition Text Field"
4. If all is right, you will have two JREs installed, the 5.0 and the 4.7
5. In the previous window now you can choose the JRE 4.7. That's all.
Is the same process for add the JRE 4.5.