21743
|
1 |
'\" t
|
|
2 |
.\" Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
|
3 |
.\"
|
|
4 |
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
5 |
.\"
|
|
6 |
.\" This code is free software; you can redistribute it and/or modify it
|
|
7 |
.\" under the terms of the GNU General Public License version 2 only, as
|
|
8 |
.\" published by the Free Software Foundation.
|
|
9 |
.\"
|
|
10 |
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
|
11 |
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
12 |
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
13 |
.\" version 2 for more details (a copy is included in the LICENSE file that
|
|
14 |
.\" accompanied this code).
|
|
15 |
.\"
|
|
16 |
.\" You should have received a copy of the GNU General Public License version
|
|
17 |
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
|
18 |
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
19 |
.\"
|
|
20 |
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
|
21 |
.\" or visit www.oracle.com if you need additional information or have any
|
|
22 |
.\" questions.
|
|
23 |
.\"
|
|
24 |
.\" Arch: generic
|
|
25 |
.\" Software: JDK 8
|
|
26 |
.\" Date: 21 November 2013
|
|
27 |
.\" SectDesc: Remote Method Invocation (RMI) Tools
|
|
28 |
.\" Title: serialver.1
|
|
29 |
.\"
|
|
30 |
.if n .pl 99999
|
|
31 |
.TH serialver 1 "21 November 2013" "JDK 8" "Remote Method Invocation (RMI) Tools"
|
|
32 |
.\" -----------------------------------------------------------------
|
|
33 |
.\" * Define some portability stuff
|
|
34 |
.\" -----------------------------------------------------------------
|
|
35 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
36 |
.\" http://bugs.debian.org/507673
|
|
37 |
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
|
38 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
39 |
.ie \n(.g .ds Aq \(aq
|
|
40 |
.el .ds Aq '
|
|
41 |
.\" -----------------------------------------------------------------
|
|
42 |
.\" * set default formatting
|
|
43 |
.\" -----------------------------------------------------------------
|
|
44 |
.\" disable hyphenation
|
|
45 |
.nh
|
|
46 |
.\" disable justification (adjust text to left margin only)
|
|
47 |
.ad l
|
|
48 |
.\" -----------------------------------------------------------------
|
|
49 |
.\" * MAIN CONTENT STARTS HERE *
|
|
50 |
.\" -----------------------------------------------------------------
|
2692
|
51 |
|
21743
|
52 |
.SH NAME
|
|
53 |
serialver \- Returns the serial version UID for specified classes\&.
|
|
54 |
.SH SYNOPSIS
|
|
55 |
.sp
|
|
56 |
.nf
|
2692
|
57 |
|
21743
|
58 |
\fBserialver\fR [ \fIoptions\fR ] [ \fIclassnames\fR ]
|
|
59 |
.fi
|
|
60 |
.sp
|
|
61 |
.TP
|
|
62 |
\fIoptions\fR
|
|
63 |
The command-line options\&. See Options\&.
|
|
64 |
.TP
|
|
65 |
\fIclassnames\fR
|
|
66 |
The classes for which the \f3serialVersionUID\fR is to be returned\&.
|
|
67 |
.SH DESCRIPTION
|
|
68 |
The \f3serialver\fR command returns the \f3serialVersionUID\fR for one or more classes in a form suitable for copying into an evolving class\&. When called with no arguments, the \f3serialver\fR command prints a usage line\&.
|
|
69 |
.SH OPTIONS
|
|
70 |
.TP
|
|
71 |
-classpath \fIpath-files\fR
|
|
72 |
.br
|
|
73 |
Sets the search path for application classes and resources\&. Separate classes and resources with a colon (:)\&.
|
|
74 |
.TP
|
|
75 |
-show
|
|
76 |
.br
|
|
77 |
Displays a simple user interface\&. Enter the full class name and press either the \fIEnter\fR key or the \fIShow\fR button to display the \f3serialVersionUID\fR\&.
|
|
78 |
.TP
|
|
79 |
-J\fIoption\fR
|
|
80 |
.br
|
|
81 |
Passes \f3option\fR to the Java Virtual Machine, where option is one of the options described on the reference page for the Java application launcher\&. For example, \f3-J-Xms48m\fR sets the startup memory to 48 MB\&. See java(1)\&.
|
|
82 |
.SH NOTES
|
|
83 |
The \f3serialver\fR command loads and initializes the specified classes in its virtual machine, and by default, it does not set a security manager\&. If the \f3serialver\fR command is to be run with untrusted classes, then a security manager can be set with the following option:
|
|
84 |
.sp
|
|
85 |
.nf
|
|
86 |
\f3\-J\-Djava\&.security\&.manager\fP
|
|
87 |
.fi
|
|
88 |
.nf
|
|
89 |
\f3\fP
|
|
90 |
.fi
|
|
91 |
.sp
|
|
92 |
When necessary, a security policy can be specified with the following option:
|
|
93 |
.sp
|
|
94 |
.nf
|
|
95 |
\f3\-J\-Djava\&.security\&.policy=<policy file>\fP
|
|
96 |
.fi
|
|
97 |
.nf
|
|
98 |
\f3\fP
|
|
99 |
.fi
|
|
100 |
.sp
|
|
101 |
.SH SEE\ ALSO
|
|
102 |
.TP 0.2i
|
|
103 |
\(bu
|
|
104 |
policytool(1)
|
|
105 |
.TP 0.2i
|
|
106 |
\(bu
|
|
107 |
The \f3java\&.io\&.ObjectStream\fR class description at http://docs\&.oracle\&.com/javase/8/docs/api/java/io/ObjectStreamClass\&.html
|
|
108 |
.RE
|
|
109 |
.br
|
|
110 |
'pl 8.5i
|
|
111 |
'bp
|