src/jdk.compiler/share/man/serialver.1
author bpb
Mon, 25 Nov 2019 15:30:35 -0800
changeset 59263 f34ad283fcd6
parent 55140 d4890c3721be
permissions -rw-r--r--
8179320: File.getUsableSpace() returns a negative number on very large file system Reviewed-by: alanb, rriggs, darcy
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
     1
.\" Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved.
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
     2
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
     3
.\"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
     4
.\" This code is free software; you can redistribute it and/or modify it
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
     5
.\" under the terms of the GNU General Public License version 2 only, as
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
     6
.\" published by the Free Software Foundation.
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
     7
.\"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
     8
.\" This code is distributed in the hope that it will be useful, but WITHOUT
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
     9
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    10
.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    11
.\" version 2 for more details (a copy is included in the LICENSE file that
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    12
.\" accompanied this code).
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    13
.\"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    14
.\" You should have received a copy of the GNU General Public License version
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    15
.\" 2 along with this work; if not, write to the Free Software Foundation,
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    16
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    17
.\"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    18
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    19
.\" or visit www.oracle.com if you need additional information or have any
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    20
.\" questions.
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    21
.\"
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    22
.\" Automatically generated by Pandoc 2.3.1
21743
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 14342
diff changeset
    23
.\"
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    24
.TH "SERIALVER" "1" "2018" "JDK 13" "JDK Commands"
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    25
.hy
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    26
.SH NAME
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    27
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    28
serialver \- return the \f[CB]serialVersionUID\f[R] for one or more
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    29
classes in a form suitable for copying into an evolving class
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    30
.SH SYNOPSIS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    31
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    32
\f[CB]serialver\f[R] [\f[I]options\f[R]] [\f[I]classnames\f[R]]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    33
.TP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    34
.B \f[I]options\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    35
This represents the command\-line options for the \f[CB]serialver\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    36
command.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    37
See \f[B]Options for serialver\f[R].
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    38
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    39
.RE
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    40
.TP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    41
.B \f[I]classnames\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    42
The classes for which \f[CB]serialVersionUID\f[R] is to be returned.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    43
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    44
.RE
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    45
.SH DESCRIPTION
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    46
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    47
The \f[CB]serialver\f[R] command returns the \f[CB]serialVersionUID\f[R] for
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    48
one or more classes in a form suitable for copying into an evolving
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    49
class.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    50
When called with no arguments, the \f[CB]serialver\f[R] command prints a
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    51
usage line.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    52
.SH OPTIONS FOR SERIALVER
21743
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 14342
diff changeset
    53
.TP
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    54
.B \f[CB]\-classpath\f[R] \f[I]path\-files\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    55
Sets the search path for application classes and resources.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    56
Separate classes and resources with a colon (:).
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    57
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    58
.RE
21743
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 14342
diff changeset
    59
.TP
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    60
.B \f[CB]\-J\f[R]\f[I]option\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    61
Passes the specified \f[I]option\f[R] to the Java Virtual Machine, where
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    62
\f[I]option\f[R] is one of the options described on the reference page
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    63
for the Java application launcher.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    64
For example, \f[CB]\-J\-Xms48m\f[R] sets the startup memory to 48 MB.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    65
.RS
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 21743
diff changeset
    66
.RE
55140
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    67
.SH NOTES
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    68
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    69
The \f[CB]serialver\f[R] command loads and initializes the specified
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    70
classes in its virtual machine, and by default, it doesn\[aq]t set a
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    71
security manager.
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    72
If the \f[CB]serialver\f[R] command is to be run with untrusted classes,
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    73
then a security manager can be set with the following option:
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    74
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    75
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    76
\f[CB]\-J\-Djava.security.manager\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    77
.RE
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    78
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    79
When necessary, a security policy can be specified with the following
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    80
option:
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    81
.RS
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    82
.PP
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    83
\f[CB]\-J\-Djava.security.policy=\f[R]\f[I]policy_file\f[R]
d4890c3721be 8225134: Update man-page files
jjg
parents: 52714
diff changeset
    84
.RE