SERIALVER(1) JDK Commands SERIALVER(1)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

serialver \[*options*] \[*classnames*]

[*options*](#options)

This represents the command-line options for the serialver command. See **Options for serialver**.

[*classnames*](#classnames)

The classes for which serialVersionUID is to be returned.

# [DESCRIPTION](#DESCRIPTION)

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

# [OPTIONS FOR SERIALVER](#OPTIONS_FOR_SERIALVER)

-classpath *path-files*

Sets the search path for application classes and resources. Separate classes and resources with a colon (:).

-J*option*

Passes the specified *option* to the Java Virtual Machine, where *option* is one of the options described on the reference page for the Java application launcher. For example, -J-Xms48m sets the startup memory to 48 MB.

# [WARNING](#WARNING)

The serialver command loads and initializes the specified classes in order to determine their serialVersionUID values. *DO NOT RUN* serialver on untrusted classes.

1980 JDK 25.0.2.0.101

---

Document: serialver(1) from zulu-25-cpu 25.0.2.0.101-r1 (Chainguard OS)
Source: https://github.com/chainguard-dev/zulu-jdk
