Display the serialVersionUID for a colon-separated list of classes and resources

serialver

  • Returns the serialVersionUID of classes.
    It does not set a security manager by default.
    More information: <https://docs.oracle.com/en/java/javase/19/docs/specs/man/serialver.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

serialver -classpath {{directory}} {{classname1:classname2:...}}

click the source code to copy install serialver on any operating system with command-not-found.com