11-17-2009 01:11 PM
Hello,
I'm using Eclipse 3.4 with the BlackBerry JDE installed along with the 4.7 components.
I'm attempting to run an example application and it builds/compiles without error when I right-click on the project and select "Build." However, when I right-click on the project and selec Run As --> BlackBerry Simulator, a new error appears in the "Problems" pane that prevents the application from running:
Description Resource Path Location Type
Error!: Error: java compiler failed: javac -source 1.3 -target 1.3 -g -O -d C:\DOCUME~1\asleson\LOCALS~1\Temp\rapc_447d336b.di
It's some sort of strange compiler error and I don't know what to do. Is there some JDK configuration I'm missing or something like that?
Thank you!!!!
Solved! Go to Solution.
11-17-2009 04:44 PM
Try cleaning the project before running the simulator (Project->Clean).
On a side note when you select "Build" Eclipse builds the project but it is not compiled for the BlackBerry. To build for the BlackBerry you... darn, I can't remember. I always used the shortcuts. The "compile for BlackBerry" shortcut is ALT-B.
When you run the simulator it automatically compiles your project for the BlackBerry.
11-18-2009 07:51 AM
Thanks a lot! Cleaning and rebuilding with the existing project didn't work, but when I created a new project and copied the sources over and did a clean and rebuild, it worked. Thanks!!!!!