Skip Headers
Oracle® Java Micro Edition Connected Device Configuration Runtime Guide
Release 1.1.2 for Oracle Java Micro Edition Embedded Client
A12345-01
  Go To Table Of Contents
Contents

Previous
Previous
 
 

C Java ME System Properties

In addition to the standard Java SE system properties, CDC supports the standard Java ME system properties supported by CLDC 1.1 and MIDP 2.0. These system properties are described in Table C-1.

Table C-1 CDC System Properties

System Property Default Value Description

microedition.commports

No default

Comma-delimited list of available communications ports

microedition.configuration

cdc

Java ME configuration

microedition.encoding

ISO_LATIN_1

Unicode character encoding

microedition.hostname

No default

Host platform

microedition.locale

en-US

System locale

microedition.platform

j2me

Java platform

microedition.profiles

No default

Java ME profile

microedition.securerandom.nofallback

false

Disable the mechanism that allows the CDC Java runtime environment to fallback to using /dev/urandom if /dev/random doesn't have enough entropy to work properly. See Section 4.2.4, "Seed Generation for Random Number Generation" for more information.

cdcams.decorations

false

Display native window decorations.

cdcams.presentation

No default

Top-level presentation mode class.

cdcams.repository

CVMHOME/repository

Location of application repository.

cdcams.verbose

false

Display extra diagnostic information.

java.ext.dirs

CVMHOME/lib

Specifies one or more directories to search for installed optional packages, each separated by File.pathSeparatorChar.


For a list of the standard Java SE system properties, see the description of java.lang.System.getProperties() in the CDC specification.