REGISTERVM(1)

NAME
registervm, unregistervm - register/unregister a Java VM

SYNOPSIS
registervm /path/to/java
unregistervm /path/to/java

DESCRIPTION
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.

FILES

%%PREFIX%%/etc/javavms
    The location of the Java VM wrapper configuration file.

EXAMPLES

%%PREFIX%%/bin/registervm %%LOCALBASE%%/openjdk11/bin/java
    Register %%LOCALBASE%%/openjdk11/bin/java as a possible choice of Java VM for javavm.

%%PREFIX%%/bin/unregistervm %%LOCALBASE%%/openjdk11/bin/java
    Remove %%LOCALBASE%%/openjdk11/bin/java as a possible choice of Java VM for javavm.

SEE ALSO
checkvms(1), javavm(1), javavms(5)

BUGS
The registervm and unregistervm utilities remove both blank lines and purely comment lines from the Java VM wrapper configuration file.