Skip Headers
Oracle® Fusion Middleware User's Guide for Oracle JRockit Virtual Edition
11g Release 1 (11.1.1.3.1)

Part Number E15206-03
Go to Documentation Home
Home
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

--force

You can include the --force option with other Image Tool options such as -a, -c, and -d, to override warnings that occur while executing those options.

For example, when you use the -d option to disassemble a virtual machine image, if the specified output directory is not empty, the command exits with a warning message. You can force the Image Tool to write to the nonempty directory by including --force.

Syntax

java -jar jrockitve-imagetool.jar option --force

You can include --force either before or after the options it accompanies.

Note:

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

Arguments

Argument Description
option The Image Tool option for which you want to override warnings

Example

When creating (assembling) a virtual machine image, if you specify a nonempty directory (say, app) as the output directory, the Image Tool exits with the following message:

Assembling the image ...
error: Cannot overwrite directory "app".

To force the Image Tool to put a virtual machine image in the nonempty directory, include --force with the -a option, as follows:

java -jar jrockitve-imagetool.jar -a myconfig.xml app --force

or

java -jar jrockitve-imagetool.jar --force -a myconfig.xml app