registervm
, unregistervm
—
register/unregister a Java VM
unregistervm |
/path/to/java |
The registervm
and unregistervm
utilities allow a Java VM to be registered and unregistered as a possible Java
VM that javavm
can use. The registration process
places the registered VM in the Java VM wrapper configuration file in sorted
order. When unregistering the Java VM is removed from the Java VM wrapper
configuration file and will no longer be a possible choice for
javavm
.
- /usr/local/etc/javavms
- The location of the Java VM wrapper configuration file.
- /usr/local/bin/registervm /usr/local/openjdk11/bin/java
- Register /usr/local/openjdk11/bin/java as a possible choice of Java VM for
javavm
.
- /usr/local/bin/unregistervm /usr/local/openjdk11/bin/java
- Remove /usr/local/openjdk11/bin/java as a possible choice of Java VM for
javavm
.
The registervm
and unregistervm
utilities remove both blank lines and purely comment lines from the Java VM
wrapper configuration file.