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

# -c (--create-config)

The `-c` option generates a brief sample configuration file (in XML format) containing only those configuration parameters that are essential for creating virtual machine images. You can use this file as a template to create the final configuration file for your virtual machine.

Note:

You can use the --create-full-config option to create a detailed sample configuration file.

Syntax

    java -jar jrockitve-imagetool.jar -c [config_file.xml] [vm_name]

Note:

For information about the syntax conventions, see Documentation Conventions for Command-Line Syntax.

Arguments

Argument | Description | Mandatory / Optional | Default Value / Behavior
--- | --- | --- | ---
config_file.xml | The name of the sample brief configuration file to be created | Optional | If you do not specify the file name, the virtual machine configuration is printed (in XML format) to `stdout`.
vm_name | Name of the virtual machine | Optional | `default-vm` The name can contain only alphanumeric characters, periods (`.`), dashes (`-`), and underscores (`_`).

Example

    java -jar jrockitve-imagetool.jar -c myconfig.xml my-vm

This command creates a sample brief configuration file named `myconfig.xml`, as shown in Appendix C, "Sample Brief Configuration File." Note that the value of the `<vm-name>` element is set to `my-vm`.

Related Topics

--create-full-config

-d (--disassemble)

-r (--reconfigure)

Appendix B, "Configuration File Element Reference"