mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-10 23:58:19 +00:00
Update cheatsheets
This commit is contained in:
22
serialver
Normal file
22
serialver
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# serialver
|
||||
|
||||
> Returns the serialVersionUID of classes.
|
||||
> It does not set a security manager by default.
|
||||
> More information: <https://docs.oracle.com/en/java/javase/20/docs/specs/man/serialver.html>.
|
||||
|
||||
- Display the serialVersionUID of a class:
|
||||
|
||||
`serialver {{classnames}}`
|
||||
|
||||
- Display the serialVersionUID for a colon-separated list of classes and resources:
|
||||
|
||||
`serialver -classpath {{path/to/directory}} {{classname1:classname2:...}}`
|
||||
|
||||
- Use a specific option from reference page of Java application launcher to the Java Virtual Machine:
|
||||
|
||||
`serialver -Joption {{classnames}}`
|
||||
Reference in New Issue
Block a user