www.LinuxHowtos.org
SERIALVER
Section: JDK Commands (1)Updated: 2023
Index Return to Main Contents
NAME
serialver- return the V]serialVersionUIDR] for one or more classes in a form suitable for copying into an evolving class
SYNOPSIS
V]serialverR] [I]optionsR]] [I]classnamesR]]
- I]optionsR]
- This represents the comman-line options for the V]serialverR] command. See B]Options for serialverR].
- I]classnamesR]
- The classes for which V]serialVersionUIDR] is to be returned.
DESCRIPTION
The V]serialverR] command returns the V]serialVersionUIDR] for one or more classes in a form suitable for copying into an evolving class. When called with no arguments, the V]serialverR] command prints a usage line.
OPTIONS FOR SERIALVER
- V-classpathR] I]pat-filesR]
- Sets the search path for application classes and resources. Separate classes and resources with a colon (:).
- V-JR]I]optionR]
- Passes the specified I]optionR] to the Java Virtual Machine, where I]optionR] is one of the options described on the reference page for the Java application launcher. For example, V--Xms48mR] sets the startup memory to 48 MB.
NOTES
The V]serialverR] command loads and initializes the specified classes in its virtual machine, and by default, it doesn[aq]t set a security manager. If the V]serialverR] command is to be run with untrusted classes, then a security manager can be set with the following option:
-
V--Djava.security.managerR]
When necessary, a security policy can be specified with the following option:
-
V--Djava.security.policy=R]I]policy_fileR]