4176N/A." Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
0N/A." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A."
0N/A." This code is free software; you can redistribute it and/or modify it
0N/A." under the terms of the GNU General Public License version 2 only, as
0N/A." published by the Free Software Foundation.
0N/A."
0N/A." This code is distributed in the hope that it will be useful, but WITHOUT
0N/A." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A." version 2 for more details (a copy is included in the LICENSE file that
0N/A." accompanied this code).
0N/A."
0N/A." You should have received a copy of the GNU General Public License version
0N/A." 2 along with this work; if not, write to the Free Software Foundation,
0N/A." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A."
2362N/A." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A." or visit www.oracle.com if you need additional information or have any
2362N/A." questions.
0N/A."
4880N/A.TH serialver 1 "16 Mar 2012"
0N/A
0N/A.LP
1178N/A.SH "Name"
0N/Aserialver \- The Serial Version Command
0N/A.LP
0N/A.LP
0N/AThe \f3serialver\fP command returns the \f2serialVersionUID\fP.
0N/A.LP
0N/A.SH "SYNOPSIS"
0N/A.LP
0N/A.nf
0N/A\f3
0N/A.fl
0N/A\fP\f3serialver\fP [ options ] [ classnames ]
0N/A.fl
0N/A.fi
0N/A
0N/A.LP
0N/A.RS 3
0N/A.TP 3
0N/Aoptions
0N/ACommand\-line options, as specified in this document.
0N/A.TP 3
0N/Aclassnames
0N/AOne or more class names
1178N/A.RE
1178N/A
0N/A.LP
0N/A.SH "DESCRIPTION"
0N/A.LP
0N/A.LP
0N/A\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.
0N/A.LP
0N/A.SH "OPTIONS"
0N/A.LP
1178N/A.RS 3
0N/A.TP 3
1178N/A\-classpath <directories and zip/jar files separated by :>
0N/ASet search path for application classes and resources.
1178N/A.RE
1178N/A
0N/A.LP
1178N/A.RS 3
0N/A.TP 3
0N/A\-show
0N/ADisplays a simple user interface. Enter the full class name and press either the Enter key or the Show button to display the serialVersionUID.
0N/A.TP 3
0N/A\-Joption
1178N/APass \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.
1178N/A.RE
1178N/A
0N/A.LP
0N/A.SH "NOTES"
0N/A.LP
0N/A.LP
0N/AThe \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:
0N/A.LP
0N/A.LP
0N/A\f2\-J\-Djava.security.manager\fP
0N/A.LP
0N/A.LP
0N/Aand, if necessary, a security policy can be specified with the following option:
0N/A.LP
0N/A.LP
0N/A\f2\-J\-Djava.security.policy=<policy file>\fP
0N/A.LP
0N/A.SH "SEE ALSO"
0N/A.LP
0N/A.LP
0N/A.na
0N/A\f2java.io.ObjectStreamClass\fP @
0N/A.fi
4880N/Ahttp://docs.oracle.com/javase/7/docs/api/java/io/ObjectStreamClass.html
0N/A.LP
0N/A