summaryrefslogtreecommitdiff
path: root/java/javavmwrapper/src/manvm.1
blob: 37c9a84b0d935abdfb3375981261637989ccd15a (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
.\"
.\" Copyright (C) 2006 Greg Lewis. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\"
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\"
.\" THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd November 12, 2019
.Os
.Dt MANVM 1
.Sh NAME
.Nm manvm
.Nd format and display the on-line Java VM manual pages
.Sh SYNOPSIS
.Nm
.Op Ar name
.Sh DESCRIPTION
.Nm Manvm
provides a convenient system for displaying the on-line manual pages
for different Java VMs without having to add their (conflicting) manual
page directories to
.Ev MANPATH
.Pp
By default,
.Nm
will select the most
.Dq native
and up to date version of the Java VM when locating the manual page to
be displayed.
This selection process is akin to that used by
.Nm javavm
in that the same environment variables and processes are used.
.Pp
The manual pages are displayed using
.Nm man ,
and all applicable environment variables, save for
.Ev MANPATH ,
are respected.
Options may be passed to
.Nm man
using the
.Ev JAVAVM_OPTS
environment variable and its associated sub-variables and configuration
file.
.Sh ENVIRONMENT
.Bl -tag -width indent
.It Ev JAVA_HOME
The presence of this variable in the environment when executing
.Nm
will override all other considerations regarding the Java VM whose on-line
manual pages will be displayed and the manual pages located at
.Pa ${JAVA_HOME}/man
will be used.
.Pp
.It Ev JAVA_OS
A space delimited list of operating systems.
The on-line manual pages to be displayed must come from a Java VM that has
been created for one of the operating systems in the list.
.Pp
Currently allowed operating system values are
.Ql native
and
.Ql linux .
.It Ev JAVA_VENDOR
A space delimited list of Java VM vendors.
The on-line manual pages to be displayed must come from a Java VM that has
been released by one of the vendors in the list.
.Pp
Currently allowed vendors are
.Ql openjdk ,
.Ql oracle ,
and
.Ql sun .
.It Ev JAVA_VERSION
A space delimited list of versions of the Java VM from which the on-line
manual pages may come.
By appending a
.Ql +
to a version, the on-line manual pages from any Java VM with a version
greater than or equal to the given version will be used.
.Pp
Currently allowed versions are
.Ql 1.7 ,
.Ql 1.7+ ,
.Ql 1.8 ,
.Ql 1.8+ ,
.Ql 1.9 ,
.Ql 1.9+ ,
.Ql 7 ,
.Ql 7+ ,
.Ql 8 ,
.Ql 8+ ,
.Ql 9 ,
.Ql 9+ ,
.Ql 10 ,
.Ql 10+ ,
.Ql 11 ,
.Ql 11+ ,
.Ql 12 ,
.Ql 12+ ,
.Ql 13 ,
.Ql 13+ ,
.Ql 14 ,
.Ql 14+ ,
.Ql 15 ,
and
.Ql 15+ .
.It Ev JAVAVM_OPTS
The contents of this environment variable will be passed to the invoked
.Nm man
as options.
For more information on environment variables which can be used to set
options see
.Pa %%PREFIX%%/etc/javavm_opts.conf.dist .
.El
.Sh EXAMPLES
.Bl -tag -width indent
.It Pa %%LOCALBASE%%/bin/manvm java
Display the on-line manual page for the
.Nm java
programme of the the most up to date and
.Dq native
Java VM registered with
.Nm javavm .
.It Ev JAVA_VERSION=8 Pa %%LOCALBASE%%/bin/manvm javac
Display the on-line manual page for the
.Nm javac
programme for a Java VM which is version 8.
.El
.Sh SEE ALSO
.Xr javavm 1 ,
.Xr man 1 ,
.Xr javavm_opts.conf 5