Name
serialver - return the serialVersionUID for one or more
classes in a form suitable for copying into an evolving class
Synopsis
serialver [options] [classnames]
- options
-
This represents the command-line options for the
serialvercommand. See Options for serialver. - classnames
-
The classes for which
serialVersionUIDis to be returned.
Description
The serialver command returns the
serialVersionUID for one or more classes in a form suitable
for copying into an evolving class. When called with no arguments, the
serialver command prints a usage line.
Options for serialver
-classpathpath-files- Sets the search path for application classes and resources. Separate classes and resources with a colon (:).
-Joption-
Passes the specified option to the Java Virtual Machine, where
option is one of the options described on the reference page
for the Java application launcher. For example,
-J-Xms48msets the startup memory to 48 MB.
Warning
The serialver command loads and initializes the
specified classes in order to determine their
serialVersionUID values. DO NOT RUN
serialver on untrusted classes.