Previous Topic

Next Topic

Book Contents

Book Index

Specify the Device Platform

In the Platform Settings section, specify the operating system and CPU of the target platform following the instructions and save the Image Description file as shown on the figure below:

If some of the selected components from the Bundles or Build Settings sections are incompatible with the target device platforms, an error message will show up when attempting to generate the target runtime image.

mbs_ecl_img_specdevplat_v10

Define the Native Platform

From the Platforms list, specify the operating system/processor type which will be integrated on the platform.

Select JVM-Specific Startup Scripts

From Startup Scripts - Select one or more JVM-specific startup scripts, that the SDK offers, to be generated for launching the OSGi Runtime. Startup Scripts is synchronized with list of scripts that the associated runtime contains.

Add a JVM to the Image

If required, e.g. the JVM is not installed on the target device, in the VMs section specify the JVM images to add to the runtime image.

By default, you can choose from JVMs compatible with the target platform. For example, if you have selected Linux/x86 in Platforms, the Type box will contain only entries for this OS. To see all images regardless of the platform they are for, e.g. to generate an image for another environment, check the Show incompatible VMs box.

Then simply choose the one that you have explicitly downloaded on your PC.

When you add a JVM to the target image, the respective startup script will be automatically selected.

Add a Custom JVM

To add a custom JVM, execute the following steps:

  1. Click the Add button next to the VMs pane.
  2. In the Add VM dialog, if you will generate an image for an OS different from the one of your PC, activate the Show incompatible VMs option.
  3. Check Custom VM and from the Type list select from the JVMs supported by the runtime.
  4. Specify the location of the JVM image on your PC in the Location field.

    mbs_ecl_add_vm_v10

  5. In the Name text field, type the name of the custom JVM under which it will appear in the Image Description editor.
  6. Click OK to confirm. Otherwise, use Cancel.

For WinCE Set Image Location

If you will build the image for a WinCE platform, in the Image Location field specify the location where the image will be uploaded onto the device file system. The location will be used to configure the paths in the startup scripts properly.