1serialver(1) General Commands Manual serialver(1)
2
3
4
6 serialver - The Serial Version Command
7
8 The serialver command returns the serialVersionUID.
9
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
21 serialver returns the serialVersionUID for one or more classes in a
22 form suitable for copying into an evolving class. When invoked with no
23 arguments it prints a usage line.
24
26 -classpath <directories and zip/jar files separated
27 by :> Set search path for application classes and resources.
28
29 -show
30 Displays a simple user interface. Enter the full class name and
31 press either the Enter key or the Show button to display the seri‐
32 alVersionUID.
33
34 -Joption
35 Pass option to the Java virtual machine, where option is one of the
36 options described on the reference page for the java application
37 launcher. For example, -J-Xms48m sets the startup memory to 48
38 megabytes.
39
41 The serialver command loads and initializes the specified classes in
42 its virtual machine, and by default, it does not set a security man‐
43 ager. If serialver is to be run with untrusted classes, a security man‐
44 ager can be set with the following option:
45
46 -J-Djava.security.manager
47
48 and, if necessary, a security policy can be specified with the follow‐
49 ing option:
50
51 -J-Djava.security.policy=<policy file>
52
54 java.io.ObjectStreamClass @
55 http://java.sun.com/javase/6/docs/api/java/io/objectstreamclass.html
56
57 05 Aug 2006 serialver(1)