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.1 Overview of the Process to Create a Virtual Machine Image

The Image Tool enables you to create a virtual machine image from a Java application in two steps:

1. Create a configuration file for the virtual machine (see Section 2.2).

   In this step, you create an XML file in which you specify the name of the virtual machine, the amount of memory that the hypervisor must make available for the virtual machine, the number of CPUs that the virtual machine requires, and so on. In the configuration file, you also specify the `java` command for running your application; the command can include arguments for both the JRockit JVM and for the Java application.

   By using the Image Tool, you can generate a sample configuration file (`.xml`). You can use the sample configuration file as a template and modify it to specify the required configuration information, by editing the XML file in any text editor.

   For information about the elements of the configuration file and their attributes, see Appendix B, "Configuration File Element Reference."

2. Assemble a virtual machine image (see Section 2.3).

   In this step, you create a virtual machine image that you can run on Oracle VM, based on the configuration that you defined in the configuration file.

Figure 2-1 illustrates the process of creating a virtual machine image from a Java application.

Figure 2-1 Creating a Virtual Machine Image from a Java Application

Description of "Figure 2-1 Creating a Virtual Machine Image from a Java Application"