System properties

Different mobile devices support different sets of Java APIs and other features. System properties allow you to determine which features are supported on a device. For example, you can use system properties to retrieve information about supported API versions, localized directory names, and whether a certain feature is available on the device. To retrieve system properties, use the java.lang.System.getProperty method. For instructions on how to use this method, see How to read system properties in Java ME on Forum Nokia.

For more information about the supported system properties, see the following sections:

For an example on using system properties, see the system properties example MIDlet.