Depending on your Java development environment, install either the net_rim_api.jar file (BlackBerry) or the android.jar file (Android) to avoid code generation errors when generating Java code for native application development.
After generating Java code for BlackBerry or Android, error icons appear next to the project for which you generated the code. These errors can be viewed in the Problems view and usually in the project's <MobileApplicationProjectName>DB.java file, and appear because of dependencies on the net_rim_api.jar or android.jar file if not in the project build path. You can avoid these errors by following this procedure for any projects for which you generate Java code: