The serialver command returns the serialVersionUID.
serialver [ options ]
serialver returns the serialVersionUID for one or more classes in a form suitable for copying into an evolving class. When invoked with no arguments it prints a usage line.
java.io.ObjectStreamClass