Skip Headers
Oracle® Java ME Embedded Getting Started Guide for the Reference Platform (Freescale FRDM-K64F)
Release 8.1 Developer Preview
E55005-02
  Go To Table Of Contents
Contents

Previous
Previous
 
 

Beta Draft: 2014-11-14

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.

Direct Modification of 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.