Documentation



Oracle Java ME Embedded Getting Started Guide for the Reference Platform (Freescale FRDM-K64F)

Beta Draft: 2015-08-31

B Configuring the Java Runtime Properties

This appendix contains information about changing Java runtime properties.

There are several ways to change the value of a property that affects Java's configuration or behavior at runtime:

Modifying the jwc_properties.ini File

The jwc_properties.ini file contains all the properties that affect Java configuration and behavior at runtime. In order to edit this file, do the following:

  1. Eject the SD card from the K64F board.

  2. Mount the SD card to your desktop computer and open the jwc_properties.ini file.

  3. Find the property that should be changed, modify its value, and save the file.

  4. Eject or unmount the SD card from the desktop computer.

  5. Insert the SD card into the K64F board and press the Reset button.

Using the CLI set-property Command

To modify a property using the set-property command in the command-line interface (CLI), do the following.

  1. Connect to the board using command-line interface (CLI).

  2. Execute the set-property <property_name> <desired_property_value> command.

  3. Execute the save-properties command and restart Java on the board or execute the shutdown - r command.

Close Window

Table of Contents

Oracle Java ME Embedded Getting Started Guide for the Reference Platform (Freescale FRDM-K64F)

Expand | Collapse