1serialver(1) Remote Method Invocation (RMI) Tools serialver(1)
2
3
4
6 serialver - Returns the serial version UID for specified classes.
7
9 serialver [ options ] [ classnames ]
10
11
12 options
13 The command-line options. See Options.
14
15 classnames
16 The classes for which the serialVersionUID is to be returned.
17
19 The serialver command returns the serialVersionUID for one or more
20 classes in a form suitable for copying into an evolving class. When
21 called with no arguments, the serialver command prints a usage line.
22
24 -classpath path-files
25 Sets the search path for application classes and resources.
26 Separate classes and resources with a colon (:).
27
28 -show
29 Displays a simple user interface. Enter the full class name and
30 press either the Enter key or the Show button to display the
31 serialVersionUID.
32
33 -Joption
34 Passes option to the Java Virtual Machine, where option is one
35 of the options described on the reference page for the Java
36 application launcher. For example, -J-Xms48m sets the startup
37 memory to 48 MB. See java(1).
38
40 The serialver command loads and initializes the specified classes in
41 its virtual machine, and by default, it does not set a security
42 manager. If the serialver command is to be run with untrusted classes,
43 then a security manager can be set with the following option:
44
45 -J-Djava.security.manager
46
47 When necessary, a security policy can be specified with the following
48 option:
49
50 -J-Djava.security.policy=<policy file>
51
52
54 ยท The java.io.ObjectStream class description at
55 http://docs.oracle.com/javase/8/docs/api/java/io/ObjectStreamClass.html
56
57
58
59JDK 8 21 November 2013 serialver(1)