An applet requiring a virtual machine is downloaded to a wireless device.
A software platform on the device determines that a virtual machine is
used by the applet during execution. Without additional user interaction,
the virtual machine is downloaded to the wireless device. This allows
those applets requiring a virtual machine to be used with devices that
don't have the virtual machine already installed. Further embodiments
include the dynamic loading of a system service when an application is
being loaded that uses the system service. A unique identifier associated
with the system service may be used to determine if determine if the
system service is loaded.