FreeBSD manual

download PDF document: registervm.1.pdf

REGISTERVM(1) FreeBSD General Commands Manual 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 /usr/local/etc/javavms The location of the Java VM wrapper configuration file.
EXAMPLES /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.
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.
FreeBSD 14.0-RELEASE-p6 November 12, 2019 FreeBSD 14.0-RELEASE-p6