36
Packaging Programs
When developing applications, there are two situations to be aware of when packaging
your applications for loading on the device.
• Accessing external libraries or resources–in this situation, make sure that all the
necessary libraries and resources are placed in the JAR file so that the application
has access to them on the device.
• Duplicate external class libraries–when packaging your application, be sure that
any external class libraries already available on the device’s KVM are not duplicated
in the JAR file. This prevents your application from using scarce program space to
duplicate already available functionality.