12-10-2008 08:48 AM
@MA4312: regarding the very long time it took to start the simulator. It seems that some simulators can take ages on their first run to create the emulated flash store and file system, etc. You can see these files (ranging from relatively small to over 60 meg) and occassionally some of the simulators create a necessary DLL too. After the first run of a given simulator the following runs should be quicker.
With Eclipse 18.104.22.168 and plugin 22.214.171.124 i sometimes get a timeout from the simulator for no reason. You can try making the timeout longer (Preferences - Java - Debug - Debugger timeout (ms)). I'm too impatience to wait around and normally kill the simulator and re-run.
12-10-2008 08:53 AM
12-10-2008 09:05 AM
@shamusschubert: if you want to do cheeky development deploys using a USB cable and are not going to try to read custom JAD properties i'd suggest you use javaloader that comes with each of the various JDE packs. I have a batch file with the following line - change the location/name of the COD to your own obviously:
"C:\tools\RIM\BlackBerry JDE 4.2.0\bin\javaloader" -usb load ..\dist\Shazam430.cod
If you want to access custom JAD properties, or want to install as a user would then you can perservere with ALX or install over the air. Sometimes ALX works for me, other times it tells me no new software is available when i know it is so i gave up with ALX for now.
For OTA you will need the JAD and the COD files pieces. The COD file created from a build cannot be put on a web site directly; rename it as .ZIP, open it and extract the separate COD files (there may be 1 or more) and put each of those on the web site with the JAD. You do not distribute the JAR (even though it is referenced in the JAD - it isn't needed).
12-10-2008 08:43 PM
I tried that before, installing the JDE 4.5.0. It did appear in the eclipse installed components. But i want to try using the component packs instead of the JDE as an installed component. Can you help me with this?
Thanks so much for the reply.
12-11-2008 07:44 AM
12-12-2008 02:11 PM
The first beta release of the BlackBerry JDE Plug-in For Eclipse allowed the use of externally installed instances of the BlackBerry JDE or BlackBerry JDE Component Pack.
The current beta does not support this and requires the BlackBerry JDE Component Packs be installed as Eclipse plug-ins.
Regarding the missing plug-ins, please open Eclipse and go to Help, About and then click on the Plug-ins button. What plug-ins do you see from Research In Motion?
12-13-2008 11:25 PM
12-16-2008 07:16 PM
I think I'm using the older beta since the actual JDE's can be seen under Installed Components.
I looked at the Plug-ins under Research in Motion, 4.5.0 is installed. But it is not displayed under the Installed Components. Why is that?
12-18-2008 03:06 PM
05-27-2009 10:09 AM
I am getting the "failed to connect to remote VM" error message and it is not going away. I am having trouble getting my simulator to show changes in my application, so I did "Erase Simulator File->Erase All". I though this would clear out stored simulator data but that doesn't seem to be the case. I can see my simulators in the Debug Configurations, but they are not working correctly. How can I get my simulator to work AND display code changes? At this point I am willing to restart the simulator every time just so I can see it work.
Thanks in advance for any help.