1SERIALVER(1)                     JDK Commands                     SERIALVER(1)
2
3
4

NAME

6       serialver  -  return  the serialVersionUID for one or more classes in a
7       form suitable for copying into an evolving class
8

SYNOPSIS

10       serialver [options] [classnames]
11
12       options
13              This represents the command-line options for the serialver  com‐
14              mand.  See Options for serialver.
15
16       classnames
17              The classes for which serialVersionUID is to be returned.
18

DESCRIPTION

20       The  serialver  command  returns  the  serialVersionUID for one or more
21       classes in a form suitable for copying into an  evolving  class.   When
22       called with no arguments, the serialver command prints a usage line.
23

OPTIONS FOR SERIALVER

25       -classpath path-files
26              Sets  the  search  path  for  application classes and resources.
27              Separate classes and resources with a colon (:).
28
29       -Joption
30              Passes the specified option to the Java Virtual  Machine,  where
31              option is one of the options described on the reference page for
32              the Java application launcher.  For example, -J-Xms48m sets  the
33              startup memory to 48 MB.
34

NOTES

36       The  serialver  command  loads and initializes the specified classes in
37       its virtual machine, and by default, it doesn't set a security manager.
38       If  the  serialver  command is to be run with untrusted classes, then a
39       security manager can be set with the following option:
40
41              -J-Djava.security.manager
42
43       When necessary, a security policy can be specified with  the  following
44       option:
45
46              -J-Djava.security.policy=policy_file
47
48
49
50JDK 17                               2021                         SERIALVER(1)
Impressum