serialver(1) | Remote Method Invocation (RMI) Tools | serialver(1) |
serialver - Returns the serial version UID for specified classes.
serialver [ options ] [ classnames ]
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.
The serialver command loads and initializes the specified classes in its virtual machine, and by default, it does not set a security manager. If the serialver command is to be run with untrusted classes, then a security manager can be set with the following option:
-J-Djava.security.manager
When necessary, a security policy can be specified with the following option:
-J-Djava.security.policy=<policy file>
21 November 2013 | JDK 8 |