1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/serialver.md

18 lines
573 B
Markdown
Raw Normal View History

2022-10-30 17:42:03 +05:30
# serialver
> Returns the serialVersionUID of classes.
> It does not set a security manager by default.
2023-06-04 07:18:54 +05:30
> More information: <https://docs.oracle.com/en/java/javase/20/docs/specs/man/serialver.html>.
2022-10-30 17:42:03 +05:30
- Display the serialVersionUID of a class:
`serialver {{classnames}}`
- Display the serialVersionUID for a colon-separated list of classes and resources:
2022-12-04 10:12:49 +01:00
`serialver -classpath {{path/to/directory}} {{classname1:classname2:...}}`
2022-10-30 17:42:03 +05:30
- Use a specific option from reference page of Java application launcher to the Java Virtual Machine:
`serialver -Joption {{classnames}}`