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

# --repair

The `--repair` option checks the file systems for problems.

Syntax

    java -jar jrockitve-imagetool.jar --repair vm_cfg [repair_type]

Note:

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

Arguments

Argument | Description
--- | ---
vm_cfg | Path and name of the configuration file (`vm.cfg`) of the virtual machine for which the file system is to be checked.
repair_type | The possible values are: `prompt`: Checks for problems and, for each problem found, prompts the user to confirm whether the problem should be fixed. `auto` (default value): Checks for and fixes problems automatically. `check`: Checks for problems but does not fix them.

Example

    java -jar jrockitve-imagetool.jar --repair app/vm.cfg prompt

This command checks for problems in the file system of the virtual machine in the `app` directory. For each problem, the command prompts the user to confirm whether the problem should be fixed.