1serialver(1)                General Commands Manual               serialver(1)
2
3
4

Name

6       serialver - The Serial Version Command
7
8       The serialver command returns the serialVersionUID.
9

SYNOPSIS

11       serialver [ options ] [ classnames ]
12
13
14          options
15             Command-line options, as specified in this document.
16
17          classnames
18             One or more class names
19
20

DESCRIPTION

22       serialver  returns  the  serialVersionUID  for one or more classes in a
23       form suitable for copying into an evolving class. When invoked with  no
24       arguments it prints a usage line.
25

OPTIONS

27          -classpath <directories and zip/jar files separated by :>
28             Set search path for application classes and resources.
29
30
31          -show
32             Displays  a  simple user interface. Enter the full class name and
33             press either the Enter key or the  Show  button  to  display  the
34             serialVersionUID.
35
36          -Joption
37             Pass  option  to the Java virtual machine, where option is one of
38             the options described on the reference page for the java(1).  For
39             example, -J-Xms48m sets the startup memory to 48 megabytes.
40
41

NOTES

43       The  serialver  command  loads and initializes the specified classes in
44       its virtual machine, and by default, it does not set  a  security  man‐
45       ager. If serialver is to be run with untrusted classes, a security man‐
46       ager can be set with the following option:
47
48       -J-Djava.security.manager
49
50       and, if necessary, a security policy can be specified with the  follow‐
51       ing option:
52
53       -J-Djava.security.policy=<policy file>
54

SEE ALSO

56       java.io.ObjectStreamClass @
57       http://docs.oracle.com/javase/7/docs/api/java/io/ObjectStreamClass.html
58
59                                  16 Mar 2012                     serialver(1)
Impressum