s
Java User's Guide
11.3 Java IDE
97
11.3.2.8
Compile and Debug
To build the jar and jad files you have rebuild the project with the Create Package function.
→
Open the context menu of the project and go to J2ME
Create Package.
Figure 44: Eclipse – Create package
→
Now you are ready to debug your project. Run
Debug...
An emulator launcher with pre-settings is provided for starting the debugging session.
Please ensure that you have selected the right project and executable midlet.
Note: Before starting Java debugging session with the HelloWorld-Sample it is recommended
to check the setting of used emulator (e.g. TC65_R3 emulator in project properties see
Section
11.3.2.5.2), to clean the project with configuration "automatically build" (using Eclipse menu
→
Project
Clean...) and to compile it completely (using project's context menu of the "Hel-
→
loWorld" project select J2ME
Create Package).
Reason: Eclipse is storing internally old settings for an old used "HelloWorld-Sample", if you
have used Eclipse with "HelloWorld-Sample" for another IMP-NG product before!
wm_java_usersguide_v12
Page 87 of 123
2008-02-25
Confidential / Released