summaryrefslogtreecommitdiff
path: root/scripts/update-java-alternatives.8
blob: 07c4bcf184414556a887b5654d953d8cf21e1c3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
.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\-\-jre\-headless\fR
Limit the actions to alternatives belong to the headless part of a runtime environment.
.TP
\fB\-\-plugin\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>.