Skip Headers
Oracle® Java Micro Edition Embedded Client Architecture Guide
Release 1.1
E23813-01
  Go To Table Of Contents
Contents

Previous
Previous
 
Next
Next
 

B System Properties

This appendix describes system properties supported by the Oracle Java Micro Edition Embedded Client.

In addition to the standard base Java SE system properties (see Table B-2), Oracle Java Micro Edition Embedded Client supports the additional system properties described in Table B-1.

Table B-1 Oracle Java Micro Edition Embedded Client System Properties

System Property Default Value Description

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.

com.sun.midp.implementation

No default

For dual-stack builds only, a space-separated list of jar files that provide a MIDP implementation.

com.sun.package.spec.version

"1.4.2"

Indicates the Java SE equivalent version for core class interfaces. Example: "1.4.2"

file.encoding

UTF-8

Character encoding for the default locale.

file.encoding.pkg

sun.io

Package that contains the converters that handle converting between local encodings and Unicode.

java.ext.dirs

CVMHOME/lib

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

java.vm.info

"mixed mode"

Indicates if virtual machine was built with just-in-time-compiler support.Values: "mixed mode" or "interpreter loop"

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 run-time environment to fallback to using /dev/urandom if /dev/random does not have enough entropy to work properly. See the Oracle Java Micro Edition Embedded Client Customization Guide for more information.

sun.arch.data.model

Platform-specific

Platform word size. Examples: "32", "64", "unknown"

sun.boot.class.path

No default

Default boot class path. In particular, includes jar files from the lib directory. It includes jar files for removable modules. Read-only property.

sun.boot.library.path

Specified on command line

From here, the VM loads VM libraries (like those related to JVMTI) and any libraries needed for classes on the -bootclasspath. Read-only property.

sun.cpu.endian

Platform-specific

Endianess of CPU, "little" or "big".

sun.io.unicode.encoding

Platform-specific, follows sun.cpu.endian

For example "unicodeLittle".

sun.java2d.fontpath

No default

User-defined path to fonts. Prefix the path value with "append:" or "prepend:" to specify if it should be searched before or after the JRE-defined font directories. Read-only property.

sun.misc.product

"Oracle Java Micro Edition Embedded Client"

"Oracle Java Micro Edition Embedded Client"

user.country

US

Country (system dependent).

user.language

en

Two-letter language code of the default locale (system dependent).

user.region

US

Two-letter country code of the default locale (system dependent).

user.timezone

UTC

Time zone (system dependent)

user.variant

No default

Variant (more specific than country and language).


Table B-2 lists the base Java SE properties defined by the CDC specification and supported by Oracle Java Micro Edition Embedded Client. These properties have no default values.

Table B-2 Base Java SE System Properties in Oracle Java Micro Edition Embedded Client

System Property Description

file.separator

File separator ("/" on UNIX)

java.class.path

Java class path

java.class.version

Java class format version number

java.compiler

Name of JIT compiler to use

java.ext.dirs

Path of extension directory or directories

java.home

Java installation directory

java.io.tmpdir

Default temp file path

java.library.path

Path from which to load native libraries. Default is absolute path to lib directory.

java.specification.name

Java Runtime Environment specification name

java.specification.vendor

Java Runtime Environment specification vendor

java.specification.version

Java Virtual Machine specification version

java.vendor

Java Runtime Environment vendor

java.vendor.url

Java vendor URL

java.version

Java Runtime Environment version

java.vm.name

Java Virtual Machine implementation name

java.vm.specification.name

Java Virtual Machine specification name

java.vm.specification.vendor

Java Virtual Machine specification vendor

java.vm.vendor

Java Virtual Machine implementation vendor

java.vm.version

Java Virtual Machine implementation version

line.separator

Line separator ("\n" on UNIX)

os.arch

Operating system architecture

os.name

Operating system name

os.version

Operating system version

path.separator

Path separator (":" on UNIX)

user.dir

User's current working directory

user.home

User's home directory

user.name

User's account name