Oracle® Java ME Embedded Getting Started Guide for the Reference Platform (Raspberry Pi) Release 8 E48512-03 |
|
Previous |
Next |
There are several ways to change the value of a property that affects Java's configuration or behavior at runtime.
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:
Stop the Java runtime on the Raspberry Pi board.
Open the jwc_properties.ini
that is a part of the Oracle Java ME Embedded bundle (or download it from the board), find the property that should be changed, and modify its value.
Copy the modified version of the jwc_properties.ini
file to the /bin
directory on the Raspberry Pi board using the sftp
client program.
Restart Java on the Raspberry Pi board.
To modify a property using the set-property
command in the command-line interface (CLI), do the following.
Connect to the board using command-line interface (CLI).
Execute the "set-property
<property_name> <desired_property_value>" command.
Restart Java on the board.
Note, that by executing the set-property
command, the jwc_properties.ini
file is always updated automatically.