Oracle® Fusion Middleware User's Guide for Oracle JRockit Virtual Edition 11g Release 1 (11.1.1.3.1) Part Number E15206-03 |
|
|
View PDF |
You can use the -p
option to replace the Oracle JRockit Virtual Edition binary (JVM, the kernel, and services) within the virtual machine with a new release.
Note:
The-p
option does not modify the Java application within the virtual machine, the configuration of the virtual machine, and the virtual machine log files.
To change the configuration of the virtual machine, use the -r (--reconfigure) option.
To modify the Java application, use the -f (--file) option.
java -jar jrockitve-imagetool.jar -p vm_cfg [path/]jrockitve.bin
Note:
For information about the syntax conventions, see Documentation Conventions for Command-Line Syntax.Argument | Description |
---|---|
vm_cfg |
Path and name of the configuration file corresponding to the virtual machine file system that you want to patch |
path |
The path of the directory that contains the new release of the jrockitve.bin file |
java -jar jrockitve-imagetool.jar -p app/vm.cfg /patches/v2/jrockitve.bin
This command replaces the Oracle JRockit Virtual Edition binary within the virtual machine with the jrockitve.bin
file that exists in the /patches/v2
directory on the local file system.
If the patching fails for any reason (for example, due to insufficient disk space), the virtual machine image is reverted to its state before the patching was attempted, and an error message is displayed.
After running the command, you can check whether the command was successful by using the -v (--version) option to view the release of the new Oracle JRockit Virtual Edition binary.
For information about the limitations of the -p
option, see Appendix D, "Known Issues."