Skip Headers

Oracle® JRockit Virtual Edition User's Guide Release 2.0.0 Part Number E22518-01 |
Home | Contents | Contact Us

Previous | Next
| View PDF

# 2.3 Assembling a Virtual Machine Image

To assemble a virtual machine image, run the following command:

    java -jar jrockitve-imagetool.jar -a config.xml output_dir hypervisor

This command assembles a virtual machine image, which consists of two files – `system.img` and `vm.cfg`, in the `output_dir` directory.

The Image Tool supports the following values for `hypervisor`:

- `oraclevm` - creates virtual machine image for Oracle VM (64-bit mode)

- `virtualbox` - creates virtual machine image for Oracle VM VirtualBox (32-bit mode; for development and evaluation purpose only)

Note:

After importing the virtual machine image into Oracle VM VirualBox, you should not change the default hardware settings. You can only change the number of CPUs and the memory of the virtual machine.

The process of assembling a virtual machine image usually takes a few seconds. The actual time taken varies according to the size of the Java application that you are virtualizing.

For more information about running virtual machines on Oracle VM, see Chapter 3, "Creating Virtual Machines on Oracle VM."

For more information about Oracle VM VirtualBox, see the Oracle VM VirtualBox documentation at:

`http://www.oracle.com/technetwork/server-storage/virtualbox/documentation/index.html`

For more information about the `-a` option, see Appendix A, "Image Tool Command-Line Option Reference."