serialver.1 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. '\" t
  2. .\" Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
  3. .\" Arch: generic
  4. .\" Software: JDK 8
  5. .\" Date: 21 November 2013
  6. .\" SectDesc: Remote Method Invocation (RMI) Tools
  7. .\" Title: serialver.1
  8. .\"
  9. .if n .pl 99999
  10. .TH serialver 1 "21 November 2013" "JDK 8" "Remote Method Invocation (RMI) Tools"
  11. .\" -----------------------------------------------------------------
  12. .\" * Define some portability stuff
  13. .\" -----------------------------------------------------------------
  14. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. .\" http://bugs.debian.org/507673
  16. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  17. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. .ie \n(.g .ds Aq \(aq
  19. .el .ds Aq '
  20. .\" -----------------------------------------------------------------
  21. .\" * set default formatting
  22. .\" -----------------------------------------------------------------
  23. .\" disable hyphenation
  24. .nh
  25. .\" disable justification (adjust text to left margin only)
  26. .ad l
  27. .\" -----------------------------------------------------------------
  28. .\" * MAIN CONTENT STARTS HERE *
  29. .\" -----------------------------------------------------------------
  30. .SH NAME
  31. serialver \- Returns the serial version UID for specified classes\&.
  32. .SH SYNOPSIS
  33. .sp
  34. .nf
  35. \fBserialver\fR [ \fIoptions\fR ] [ \fIclassnames\fR ]
  36. .fi
  37. .sp
  38. .TP
  39. \fIoptions\fR
  40. The command-line options\&. See Options\&.
  41. .TP
  42. \fIclassnames\fR
  43. The classes for which the \f3serialVersionUID\fR is to be returned\&.
  44. .SH DESCRIPTION
  45. The \f3serialver\fR command returns the \f3serialVersionUID\fR for one or more classes in a form suitable for copying into an evolving class\&. When called with no arguments, the \f3serialver\fR command prints a usage line\&.
  46. .SH OPTIONS
  47. .TP
  48. -classpath \fIpath-files\fR
  49. .br
  50. Sets the search path for application classes and resources\&. Separate classes and resources with a colon (:)\&.
  51. .TP
  52. -show
  53. .br
  54. Displays a simple user interface\&. Enter the full class name and press either the \fIEnter\fR key or the \fIShow\fR button to display the \f3serialVersionUID\fR\&.
  55. .TP
  56. -J\fIoption\fR
  57. .br
  58. Passes \f3option\fR to the Java Virtual Machine, where option is one of the options described on the reference page for the Java application launcher\&. For example, \f3-J-Xms48m\fR sets the startup memory to 48 MB\&. See java(1)\&.
  59. .SH NOTES
  60. The \f3serialver\fR command loads and initializes the specified classes in its virtual machine, and by default, it does not set a security manager\&. If the \f3serialver\fR command is to be run with untrusted classes, then a security manager can be set with the following option:
  61. .sp
  62. .nf
  63. \f3\-J\-Djava\&.security\&.manager\fP
  64. .fi
  65. .nf
  66. \f3\fP
  67. .fi
  68. .sp
  69. When necessary, a security policy can be specified with the following option:
  70. .sp
  71. .nf
  72. \f3\-J\-Djava\&.security\&.policy=<policy file>\fP
  73. .fi
  74. .nf
  75. \f3\fP
  76. .fi
  77. .sp
  78. .SH SEE\ ALSO
  79. .TP 0.2i
  80. \(bu
  81. policytool(1)
  82. .TP 0.2i
  83. \(bu
  84. The \f3java\&.io\&.ObjectStream\fR class description at http://docs\&.oracle\&.com/javase/8/docs/api/java/io/ObjectStreamClass\&.html
  85. .RE
  86. .br
  87. 'pl 8.5i
  88. 'bp