summaryrefslogtreecommitdiff
path: root/scripts/update-java-alternatives.8
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/update-java-alternatives.8')
-rw-r--r--scripts/update-java-alternatives.855
1 files changed, 55 insertions, 0 deletions
diff --git a/scripts/update-java-alternatives.8 b/scripts/update-java-alternatives.8
new file mode 100644
index 0000000..d6c0a99
--- /dev/null
+++ b/scripts/update-java-alternatives.8
@@ -0,0 +1,55 @@
+.TH UPDATE-JAVA-ALTERNATIVES "8" "May 2006"
+.SH NAME
+update-java-alternatives \- update alternatives for jre/sdk installations
+.SH SYNOPSIS
+.B update-java-alternatives [--jre] [--plugin] [-t|--test|-v|--verbose]
+ -l|--list [<jname>]
+ -s|--set <jname>
+ -a|--auto
+ -h|-?|--help
+.SH DESCRIPTION
+update-java-alternatives updates all alternatives belonging to one runtime
+or development kit for the Java language. A package does provide these
+information of it's alternatives in /usr/lib/jvm/.<jname>.jinfo.
+.SH OPTIONS
+.TP
+\fB\-l|\-\-list [<jname>]\fR
+List all installed packages (or just <jname>) providing information to set
+a bunch of java alternatives. Verbose output shows each alternative
+provided by the packages.
+.TP
+\fB\-a|\-\-auto\fR
+Switch all alternatives of registered jre/sdk installations to automatic mode.
+.TP
+\fB\-s|\-\-set <jname>\fR
+Set all alternatives of the registered jre/sdk installation to the program
+path provided by the <jname> installation.
+.TP
+\fB\-\-jre\fR
+Limit the actions to alternatives belong to a runtime environment,
+not a development kit.
+.TP
+\fB\-\-plugins\fR
+Limit the actions to alternatives providing browser plugins.
+.TP
+\fB\-h|\-\-help\fR
+Display a help message.
+.TP
+\fB\-t|\-\-test\fR
+Don't actually do anything, just say what would be done. The implementation
+status of this option is the same as for update-alternatives (not implemented).
+.TP
+\fB\-v|\-\-verbose\fR
+Verbose output.
+
+.SH FILES
+.TP
+.I /usr/lib/jvm/.*.jinfo
+A text file describing a jre/sdk installation. Consists of some
+variables of the form <var>=<value> and a list of alternatives of the form
+jre|jdk <name> <path>.
+
+.PP
+.SH AUTHOR
+update-java-alternatives and this manual page was written by Matthias
+Klose <doko@ubuntu.com>.