2692
|
1 |
." Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
|
2
|
2 |
." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
3 |
."
|
|
4 |
." This code is free software; you can redistribute it and/or modify it
|
|
5 |
." under the terms of the GNU General Public License version 2 only, as
|
|
6 |
." published by the Free Software Foundation.
|
|
7 |
."
|
|
8 |
." This code is distributed in the hope that it will be useful, but WITHOUT
|
|
9 |
." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
10 |
." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
11 |
." version 2 for more details (a copy is included in the LICENSE file that
|
|
12 |
." accompanied this code).
|
|
13 |
."
|
|
14 |
." You should have received a copy of the GNU General Public License version
|
|
15 |
." 2 along with this work; if not, write to the Free Software Foundation,
|
|
16 |
." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
17 |
."
|
5506
|
18 |
." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
|
19 |
." or visit www.oracle.com if you need additional information or have any
|
|
20 |
." questions.
|
2
|
21 |
."
|
2692
|
22 |
.TH serialver 1 "04 May 2009"
|
|
23 |
." Generated from HTML by html2man (author: Eric Armstrong)
|
2
|
24 |
|
|
25 |
.LP
|
2692
|
26 |
.SH "Name"
|
2
|
27 |
serialver \- The Serial Version Command
|
|
28 |
.LP
|
2692
|
29 |
.RS 3
|
2
|
30 |
|
|
31 |
.LP
|
|
32 |
.LP
|
|
33 |
The \f3serialver\fP command returns the \f2serialVersionUID\fP.
|
|
34 |
.LP
|
2692
|
35 |
.RE
|
2
|
36 |
.SH "SYNOPSIS"
|
|
37 |
.LP
|
|
38 |
|
|
39 |
.LP
|
|
40 |
.nf
|
|
41 |
\f3
|
|
42 |
.fl
|
|
43 |
\fP\f3serialver\fP [ options ] [ classnames ]
|
|
44 |
.fl
|
|
45 |
.fi
|
|
46 |
|
|
47 |
.LP
|
|
48 |
.RS 3
|
|
49 |
|
|
50 |
.LP
|
2692
|
51 |
.RS 3
|
2
|
52 |
.TP 3
|
|
53 |
options
|
|
54 |
Command\-line options, as specified in this document.
|
|
55 |
.TP 3
|
|
56 |
classnames
|
|
57 |
One or more class names
|
2692
|
58 |
.RE
|
|
59 |
|
2
|
60 |
.LP
|
|
61 |
.RE
|
|
62 |
.SH "DESCRIPTION"
|
|
63 |
.LP
|
|
64 |
|
|
65 |
.LP
|
|
66 |
.LP
|
|
67 |
\f3serialver\fP returns the \f2serialVersionUID\fP for one or more classes in a form suitable for copying into an evolving class. When invoked with no arguments it prints a usage line.
|
|
68 |
.LP
|
|
69 |
.SH "OPTIONS"
|
|
70 |
.LP
|
|
71 |
|
|
72 |
.LP
|
2692
|
73 |
.RS 3
|
2
|
74 |
.TP 3
|
2692
|
75 |
\-classpath <directories and zip/jar files separated by :>
|
2
|
76 |
Set search path for application classes and resources.
|
2692
|
77 |
.RE
|
|
78 |
|
2
|
79 |
.LP
|
2692
|
80 |
.RS 3
|
2
|
81 |
.TP 3
|
|
82 |
\-show
|
|
83 |
Displays a simple user interface. Enter the full class name and press either the Enter key or the Show button to display the serialVersionUID.
|
|
84 |
.TP 3
|
|
85 |
\-Joption
|
2692
|
86 |
Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for the java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes.
|
|
87 |
.RE
|
|
88 |
|
2
|
89 |
.LP
|
|
90 |
.SH "NOTES"
|
|
91 |
.LP
|
|
92 |
|
|
93 |
.LP
|
|
94 |
.LP
|
|
95 |
The \f3serialver\fP command loads and initializes the specified classes in its virtual machine, and by default, it does not set a security manager. If \f3serialver\fP is to be run with untrusted classes, a security manager can be set with the following option:
|
|
96 |
.LP
|
|
97 |
.RS 3
|
|
98 |
|
|
99 |
.LP
|
|
100 |
.LP
|
|
101 |
\f2\-J\-Djava.security.manager\fP
|
|
102 |
.LP
|
|
103 |
.RE
|
|
104 |
.LP
|
|
105 |
and, if necessary, a security policy can be specified with the following option:
|
|
106 |
.LP
|
|
107 |
.RS 3
|
|
108 |
|
|
109 |
.LP
|
|
110 |
.LP
|
|
111 |
\f2\-J\-Djava.security.policy=<policy file>\fP
|
|
112 |
.LP
|
|
113 |
.RE
|
|
114 |
.SH "SEE ALSO"
|
|
115 |
.LP
|
|
116 |
|
|
117 |
.LP
|
|
118 |
.LP
|
|
119 |
.na
|
|
120 |
\f2java.io.ObjectStreamClass\fP @
|
|
121 |
.fi
|
2692
|
122 |
http://java.sun.com/javase/6/docs/api/java/io/ObjectStreamClass.html
|
2
|
123 |
.LP
|
|
124 |
|
|
125 |
.LP
|
|
126 |
|