2
|
1 |
.'" t
|
|
2 |
."
|
|
3 |
." Copyright 2000-2006 Sun Microsystems, Inc. All Rights Reserved.
|
|
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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
|
21 |
." CA 95054 USA or visit www.sun.com if you need additional information or
|
|
22 |
." have any questions.
|
|
23 |
."
|
|
24 |
." `
|
|
25 |
.TH serialver 1 "05 Aug 2006"
|
|
26 |
." Generated by html2roff
|
|
27 |
|
|
28 |
.LP
|
|
29 |
.SH NAME
|
|
30 |
serialver \- The Serial Version Command
|
|
31 |
.LP
|
|
32 |
|
|
33 |
.LP
|
|
34 |
.LP
|
|
35 |
The \f3serialver\fP command returns the \f2serialVersionUID\fP.
|
|
36 |
.LP
|
|
37 |
.SH "SYNOPSIS"
|
|
38 |
.LP
|
|
39 |
|
|
40 |
.LP
|
|
41 |
.nf
|
|
42 |
\f3
|
|
43 |
.fl
|
|
44 |
\fP\f3serialver\fP [ options ] [ classnames ]
|
|
45 |
.fl
|
|
46 |
.fi
|
|
47 |
|
|
48 |
.LP
|
|
49 |
.RS 3
|
|
50 |
|
|
51 |
.LP
|
|
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
|
|
58 |
.LP
|
|
59 |
.RE
|
|
60 |
.SH "DESCRIPTION"
|
|
61 |
.LP
|
|
62 |
|
|
63 |
.LP
|
|
64 |
.LP
|
|
65 |
\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.
|
|
66 |
.LP
|
|
67 |
.SH "OPTIONS"
|
|
68 |
.LP
|
|
69 |
|
|
70 |
.LP
|
|
71 |
.TP 3
|
|
72 |
\-classpath <directories and zip/jar files separated
|
|
73 |
by :>
|
|
74 |
Set search path for application classes and resources.
|
|
75 |
.LP
|
|
76 |
.TP 3
|
|
77 |
\-show
|
|
78 |
Displays a simple user interface. Enter the full class name and press either the Enter key or the Show button to display the serialVersionUID.
|
|
79 |
.TP 3
|
|
80 |
\-Joption
|
|
81 |
Pass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for the java application launcher. For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes.
|
|
82 |
.LP
|
|
83 |
.SH "NOTES"
|
|
84 |
.LP
|
|
85 |
|
|
86 |
.LP
|
|
87 |
.LP
|
|
88 |
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:
|
|
89 |
.LP
|
|
90 |
.RS 3
|
|
91 |
|
|
92 |
.LP
|
|
93 |
.LP
|
|
94 |
\f2\-J\-Djava.security.manager\fP
|
|
95 |
.LP
|
|
96 |
.RE
|
|
97 |
.LP
|
|
98 |
and, if necessary, a security policy can be specified with the following option:
|
|
99 |
.LP
|
|
100 |
.RS 3
|
|
101 |
|
|
102 |
.LP
|
|
103 |
.LP
|
|
104 |
\f2\-J\-Djava.security.policy=<policy file>\fP
|
|
105 |
.LP
|
|
106 |
.RE
|
|
107 |
.SH "SEE ALSO"
|
|
108 |
.LP
|
|
109 |
|
|
110 |
.LP
|
|
111 |
.LP
|
|
112 |
.na
|
|
113 |
\f2java.io.ObjectStreamClass\fP @
|
|
114 |
.fi
|
|
115 |
http://java.sun.com/javase/6/docs/api/java/io/objectstreamclass.html
|
|
116 |
.LP
|
|
117 |
|
|
118 |
.LP
|
|
119 |
|