mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-01 03:30:34 +00:00
Merge
This commit is contained in:
commit
7662ef83e5
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH appletviewer 1 "21 November 2013" "JDK 8" "Basic Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
appletviewer \- Runs applets outside of a web browser\&.
|
||||
@ -84,7 +83,7 @@ Specifies the input HTML file encoding name\&.
|
||||
.br
|
||||
Passes the string \f3javaoption\fR as a single argument to the Java interpreter, which runs the Applet Viewer\&. The argument should not contain spaces\&. Multiple argument words must all begin with the prefix \f3-J\fR\&. This is useful for adjusting the compiler\&'s execution environment or memory usage\&.
|
||||
.PP
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH idlj 1 "21 November 2013" "JDK 8" "Java IDL and RMI-IIOP Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
idlj \- Generates Java bindings for a specified Interface Definition Language (IDL) file\&.
|
||||
@ -562,7 +561,7 @@ Escaped identifiers in the global scope cannot have the same spelling as IDL pri
|
||||
The \f3fixed\fR IDL type is not supported\&.
|
||||
.SH KNOWN\ PROBLEMS
|
||||
No import is generated for global identifiers\&. If you call an unexported local \f3impl\fR object, then you do get an exception, but it seems to be due to a \f3NullPointerException\fR in the \f3ServerDelegate\fR DSI code\&.
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH jar 1 "21 November 2013" "JDK 8" "Basic Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
jar \- Manipulates Java Archive (JAR) files\&.
|
||||
@ -479,7 +478,7 @@ pack200(1)\&.
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
The JAR section of The Java Tutorials at http://docs\&.oracle\&.com/javase/tutorial/deployment/jar/index\&.html
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH jarsigner 1 "21 November 2013" "JDK 8" "Security Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
jarsigner \- Signs and verifies Java Archive (JAR) files\&.
|
||||
@ -308,11 +307,7 @@ When a JAR file is signed multiple times, there are multiple \f3\&.SF\fR and \f3
|
||||
.nf
|
||||
\f3KEVIN\&.DSA\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
.fi
|
||||
.sp
|
||||
\fINote:\fR It is also possible for a JAR file to have mixed signatures, some generated by the JDK 1\&.1 by the \f3javakey\fR command and others by \f3jarsigner\fR\&. The \f3jarsigner\fR command can be used to sign JAR files that are already signed with the \f3javakey\fR command\&.
|
||||
.SH OPTIONS
|
||||
The following sections describe the various \f3jarsigner\fR options\&. Be aware of the following standards:
|
||||
.TP 0.2i
|
||||
@ -443,7 +438,7 @@ If this option is not specified, then \f3SHA256\fR is used\&. There must either
|
||||
.br
|
||||
If the \f3-certs\fR option appears on the command line with the \f3-verify\fR and \f3-verbose\fR options, then the output includes certificate information for each signer of the JAR file\&. This information includes the name of the type of certificate (stored in the \f3\&.DSA\fR file) that certifies the signer\&'s public key, and if the certificate is an X\&.509 certificate (an instance of the \f3java\&.security\&.cert\&.X509Certificate\fR), then the distinguished name of the signer\&.
|
||||
|
||||
The keystore is also examined\&. If no keystore value is specified on the command line, then the default keystore file (if any) is checked\&. If the public key certificate for a signer matches an entry in the keystore, then the alias name for the keystore entry for that signer is displayed in parentheses\&. If the signer comes from a JDK 1\&.1 identity database instead of from a keystore, then the alias name displays in brackets instead of parentheses\&.
|
||||
The keystore is also examined\&. If no keystore value is specified on the command line, then the default keystore file (if any) is checked\&. If the public key certificate for a signer matches an entry in the keystore, then the alias name for the keystore entry for that signer is displayed in parentheses\&.
|
||||
.TP
|
||||
-certchain \fIfile\fR
|
||||
.br
|
||||
@ -797,178 +792,6 @@ If you specify the \f3-certs\fR option with the \f3-verify\fR and \f3-verbose\fR
|
||||
.fi
|
||||
.sp
|
||||
If the certificate for a signer is not an X\&.509 certificate, then there is no distinguished name information\&. In that case, just the certificate type and the alias are shown\&. For example, if the certificate is a PGP certificate, and the alias is \f3bob\fR, then you would get: \f3PGP, (bob)\fR\&.
|
||||
.SS VERIFICATION\ THAT\ INCLUDES\ IDENTITY\ DATABASE\ SIGNERS
|
||||
If a JAR file was signed with the JDK 1\&.1 \f3javakey\fR tool, and the signer is an alias in an identity database, then the verification output includes an \f3i\fR\&. If the JAR file was signed by both an alias in an identity database and an alias in a keystore, then both \f3k\fR and \f3i\fR appear\&.
|
||||
.PP
|
||||
When the \f3-certs\fR option is used, any identity database aliases are shown in brackets rather than the parentheses used for keystore aliases, for example:
|
||||
.sp
|
||||
.nf
|
||||
\f3 jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile\&.jar\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
.fi
|
||||
.nf
|
||||
\f3 198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST\&.MF\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.SF\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE\&.DSA\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.SF\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE\&.DSA\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 smki 2752 Fri Sep 26 16:12:30 PDT 1997 writeFile\&.html\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
.fi
|
||||
.nf
|
||||
\f3 X\&.509, CN=Jane Smith, OU=Java Software, O=Oracle, L=cup, S=ca, C=us (jane)\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 X\&.509, CN=Duke, OU=Java Software, O=Oracle, L=cup, S=ca, C=us [duke]\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
.fi
|
||||
.nf
|
||||
\f3 s = signature was verified\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 m = entry is listed in manifest\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 k = at least one certificate was found in keystore\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 i = at least one certificate was found in identity scope\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
.fi
|
||||
.nf
|
||||
\f3 jar verified\&.\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
.fi
|
||||
.sp
|
||||
\fINote:\fR The alias \f3duke\fR is in brackets to denote that it is an identity database alias, and not a keystore alias\&.
|
||||
.SH JDK\ 1\&.1\ COMPATIBILITY
|
||||
The \f3keytool\fR and \f3jarsigner\fR tools replace the \f3javakey\fR tool in JDK 1\&.1\&. These new tools provide more features than \f3javakey\fR, including the ability to protect the keystore and private keys with passwords, and the ability to verify signatures in addition to generating them\&.
|
||||
.PP
|
||||
The new keystore architecture replaces the identity database that \f3javakey\fR created and managed\&. There is no backward compatibility between the keystore format and the database format used by \f3javakey\fR in JDK 1\&.1\&. However, be aware of the following:
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
It is possible to import the information from an identity database into a keystore through the \f3keytool -identitydb\fR command\&.
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
The \f3jarsigner\fR command can sign JAR files that were signed with the \f3javakey\fR command\&.
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
The \f3jarsigner\fR command can verify JAR files signed with \f3javakey\fR\&. The \f3jarsigner\fR command recognizes and can work with signer aliases that are from a JDK 1\&.1 identity database rather than a JDK keystore\&.
|
||||
.SS UNSIGNED\ JARS
|
||||
Unsigned JARs have the default privileges that are granted to all code\&.
|
||||
.SS SIGNED\ JARS
|
||||
Signed JARs have the privilege configurations based on their JDK 1\&.1\&.\fIn\fR identity and policy file status as described\&. Only trusted identities can be imported into the JDK keystore\&.
|
||||
.PP
|
||||
Default Privileges Granted to All Code
|
||||
|
||||
Identity in 1\&.1 database: \fINo\fR
|
||||
.br
|
||||
Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR
|
||||
.br
|
||||
Policy file grants privileges to identity/alias: \fINo\fR
|
||||
.PP
|
||||
|
||||
.PP
|
||||
Identity in 1\&.1 database: \fINo\fR
|
||||
.br
|
||||
Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR
|
||||
.br
|
||||
Policy file grants privileges to identity/alias: \fINo\fR
|
||||
.PP
|
||||
|
||||
.PP
|
||||
Identity in 1\&.1 database: Yes/Untrusted
|
||||
.br
|
||||
Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR
|
||||
.br
|
||||
Policy file grants privileges to identity/alias: \fINo\fR
|
||||
.br
|
||||
See 3 in Notes Regarding Privileges of Signed JARs\&.
|
||||
.PP
|
||||
|
||||
.PP
|
||||
Identity in 1\&.1 database: Yes/Untrusted
|
||||
.br
|
||||
Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR
|
||||
.br
|
||||
Policy file grants privileges to identity/alias: \fIYes\fR
|
||||
.br
|
||||
See 1 and 3 in Notes Regarding Privileges of Signed JARs\&.
|
||||
.PP
|
||||
Default Privileges and Policy File Privileges Granted
|
||||
|
||||
Identity in 1\&.1 database: \fINo\fR
|
||||
.br
|
||||
Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR
|
||||
.br
|
||||
Policy file grants privileges to identity/alias: \fIYes\fR
|
||||
.PP
|
||||
|
||||
.PP
|
||||
Identity in 1\&.1 database: \fIYes/Trusted\fR
|
||||
.br
|
||||
Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR
|
||||
.br
|
||||
Policy file grants privileges to identity/alias: \fIYes\fR
|
||||
.br
|
||||
See 2 in Notes Regarding Privileges of Signed JARs\&.
|
||||
.PP
|
||||
All Privileges Granted
|
||||
|
||||
Identity in 1\&.1 database: \fIYes/Trusted\fR
|
||||
.br
|
||||
Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR
|
||||
.br
|
||||
Policy file grants privileges to identity/alias: \fINo\fR
|
||||
.PP
|
||||
|
||||
.PP
|
||||
Identity in 1\&.1 database: \fIYes/Trusted\fR
|
||||
.br
|
||||
Trusted identity imported into Java keystore from 1\&.1\&. database: \fIYes\fR
|
||||
.br
|
||||
Policy file grants privileges to identity/alias: \fINo\fR
|
||||
.br
|
||||
See 1 in Notes Regarding Privileges of Signed JARs\&.
|
||||
.PP
|
||||
Identity in 1\&.1 database: \fIYes/Trusted\fR
|
||||
.br
|
||||
Trusted identity imported into Java keystore from 1\&.1\&. database: \fINo\fR
|
||||
.br
|
||||
Policy file grants privileges to identity/alias: \fIYes\fR
|
||||
.br
|
||||
See 1 in Notes Regarding Privileges of Signed JARs\&.
|
||||
.PP
|
||||
Notes Regarding Privileges of Signed JARs
|
||||
.TP 0.4i
|
||||
1\&.
|
||||
If an identity or alias is mentioned in the policy file, then it must be imported into the keystore for the policy file to have any effect on privileges granted\&.
|
||||
.TP 0.4i
|
||||
2\&.
|
||||
The policy file/keystore combination has precedence over a trusted identity in the identity database\&.
|
||||
.TP 0.4i
|
||||
3\&.
|
||||
Untrusted identities are ignored in the Java platform\&.
|
||||
.SH SEE\ ALSO
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
@ -979,7 +802,7 @@ keytool(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
Trail: Security Features in Java SE at http://docs\&.oracle\&.com/javase/tutorial/security/index\&.html
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,53 +1,52 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 1994, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
.\" Date: 03 March 2015
|
||||
.\" SectDesc: Basic Tools
|
||||
.\" Title: javac.1
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH javac 1 "21 November 2013" "JDK 8" "Basic Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.TH javac 1 "03 March 2015" "JDK 8" "Basic Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
javac \- Reads Java class and interface definitions and compiles them into bytecode and class files\&.
|
||||
@ -235,10 +234,16 @@ No language changes were introduced in Java SE 6\&. However, encoding errors in
|
||||
Synonym for 1\&.6\&.
|
||||
.TP
|
||||
1\&.7
|
||||
This is the default value\&. The compiler accepts code with features introduced in Java SE 7\&.
|
||||
The compiler accepts code with features introduced in Java SE 7\&.
|
||||
.TP
|
||||
7
|
||||
Synonym for 1\&.7\&.
|
||||
.TP
|
||||
1\&.8
|
||||
This is the default value\&. The compiler accepts code with features introduced in Java SE 8\&.
|
||||
.TP
|
||||
8
|
||||
Synonym for 1\&.8\&.
|
||||
.RE
|
||||
|
||||
.TP
|
||||
@ -268,13 +273,13 @@ By default, classes are compiled against the bootstrap and extension classes of
|
||||
.TP
|
||||
-target \fIversion\fR
|
||||
.br
|
||||
Generates class files that target a specified release of the virtual machine\&. Class files will run on the specified target and on later releases, but not on earlier releases of the JVM\&. Valid targets are 1\&.1, 1\&.2, 1\&.3, 1\&.4, 1\&.5 (also 5), 1\&.6 (also 6), and 1\&.7 (also 7)\&.
|
||||
Generates class files that target a specified release of the virtual machine\&. Class files will run on the specified target and on later releases, but not on earlier releases of the JVM\&. Valid targets are 1\&.1, 1\&.2, 1\&.3, 1\&.4, 1\&.5 (also 5), 1\&.6 (also 6), 1\&.7 (also 7), and 1\&.8 (also 8)\&.
|
||||
|
||||
The default for the \f3-target\fR option depends on the value of the \f3-source\fR option:
|
||||
.RS
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
If the \f3-source\fR option is not specified, then the value of the \f3-target\fR option is 1\&.7
|
||||
If the \f3-source\fR option is not specified, then the value of the \f3-target\fR option is 1\&.8
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
If the \f3-source\fR option is 1\&.2, then the value of the \f3-target\fR option is 1\&.4
|
||||
@ -283,10 +288,13 @@ If the \f3-source\fR option is 1\&.2, then the value of the \f3-target\fR option
|
||||
If the \f3-source\fR option is 1\&.3, then the value of the \f3-target\fR option is 1\&.4
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
If the \f3-source\fR option is 1\&.5, then the value of the \f3-target\fR option is 1\&.7
|
||||
If the \f3-source\fR option is 1\&.5, then the value of the \f3-target\fR option is 1\&.8
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
If the \f3-source\fR option is 1\&.6, then the value of the \f3-target\fR is option 1\&.7
|
||||
If the \f3-source\fR option is 1\&.6, then the value of the \f3-target\fR is option 1\&.8
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
If the \f3-source\fR option is 1\&.7, then the value of the \f3-target\fR is option 1\&.8
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
For all other values of the \f3-source\fR option, the value of the \f3-target\fR option is the value of the \f3-source\fR option\&.
|
||||
@ -1114,9 +1122,6 @@ To compile as though providing command-line arguments, use the following syntax:
|
||||
\f3JavaCompiler javac = ToolProvider\&.getSystemJavaCompiler();\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3JavaCompiler javac = ToolProvider\&.getSystemJavaCompiler();\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
@ -1279,10 +1284,10 @@ To execute a class in the \f3greetings\fR package, the program needs access to t
|
||||
.sp
|
||||
\f3Example 4 Separate Source Files and Class Files\fR
|
||||
.PP
|
||||
The following example uses \f3javac\fR to compile code that runs on JVM 1\&.6\&.
|
||||
The following example uses \f3javac\fR to compile code that runs on JVM 1\&.7\&.
|
||||
.sp
|
||||
.nf
|
||||
\f3javac \-source 1\&.6 \-target 1\&.6 \-bootclasspath jdk1\&.6\&.0/lib/rt\&.jar \e \fP
|
||||
\f3javac \-source 1\&.7 \-target 1\&.7 \-bootclasspath jdk1\&.7\&.0/lib/rt\&.jar \e \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\-extdirs "" OldCode\&.java\fP
|
||||
@ -1291,31 +1296,31 @@ The following example uses \f3javac\fR to compile code that runs on JVM 1\&.6\&.
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
The \f3-source 1\&.6\fR option specifies that release 1\&.6 (or 6) of the Java programming language be used to compile \f3OldCode\&.java\fR\&. The option \f3-target 1\&.6\fR option ensures that the generated class files are compatible with JVM 1\&.6\&. Note that in most cases, the value of the \f3-target\fR option is the value of the \f3-source\fR option; in this example, you can omit the \f3-target\fR option\&.
|
||||
The \f3-source 1\&.7\fR option specifies that release 1\&.7 (or 7) of the Java programming language be used to compile \f3OldCode\&.java\fR\&. The option \f3-target 1\&.7\fR option ensures that the generated class files are compatible with JVM 1\&.7\&. Note that in most cases, the value of the \f3-target\fR option is the value of the \f3-source\fR option; in this example, you can omit the \f3-target\fR option\&.
|
||||
.PP
|
||||
You must specify the \f3-bootclasspath\fR option to specify the correct version of the bootstrap classes (the \f3rt\&.jar\fR library)\&. If not, then the compiler generates a warning:
|
||||
.sp
|
||||
.nf
|
||||
\f3javac \-source 1\&.6 OldCode\&.java\fP
|
||||
\f3javac \-source 1\&.7 OldCode\&.java\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3warning: [options] bootstrap class path not set in conjunction with \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\-source 1\&.6\fP
|
||||
\f3\-source 1\&.7\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
If you do not specify the correct version of bootstrap classes, then the compiler uses the old language rules (in this example, it uses version 1\&.6 of the Java programming language) combined with the new bootstrap classes, which can result in class files that do not work on the older platform (in this case, Java SE 6) because reference to nonexistent methods can get included\&.
|
||||
If you do not specify the correct version of bootstrap classes, then the compiler uses the old language rules (in this example, it uses version 1\&.7 of the Java programming language) combined with the new bootstrap classes, which can result in class files that do not work on the older platform (in this case, Java SE 7) because reference to nonexistent methods can get included\&.
|
||||
.PP
|
||||
\f3Example 5 Cross Compile\fR
|
||||
.PP
|
||||
This example uses \f3javac\fR to compile code that runs on JVM 1\&.6\&.
|
||||
This example uses \f3javac\fR to compile code that runs on JVM 1\&.7\&.
|
||||
.sp
|
||||
.nf
|
||||
\f3javac \-source 1\&.6 \-target 1\&.6 \-bootclasspath jdk1\&.6\&.0/lib/rt\&.jar \e\fP
|
||||
\f3javac \-source 1\&.7 \-target 1\&.7 \-bootclasspath jdk1\&.7\&.0/lib/rt\&.jar \e\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 \-extdirs "" OldCode\&.java\fP
|
||||
@ -1324,21 +1329,21 @@ This example uses \f3javac\fR to compile code that runs on JVM 1\&.6\&.
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
The\f3-source 1\&.6\fR option specifies that release 1\&.6 (or 6) of the Java programming language to be used to compile OldCode\&.java\&. The \f3-target 1\&.6\fR option ensures that the generated class files are compatible with JVM 1\&.6\&. In most cases, the value of the \f3-target\fR is the value of \f3-source\fR\&. In this example, the \f3-target\fR option is omitted\&.
|
||||
The\f3-source 1\&.7\fR option specifies that release 1\&.7 (or 7) of the Java programming language to be used to compile OldCode\&.java\&. The \f3-target 1\&.7\fR option ensures that the generated class files are compatible with JVM 1\&.7\&.
|
||||
.PP
|
||||
You must specify the \f3-bootclasspath\fR option to specify the correct version of the bootstrap classes (the \f3rt\&.jar\fR library)\&. If not, then the compiler generates a warning:
|
||||
.sp
|
||||
.nf
|
||||
\f3javac \-source 1\&.6 OldCode\&.java\fP
|
||||
\f3javac \-source 1\&.7 OldCode\&.java\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3warning: [options] bootstrap class path not set in conjunction with \-source 1\&.6\fP
|
||||
\f3warning: [options] bootstrap class path not set in conjunction with \-source 1\&.7\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
If you do not specify the correct version of bootstrap classes, then the compiler uses the old language rules combined with the new bootstrap classes\&. This combination can result in class files that do not work on the older platform (in this case, Java SE 6) because reference to nonexistent methods can get included\&. In this example, the compiler uses release 1\&.6 of the Java programming language\&.
|
||||
If you do not specify the correct version of bootstrap classes, then the compiler uses the old language rules combined with the new bootstrap classes\&. This combination can result in class files that do not work on the older platform (in this case, Java SE 7) because reference to nonexistent methods can get included\&. In this example, the compiler uses release 1\&.7 of the Java programming language\&.
|
||||
.SH SEE\ ALSO
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
@ -1358,7 +1363,7 @@ jar(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
jdb(1)
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,53 +1,52 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 1994, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 10 May 2011
|
||||
.\" Date: 03 March 2015
|
||||
.\" SectDesc: Basic Tools
|
||||
.\" Title: javadoc.1
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH javadoc 1 "10 May 2011" "JDK 8" "Basic Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.TH javadoc 1 "03 March 2015" "JDK 8" "Basic Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
javadoc \- Generates HTML pages of API documentation from Java source files\&.
|
||||
@ -209,7 +208,7 @@ The \f3package-info\&.java\fR file can contain a package comment of the followin
|
||||
\f3package java\&.lang\&.applet;\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -251,7 +250,7 @@ File: \f3java/applet/package\&.html\fR
|
||||
\f3initialize, start, and stop the applet\&. \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3@since 1\&.0 \fP
|
||||
@ -266,7 +265,7 @@ File: \f3java/applet/package\&.html\fR
|
||||
\f3</HTML>\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
The \f3package\&.html\fR file is a typical HTML file and does not include a package declaration\&. The content of the package comment file is written in HTML with one exception\&. The documentation comment should not include the comment separators \f3/**\fR and \f3*/\fR or leading asterisks\&. When writing the comment, make the first sentence a summary about the package, and do not put a title or any other text between the \f3<body>\fR tag and the first sentence\&. You can include package tags\&. All block tags must appear after the main description\&. If you add an \f3@see\fR tag in a package comment file, then it must have a fully qualified name\&.
|
||||
@ -334,7 +333,7 @@ All links to the unprocessed files must be included in the code because the \f3j
|
||||
\f3 */\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
.SS TEST\ AND\ TEMPLATE\ FILES
|
||||
@ -350,7 +349,7 @@ If you want your test files to belong to either an unnamed package or to a packa
|
||||
\f3com/package1/test\-files/\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
If your test files contain documentation comments, then you can set up a separate run of the \f3javadoc\fR command to produce test file documentation by passing in their test source file names with wild cards, such as \f3com/package1/test-files/*\&.java\fR\&.
|
||||
@ -560,7 +559,7 @@ The \f3javadoc\fR command generates a declaration at the start of each class, in
|
||||
\f3implements Serializable\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
The declaration for the \f3Boolean\&.valueOf\fR method is:
|
||||
@ -569,7 +568,7 @@ The declaration for the \f3Boolean\&.valueOf\fR method is:
|
||||
\f3public static Boolean valueOf(String s)\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
The \f3javadoc\fR command can include the modifiers \f3public\fR, \f3protected\fR, \f3private\fR, \f3abstract\fR, \f3final\fR, \f3static\fR, \f3transient\fR, and \f3volatile\fR, but not \f3synchronized\fR or \f3native\fR\&. The \f3synchronized\fR and \f3native\fR modifiers are considered implementation detail and not part of the API specification\&.
|
||||
@ -593,7 +592,7 @@ You can include documentation comments in the source code, ahead of declarations
|
||||
\f3 */\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
To save space you can put a comment on one line:
|
||||
@ -602,7 +601,7 @@ To save space you can put a comment on one line:
|
||||
\f3/** This comment takes up only one line\&. */\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -623,19 +622,19 @@ A common mistake is to put an \f3import\fR statement between the class comment a
|
||||
\f3 */\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3import com\&.example; // MISTAKE \- Important not to put import statement here\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3public class Whatever{ }\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -657,7 +656,7 @@ A documentation comment has a main description followed by a tag section\&. The
|
||||
\f3 */\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -676,7 +675,7 @@ A tag is a special keyword within a documentation comment that the \f3javadoc\fR
|
||||
\f3 */\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -700,7 +699,7 @@ For example, entities for the less than symbol (<) and the greater than symbol (
|
||||
\f3 */\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -730,7 +729,7 @@ The Java platform lets you declare multiple fields in a single statement, but th
|
||||
\f3public int x, y; // Avoid this \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
The \f3javadoc\fR command generates the following documentation from the previous code:
|
||||
@ -739,7 +738,7 @@ The \f3javadoc\fR command generates the following documentation from the previou
|
||||
\f3public int x\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
The horizontal and vertical distances of point (x, y)\&.
|
||||
@ -748,7 +747,7 @@ The horizontal and vertical distances of point (x, y)\&.
|
||||
\f3public int y\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
The horizontal and vertical distances of point (x, y)\&.
|
||||
@ -872,7 +871,7 @@ In a documentation comment:
|
||||
\f3 */\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -899,11 +898,10 @@ In the main description block of a method\&. In this case, the main description
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
In the text arguments of the \f3@return\fR, \f3@param,\fR and \f3@throws\fR tags of a method\&. In this case, the tag text is copied from the corresponding tag up the hierarchy\&.
|
||||
.RE
|
||||
.RS
|
||||
See Method Comment Inheritance for a description of how comments are found in the inheritance hierarchy\&. Note that if this tag is missing, then the comment is or is not automatically inherited according to rules described in that section\&.
|
||||
.RE
|
||||
|
||||
.RE
|
||||
|
||||
See Method Comment Inheritance for a description of how comments are found in the inheritance hierarchy\&. Note that if this tag is missing, then the comment is or is not automatically inherited according to rules described in that section\&.
|
||||
.TP
|
||||
{@link \fIpackage\&.class#member label\fR}
|
||||
Introduced in JDK 1\&.2
|
||||
@ -920,7 +918,7 @@ For example, here is a comment that refers to the \f3getComponentAt(int, int)\fR
|
||||
\f3Use the {@link #getComponentAt(int, int) getComponentAt} method\&.\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -931,7 +929,7 @@ From this code, the standard doclet generates the following HTML (assuming it re
|
||||
\f3Use the <a href="Component\&.html#getComponentAt(int, int)">getComponentAt</a> method\&.\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -942,7 +940,7 @@ The previous line appears on the web page as:
|
||||
\f3Use the getComponentAt method\&.\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -982,7 +980,7 @@ Example of a type parameter of a class:
|
||||
\f3}\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -1014,7 +1012,7 @@ Example of a type parameter of a method:
|
||||
\f3}\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -1071,7 +1069,7 @@ A space is the delimiter between \f3package\&.class#member\fR and \f3label\fR\&.
|
||||
\f3 */\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -1091,7 +1089,7 @@ The standard doclet produces HTML that is similar to:
|
||||
\f3</dl>\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -1128,7 +1126,7 @@ Specify a Name
|
||||
\f3@see #constructor(Type argname, Type argname,\&.\&.\&.) \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fIReferencing another class in the current or imported packages\fR\fP
|
||||
@ -1155,7 +1153,7 @@ Specify a Name
|
||||
\f3@see Class \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fIReferencing an element in another package (fully qualified)\fR\fP
|
||||
@ -1185,7 +1183,7 @@ Specify a Name
|
||||
\f3@see package\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
\f3\fRNotes about the previous listing:
|
||||
@ -1215,7 +1213,7 @@ The current class or interface\&.
|
||||
Any enclosing classes and interfaces searching the closest first\&.
|
||||
.TP 0.4i
|
||||
3\&.
|
||||
Any superclasses and superonterfaces, searching the closest first\&.
|
||||
Any superclasses and superinterfaces, searching the closest first\&.
|
||||
.TP 0.4i
|
||||
4\&.
|
||||
The current package\&.
|
||||
@ -1307,7 +1305,7 @@ The comment to the right shows how the name appears when the \f3@see\fR tag is i
|
||||
\f3@see "The Java Programming Language" // "The Java Programming Language" \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
\fINote:\fR You can extend the \f3@se\fR\f3e\fR tag to link to classes not being documented with the \f3-link\fR option\&.
|
||||
@ -1317,7 +1315,7 @@ Introduced in JDK 1\&.2
|
||||
|
||||
Used in the documentation comment for a default serializable field\&. See Documenting Serializable Fields and Data for a Class at http://docs\&.oracle\&.com/javase/8/docs/platform/serialization/spec/serial-arch\&.html#5251
|
||||
|
||||
See also Oracle\(cqs Criteria for Including Classes in the Serialilzed Form Specification at http://www\&.oracle\&.com/technetwork/java/javase/documentation/serialized-criteria-137781\&.html
|
||||
See also Oracle\(cqs Criteria for Including Classes in the Serialized Form Specification at http://www\&.oracle\&.com/technetwork/java/javase/documentation/serialized-criteria-137781\&.html
|
||||
|
||||
An optional \f3field-description\fR should explain the meaning of the field and list the acceptable values\&. When needed, the description can span multiple lines\&. The standard doclet adds this information to the serialized form page\&. See Cross-Reference Pages\&.
|
||||
|
||||
@ -1331,13 +1329,12 @@ A public or protected class that implements \f3Serializable\fR is included unles
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
A private or package-private class that implements \f3Serializable\fR is excluded unless that class (or its package) is marked with the \f3@serial include\fR tag\&.
|
||||
.RE
|
||||
.RS
|
||||
.RE
|
||||
|
||||
|
||||
For example, the \f3javax\&.swing\fR package is marked with the \f3@serial\fR\f3exclude\fR tag in package\&.html or package-info\&.java\&. The public class \f3java\&.security\&.BasicPermission\fR is marked with the \f3@serial exclude\fR tag\&. The package-private class \f3java\&.util\&.PropertyPermissionCollection\fR is marked with the \f3@serial include\fR tag\&.
|
||||
|
||||
The \f3@serial\fR tag at the class level overrides the \f3@serial\fR tag at the package level\&.
|
||||
|
||||
.RE
|
||||
.TP
|
||||
@serialData \fIdata-description\fR
|
||||
Introduced in JDK 1\&.2
|
||||
@ -1387,7 +1384,7 @@ Displays constant values\&. When the \f3{@value}\fR tag is used without an argum
|
||||
\f3public static final String SCRIPT_START = "<script>"\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -1407,7 +1404,7 @@ When used with the argument \f3package\&.class#field\fR in any documentation com
|
||||
\f3public String evalScript(String script) {}\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -1494,7 +1491,7 @@ Class comment example:
|
||||
\f3}\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
.SS FIELD\ TAGS
|
||||
@ -1523,7 +1520,7 @@ Field comment example:
|
||||
\f3 int x = 1263732;\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
.SS CONSTRUCTOR\ AND\ METHOD\ TAGS
|
||||
@ -1578,7 +1575,7 @@ Method comment example:
|
||||
\f3 }\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
.SH OPTIONS
|
||||
@ -1592,7 +1589,7 @@ See also Standard Doclet Options
|
||||
.PP
|
||||
The options are:
|
||||
.PP
|
||||
-1\&.1 || -author || -bootclasspath classpathlist || -bottom text || -breakiterator || -charset name || -classpath classpathlist || -d directory || -docencoding name || -docfilesubdirs || -doclet class || -docletpath classpathlist || -doctitle title || -encoding || -exclude packagename1:packagename2:\&.\&.\&. || -excludedocfilessubdir name1:name2 || -extdirs dirist || -footer footer || -group groupheading packagepattern:packagepattern || -header header || -help || -helpfile path\efilename || -Jflag || -keywords || -link extdocURL || -linkoffline extdocURL packagelistLoc || -linksource || -locale language_country_variant || -nocomment || -nodeprecated || -nodeprecatedlist || -nohelp || -noindex || -nonavbar || -noqualifier all | packagename1:packagename2\&.\&.\&. || -nosince || -notimestamp || -notree || -overview path/filename || -package || -private || -protected || -public || -quiet || -serialwarn || -source release || -sourcepath sourcepathlist || -sourcetab tablength || -splitindex || -stylesheet path/filename || -subpackages package1:package2:\&.\&.\&. || -tag tagname:Xaoptcmf:"taghead" || -taglet class || -tagletpath tagletpathlist || -title title || -top || -use || -verbose || -version || -windowtitle title
|
||||
-1\&.1 || -author || -bootclasspath classpathlist || -bottom text || -breakiterator || -charset name || -classpath classpathlist || -d directory || -docencoding name || -docfilesubdirs || -doclet class || -docletpath classpathlist || -doctitle title || -encoding || -exclude packagename1:packagename2:\&.\&.\&. || -excludedocfilessubdir name1:name2 || -extdirs dirist || -footer footer || -group groupheading packagepattern:packagepattern || -header header || -help || -helpfile path\efilename || -Jflag || -javafx ||-keywords || -link extdocURL || -linkoffline extdocURL packagelistLoc || -linksource || -locale language_country_variant || -nocomment || -nodeprecated || -nodeprecatedlist || -nohelp || -noindex || -nonavbar || -noqualifier all | packagename1:packagename2\&.\&.\&. || -nosince || -notimestamp || -notree || -overview path/filename || -package || -private || -protected || -public || -quiet || -serialwarn || -source release || -sourcepath sourcepathlist || -sourcetab tablength || -splitindex || -stylesheet path/filename || -subpackages package1:package2:\&.\&.\&. || -tag tagname:Xaoptcmf:"taghead" || -taglet class || -tagletpath tagletpathlist || -title title || -top || -use || -verbose || -version || -windowtitle title
|
||||
.PP
|
||||
The following options are the core Javadoc options that are available to all doclets\&. The standard doclet provides the rest of the doclets: \f3-bootclasspath\fR, \f3-breakiterator\fR, \f3-classpath\fR, \f3-doclet\fR, \f3-docletpath\fR, \f3-encoding\fR, -\f3exclude\fR, \f3-extdirs\fR, \f3-help\fR, \f3-locale\fR, \f3-\fR\f3overview\fR, \f3-package\fR, \f3-private\fR, \f3-protected\fR, \f3-public\fR, \f3-quiet\fR, \f3-source\fR, \f3-sourcepath\fR, \f3-subpackages\fR, and \f3-verbose\fR\&.
|
||||
.SS JAVADOC\ OPTIONS
|
||||
@ -1635,12 +1632,11 @@ Change what the \f3-Xdoclint\fR option reports with the following options:
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
\f3-Xdoclint all,\fR\fI-group\fR : enable all except \fIgroup\fR checks
|
||||
.RE
|
||||
.RS
|
||||
.RE
|
||||
|
||||
|
||||
The variable \fIgroup\fR has one of the following values:
|
||||
.RS
|
||||
|
||||
.RE
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
\f3accessibility\fR : Checks for the issues to be detected by an accessibility checker (for example, no caption or summary attributes specified in a \f3<table>\fR tag)\&.
|
||||
@ -1656,8 +1652,9 @@ The variable \fIgroup\fR has one of the following values:
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
\f3syntax\fR : Checks for low level issues like unescaped angle brackets (\f3<\fR and \f3>\fR) and ampersands (\f3&\fR) and invalid Javadoc tags\&.
|
||||
.RE
|
||||
.RS
|
||||
.RE
|
||||
|
||||
|
||||
You can specify the \f3-Xdoclint\fR option multiple times to enable the option to check errors and warnings in multiple categories\&. Alternatively, you can specify multiple error and warning categories by using the preceding options\&. For example, use either of the following commands to check for the HTML, syntax, and accessibility issues in the file \fIfilename\fR\&.
|
||||
.sp
|
||||
.nf
|
||||
@ -1667,7 +1664,7 @@ You can specify the \f3-Xdoclint\fR option multiple times to enable the option t
|
||||
\f3javadoc \-Xdoclint:html,syntax,accessibility \fIfilename\fR\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -1675,8 +1672,6 @@ You can specify the \f3-Xdoclint\fR option multiple times to enable the option t
|
||||
\fINote:\fR The \f3javadoc\fR command does not guarantee the completeness of these checks\&. In particular, it is not a full HTML compliance checker\&. The goal of the -\f3Xdoclint\fR option is to enable the \f3javadoc\fR command to report majority of common errors\&.
|
||||
|
||||
The \f3javadoc\fR command does not attempt to fix invalid input, it just reports it\&.
|
||||
|
||||
.RE
|
||||
.TP
|
||||
-public
|
||||
.br
|
||||
@ -1740,7 +1735,7 @@ For example, suppose you want to document a package called \f3com\&.mypackage\fR
|
||||
\f3javadoc \-sourcepath /home/user/src/ com\&.mypackage\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -1755,7 +1750,7 @@ To point to two source paths:
|
||||
\f3javadoc \-sourcepath /home/user1/src:/home/user2/src com\&.mypackage\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -1766,13 +1761,13 @@ Specifies the paths where the \f3javadoc\fR command searches for referenced clas
|
||||
|
||||
If you omit \f3-sourcepath\fR, then the \f3javadoc\fR command uses \f3-classpath\fR to find the source files and class files (for backward compatibility)\&. If you want to search for source and class files in separate paths, then use both \f3-sourcepath\fR and \f3-classpath\fR\&.
|
||||
|
||||
For example, if you want to document \f3com\&.mypackage\fR, whose source files reside in the directory /home/user/src/com/mypackage, and if this package relies on a library in /home/user/libthen you would use the following command:
|
||||
For example, if you want to document \f3com\&.mypackage\fR, whose source files reside in the directory /home/user/src/com/mypackage, and if this package relies on a library in /home/user/lib, then you would use the following command:
|
||||
.sp
|
||||
.nf
|
||||
\f3javadoc \-sourcepath /home/user/lib \-classpath /home/user/src com\&.mypackage\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -1795,7 +1790,7 @@ For example, the following command generates documentation for packages named \f
|
||||
\f3javadoc \-d docs \-sourcepath /home/user/src \-subpackages java:javax\&.swing \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -1813,7 +1808,7 @@ The following example would include \f3java\&.io\fR, \f3java\&.util\fR, and \f3j
|
||||
\f3 java\&.net:java\&.lang\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -1846,11 +1841,10 @@ English default sentence-break algorithm\&. Stops at a period followed by a spac
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
Breakiterator sentence-break algorithm\&. Stops at a period, question mark, or exclamation point followed by a space when the next word starts with a capital letter\&. This is meant to handle most abbreviations (such as "The serial no\&. is valid", but will not handle "Mr\&. Smith")\&. The \f3-breakiterator\fR option does not stop at HTML tags or sentences that begin with numbers or symbols\&. The algorithm stops at the last period in \&.\&./filename, even when embedded in an HTML tag\&.
|
||||
.RE
|
||||
.RS
|
||||
In Java SE 1\&.5 the \f3-breakiterator\fR option warning messages are removed, and the default sentence-break algorithm is unchanged\&. If you have not modified your source code to eliminate the \f3-breakiterator\fR option warnings in Java SE 1\&.4\&.x, then you do not have to do anything\&. The warnings go away starting with Java SE 1\&.5\&.0\&.
|
||||
.RE
|
||||
|
||||
.RE
|
||||
|
||||
In Java SE 1\&.5 the \f3-breakiterator\fR option warning messages are removed, and the default sentence-break algorithm is unchanged\&. If you have not modified your source code to eliminate the \f3-breakiterator\fR option warnings in Java SE 1\&.4\&.x, then you do not have to do anything\&. The warnings go away starting with Java SE 1\&.5\&.0\&.
|
||||
.TP
|
||||
-locale \fIlanguage_country_variant\fR
|
||||
.br
|
||||
@ -1885,7 +1879,21 @@ Use the \f3-version\fR option to find out what version of the \f3javadoc\fR comm
|
||||
\f3Java HotSpot(TM) 64\-Bit Server VM (build 23\&.5\-b02, mixed mode)\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
.TP
|
||||
-javafx
|
||||
.br
|
||||
Generates HTML documentation using the JavaFX extensions to the standard doclet\&. The generated documentation includes a Property Summary section in addition to the other summary sections generated by the standard Java doclet\&. The listed properties are linked to the sections for the getter and setter methods of each property\&.
|
||||
|
||||
If there are no documentation comments written explicitly for getter and setter methods, the documentation comments from the property method are automatically copied to the generated documentation for these methods\&. This option also adds a new \f3@defaultValue\fR tag that allows documenting the default value for a property\&.
|
||||
|
||||
Example:
|
||||
.sp
|
||||
.nf
|
||||
\f3javadoc \-javafx MyClass\&.java \-d testdir\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -1957,7 +1965,7 @@ The package-list file must be found in this directory (otherwise, use the \f3-li
|
||||
\f3\-link <directory>/<directory>/\&.\&.\&./<name>\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -1982,7 +1990,7 @@ Use the following command if you want to link to the \f3java\&.lang\fR, \f3java\
|
||||
\f3javadoc \-link http://docs\&.oracle\&.com/javase/8/docs/api/ com\&.mypackage\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
The command generates documentation for the package \f3com\&.mypackage\fR with links to the Java SE packages\&. The generated documentation contains links to the \f3Object\fR class, for example, in the class \f3trees\fR\&. Other options, such as the \f3-sourcepath\fR and \f3-d\fR options, are not shown\&.
|
||||
@ -2044,7 +2052,7 @@ The package list starts as follows:
|
||||
\f3and so on \&.\&.\&.\&.\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
When \f3javadoc\fR is run without the \f3-link\fR option and encounters a name that belongs to an externally referenced class, it prints the name with no link\&. However, when the \f3-link\fR option is used, the \f3javadoc\fR command searches the package-list file at the specified \fIextdocURL\fR location for that package name\&. When it finds the package name, it prefixes the name with \fIextdocURL\fR\&.
|
||||
@ -2094,7 +2102,7 @@ The following command generates documentation for the package c\f3om\&.mypackage
|
||||
\f3javadoc \-linkoffline http://docs\&.oracle\&.com/javase/8/docs/api/ \&. com\&.mypackage \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -2118,7 +2126,7 @@ You can include the \f3-linkoffline\fR option once for each generated document y
|
||||
\f3packagelistLoc2 \&.\&.\&.\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -2133,7 +2141,7 @@ First, create a new destination directory, such as update, for this new small ru
|
||||
\f3javadoc \-d update \-linkoffline \&. html com\&.mypackage\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
When the \f3javadoc\fR command completes, copy these generated class pages in update/com/package (not the overview or index) to the original files in html/com/package\&.
|
||||
@ -2150,7 +2158,7 @@ Each link appears on the name of the identifier in its declaration\&. For exampl
|
||||
\f3public class Button extends Component implements Accessible\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -2161,7 +2169,7 @@ The link to the source code of the \f3getLabel\fR method in the \f3Button\fR cla
|
||||
\f3public String getLabel()\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -2176,8 +2184,9 @@ The \f3groupheading\fR can be any text and can include white space\&. This text
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
The \f3packagepattern\fR value can be any package name at the start of any package name followed by an asterisk (*)\&. The asterisk is the only wildcard allowed and means match any characters\&. Multiple patterns can be included in a group by separating them with colons (:)\&. If you use an asterisk in a pattern or pattern list, then the pattern list must be inside quotation marks, such as \f3"java\&.lang*:java\&.util"\fR\&.
|
||||
.RE
|
||||
.RS
|
||||
.RE
|
||||
|
||||
|
||||
When you do not supply a \f3-group\fR option, all packages are placed in one group with the heading \fIPackages\fR and appropriate subheadings\&. If the subheadings do not include all documented packages (all groups), then the remaining packages appear in a separate group with the subheading Other Packages\&.
|
||||
|
||||
For example, the following \f3javadoc\fR command separates the three documented packages into \fICore\fR, \fIExtension\fR, and \fIOther Packages\fR\&. The trailing dot (\&.) does not appear in \f3java\&.lang*\fR\&. Including the dot, such as \f3java\&.lang\&.*\fR omits the\f3java\&.lang\fR package\&.
|
||||
@ -2192,7 +2201,7 @@ For example, the following \f3javadoc\fR command separates the three documented
|
||||
\f3 java\&.lang java\&.lang\&.reflect java\&.util javax\&.servlet java\&.new\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -2212,8 +2221,6 @@ For example, the following \f3javadoc\fR command separates the three documented
|
||||
\fIOther Packages\fR
|
||||
|
||||
\f3java\&.new\fR
|
||||
|
||||
.RE
|
||||
.TP
|
||||
-nodeprecated
|
||||
.br
|
||||
@ -2251,7 +2258,7 @@ Specifies the path of an alternate help file path\efilename that the HELP link i
|
||||
\f3javadoc \-helpfile /home/user/myhelp\&.html java\&.awt\&.\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -2264,7 +2271,7 @@ Specifies the path of an alternate HTML stylesheet file\&. Without this option,
|
||||
\f3javadoc \-stylesheet file /home/user/mystylesheet\&.css com\&.mypackage\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -2283,7 +2290,7 @@ For example, \f3javadoc -charset "iso-8859-1" mypackage\fR inserts the following
|
||||
\f3<META http\-equiv="Content\-Type" content="text/html; charset=ISO\-8859\-1">\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -2296,7 +2303,7 @@ See also the \f3-encoding\fR and \f3-docencoding name\fR options\&.
|
||||
.br
|
||||
Specifies the encoding of the generated HTML files\&. The name should be a preferred MIME name as specified in the IANA Registry, Character Sets at http://www\&.iana\&.org/assignments/character-sets
|
||||
|
||||
If you omit the \f3-docencoding\fR option but use the \f3-encoding\fR option, then the encoding of the generated HTML files is determined by the \f3-encoding\fR option, for example: \f3javadoc -docencoding"iso-8859-1" mypackage\fR\&. See also the \f3-encoding\fR and \f3-docencoding name\fR options\&.
|
||||
If you omit the \f3-docencoding\fR option but use the \f3-encoding\fR option, then the encoding of the generated HTML files is determined by the \f3-encoding\fR option, for example: \f3javadoc -docencoding "iso-8859-1" mypackage\fR\&. See also the \f3-encoding\fR and \f3-docencoding name\fR options\&.
|
||||
.TP
|
||||
-keywords
|
||||
.br
|
||||
@ -2315,7 +2322,7 @@ Adds HTML keyword <META> tags to the generated file for each class\&. These tags
|
||||
\f3<META NAME="keywords" CONTENT="charAt()">\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -2360,7 +2367,7 @@ Notice the last colon (:) is not a parameter separator, but is part of the headi
|
||||
\f3 */\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -2390,7 +2397,7 @@ Notice the last colon (:) is not a parameter separator, but is part of the headi
|
||||
\f3\-tag example:X\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -2433,7 +2440,7 @@ Taglets are useful for block or inline tags\&. They can have any number of argum
|
||||
\f3\-tag see\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -2523,7 +2530,7 @@ Create a file named options that contains:
|
||||
\f3\-sourcepath /java/pubs/ws/1\&.7\&.0/src/share/classes\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
Create a file named packages that contains:
|
||||
@ -2538,7 +2545,7 @@ Create a file named packages that contains:
|
||||
\f3com\&.mypackage3\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
Run the \f3javadoc\fR command as follows:
|
||||
@ -2547,7 +2554,7 @@ Run the \f3javadoc\fR command as follows:
|
||||
\f3javadoc @options @packages\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
\f3Example 3 Argument Files with Paths\fR
|
||||
@ -2558,7 +2565,7 @@ The argument files can have paths, but any file names inside the files are relat
|
||||
\f3javadoc @path1/options @path2/packages\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
\f3Example 4 Option Arguments\fR
|
||||
@ -2581,7 +2588,7 @@ The following example saves an argument to a \f3javadoc\fR command option in an
|
||||
\f3 Other names may be trademarks of their respective owners\&.</font>\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
Run the \f3javadoc\fR command as follows:\f3javadoc -bottom @bottom @packages\fR\&.
|
||||
@ -2616,7 +2623,7 @@ This example uses \f3-sourcepath\fR so the \f3javadoc\fR command can be run from
|
||||
\f3javadoc \-d /home/html \-sourcepath /home/src \-subpackages java \-exclude\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
\f3Example 2 Change to Root and Run Explicit Packages\fR
|
||||
@ -2630,7 +2637,7 @@ Change to the parent directory of the fully qualified package\&. Then, run the \
|
||||
\f3javadoc \-d /home/html java\&.awt java\&.awt\&.event\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
To also traverse down other package trees, append their names to the \f3-subpackages\fR argument, such as j\f3ava:javax:org\&.xml\&.sax\fR\&.
|
||||
@ -2643,7 +2650,7 @@ In this case, it does not matter what the current directory is\&. Run the \f3jav
|
||||
\f3javadoc \-d /home/html \-sourcepath /home/src java\&.awt java\&.awt\&.event\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
\f3Example 4 Run from Any Directory on Explicit Packages in Multiple Trees\fR
|
||||
@ -2654,7 +2661,7 @@ Run the \f3javadoc\fR command and use the \f3-sourcepath\fR option with a colon-
|
||||
\f3javadoc \-d /home/html \-sourcepath /home/src1:/home/src2 java\&.awt java\&.awt\&.event\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
The result is that all cases generate HTML-formatted documentation for the \f3public\fR and \f3protected\fR classes and interfaces in packages j\f3ava\&.awt\fR and \f3java\&.awt\&.even\fRt and save the HTML files in the specified destination directory\&. Because two or more packages are being generated, the document has three HTML frames: one for the list of packages, another for the list of classes, and the third for the main class pages\&.
|
||||
@ -2676,7 +2683,7 @@ This example generates HTML-formatted documentation for the classes \f3Button\fR
|
||||
\f3javadoc \-d /home/html Button\&.java Canvas\&.java Graphics*\&.java\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
\f3Example 2 Change to the Root Directory of the Package\fR
|
||||
@ -2690,7 +2697,7 @@ This is useful for documenting individual source files from different subpackage
|
||||
\f3javadoc \-d /home/html java/awt/Button\&.java java/applet/Applet\&.java\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
\f3Example 3 Document Files from Any Directory\fR
|
||||
@ -2704,7 +2711,7 @@ In this case, it does not matter what the current directory is\&. Run the \f3jav
|
||||
\f3/home/src/java/awt/Graphics*\&.java\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -2720,7 +2727,7 @@ You can document entire packages and individual classes at the same time\&. Here
|
||||
\f3/home/src/java/applet/Applet\&.java\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
.SS REAL-WORLD\ EXAMPLES
|
||||
@ -2784,7 +2791,7 @@ In the example, \f3packages\fR is the name of a file that contains the packages
|
||||
\f3@packages\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
@ -2802,7 +2809,7 @@ For example, the following statements are equivalent to the command \f3javadoc -
|
||||
\f3import javax\&.tools\&.ToolProvider;\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3public class JavaAccessSample{\fP
|
||||
@ -2838,7 +2845,7 @@ For example, the following statements are equivalent to the command \f3javadoc -
|
||||
\f3 }\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
The first three arguments of the \f3run\fR method specify input, standard output, and standard error streams\&. \f3Null\fR is the default value for \f3System\&.in\fR, \f3System\&.out\fR, and \f3System\&.err\fR, respectively\&.
|
||||
@ -2891,7 +2898,7 @@ This is an example of a GNU \f3makefile\fR\&. Single quotation marks surround \f
|
||||
\f3 java\&.applet\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3WINDOWTITLE = \&'Java\(tm SE 7 API Specification\&'\fP
|
||||
@ -2927,7 +2934,7 @@ This is an example of a GNU \f3makefile\fR\&. Single quotation marks surround \f
|
||||
\f3SRCDIR = \&'/java/jdk/1\&.7\&.0/src/share/classes\&'\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
.SS NOTES
|
||||
@ -2991,7 +2998,7 @@ URL Memo, Uniform Resource Locators http://www\&.ietf\&.org/rfc/rfc1738\&.txt
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
HTML standard, HTML Document Representation (4197265 and 4137321) http://www\&.w3\&.org/TR/REC-html40/charset\&.html#h-5\&.2\&.2
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH javah 1 "21 November 2013" "JDK 8" "Basic Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
javah \- Generates C header and source files from a Java class\&.
|
||||
@ -153,7 +152,7 @@ javap(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
javadoc(1)
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,443 +1,391 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
.\" SectDesc: Basic Tools
|
||||
.\" Title: javap.1
|
||||
.\" Copyright (c) 1994, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Title: javap
|
||||
.\" Language: English
|
||||
.\" Date: 8 August 2014
|
||||
.\" SectDesc: Basic Tools
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: generic
|
||||
.\" Part Number: E38207-03
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH javap 1 "21 November 2013" "JDK 8" "Basic Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
.TH "javap" "1" "8 August 2014" "JDK 8" "Basic Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
javap \- Disassembles one or more class files\&.
|
||||
.SH SYNOPSIS
|
||||
.sp
|
||||
.nf
|
||||
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBjavap\fR [\fIoptions\fR] \fIclassfile\fR\&.\&.\&.
|
||||
.fi
|
||||
.sp
|
||||
.TP
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
The command-line options\&. See Options\&.
|
||||
.TP
|
||||
.RS 4
|
||||
The command\-line options\&. See Options\&.
|
||||
.RE
|
||||
.PP
|
||||
\fIclassfile\fR
|
||||
One or more classes separated by spaces to be processed for annotations such as DocFooter\&.class\&. You can specify a class that can be found in the class path, by its file name or with a URL such as \f3file:///home/user/myproject/src/DocFooter\&.class\fR\&.
|
||||
.SH DESCRIPTION
|
||||
The \f3javap\fR command disassembles one or more class files\&. The output depends on the options used\&. When no options are used, then the \f3javap\fR command prints the package, protected and public fields, and methods of the classes passed to it\&. The \f3javap\fR command prints its output to \f3stdout\fR\&.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
-help, --help, -?
|
||||
.RS 4
|
||||
One or more classes separated by spaces to be processed for annotations such as DocFooter\&.class\&. You can specify a class that can be found in the class path, by its file name or with a URL such as
|
||||
\fBfile:///home/user/myproject/src/DocFooter\&.class\fR\&.
|
||||
.RE
|
||||
.SH "DESCRIPTION"
|
||||
.PP
|
||||
The
|
||||
\fBjavap\fR
|
||||
command disassembles one or more class files\&. The output depends on the options used\&. When no options are used, then the
|
||||
\fBjavap\fR
|
||||
command prints the package, protected and public fields, and methods of the classes passed to it\&. The
|
||||
\fBjavap\fR
|
||||
command prints its output to
|
||||
\fBstdout\fR\&.
|
||||
.SH "OPTIONS"
|
||||
.PP
|
||||
\-help
|
||||
.br
|
||||
Prints a help message for the \f3javap\fR command\&.
|
||||
.TP
|
||||
-version
|
||||
\-\-help
|
||||
.br
|
||||
\-?
|
||||
.RS 4
|
||||
Prints a help message for the
|
||||
\fBjavap\fR
|
||||
command\&.
|
||||
.RE
|
||||
.PP
|
||||
\-version
|
||||
.RS 4
|
||||
Prints release information\&.
|
||||
.TP
|
||||
-l
|
||||
.br
|
||||
.RE
|
||||
.PP
|
||||
\-l
|
||||
.RS 4
|
||||
Prints line and local variable tables\&.
|
||||
.TP
|
||||
-public
|
||||
.br
|
||||
.RE
|
||||
.PP
|
||||
\-public
|
||||
.RS 4
|
||||
Shows only public classes and members\&.
|
||||
.TP
|
||||
-protected
|
||||
.br
|
||||
.RE
|
||||
.PP
|
||||
\-protected
|
||||
.RS 4
|
||||
Shows only protected and public classes and members\&.
|
||||
.TP
|
||||
-private, -p
|
||||
.RE
|
||||
.PP
|
||||
\-private
|
||||
.br
|
||||
\-p
|
||||
.RS 4
|
||||
Shows all classes and members\&.
|
||||
.TP
|
||||
-J\fIoption\fR
|
||||
.br
|
||||
.RE
|
||||
.PP
|
||||
\-J\fIoption\fR
|
||||
.RS 4
|
||||
Passes the specified option to the JVM\&. For example:
|
||||
.sp
|
||||
.nf
|
||||
\f3javap \-J\-version\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3javap \-J\-Djava\&.security\&.manager \-J\-Djava\&.security\&.policy=MyPolicy MyClassName\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
|
||||
For more information about JVM options, see the \f3java(1)\fR command documentation\&.
|
||||
.TP
|
||||
-s
|
||||
.br
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBjavap \-J\-version\fR
|
||||
\fBjavap \-J\-Djava\&.security\&.manager \-J\-Djava\&.security\&.policy=MyPolicy MyClassName\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
For more information about JVM options, see the command documentation\&.
|
||||
.RE
|
||||
.PP
|
||||
\-s
|
||||
.RS 4
|
||||
Prints internal type signatures\&.
|
||||
.TP
|
||||
-sysinfo
|
||||
.br
|
||||
.RE
|
||||
.PP
|
||||
\-sysinfo
|
||||
.RS 4
|
||||
Shows system information (path, size, date, MD5 hash) of the class being processed\&.
|
||||
.TP
|
||||
-constants
|
||||
.br
|
||||
Shows \f3static final\fR constants\&.
|
||||
.TP
|
||||
-c
|
||||
.br
|
||||
.RE
|
||||
.PP
|
||||
\-constants
|
||||
.RS 4
|
||||
Shows
|
||||
\fBstatic final\fR
|
||||
constants\&.
|
||||
.RE
|
||||
.PP
|
||||
\-c
|
||||
.RS 4
|
||||
Prints disassembled code, for example, the instructions that comprise the Java bytecodes, for each of the methods in the class\&.
|
||||
.TP
|
||||
-verbose
|
||||
.br
|
||||
.RE
|
||||
.PP
|
||||
\-verbose
|
||||
.RS 4
|
||||
Prints stack size, number of locals and arguments for methods\&.
|
||||
.TP
|
||||
-classpath \fIpath\fR
|
||||
.br
|
||||
Specifies the path the \f3javap\fR command uses to look up classes\&. Overrides the default or the \f3CLASSPATH\fR environment variable when it is set\&.
|
||||
.TP
|
||||
-bootclasspath \fIpath\fR
|
||||
.br
|
||||
Specifies the path from which to load bootstrap classes\&. By default, the bootstrap classes are the classes that implement the core Java platform located in \f3jre/lib/rt\&.jar\fR and several other JAR files\&.
|
||||
.TP
|
||||
-extdir \fIdirs\fR
|
||||
.br
|
||||
Overrides the location at which installed extensions are searched for\&. The default location for extensions is the value of \f3java\&.ext\&.dirs\fR\&.
|
||||
.SH EXAMPLE
|
||||
Compile the following \f3DocFooter\fR class:
|
||||
.sp
|
||||
.nf
|
||||
\f3import java\&.awt\&.*;\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3import java\&.applet\&.*;\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3public class DocFooter extends Applet {\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 String date;\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 String email;\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 public void init() {\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 resize(500,100);\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 date = getParameter("LAST_UPDATED");\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 email = getParameter("EMAIL");\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 }\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 public void paint(Graphics g) {\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 g\&.drawString(date + " by ",100, 15);\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 g\&.drawString(email,290,15);\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 }\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3}\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
The output from the \f3javap DocFooter\&.class\fR command yields the following:
|
||||
.sp
|
||||
.nf
|
||||
\f3Compiled from "DocFooter\&.java"\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3public class DocFooter extends java\&.applet\&.Applet {\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 java\&.lang\&.String date;\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 java\&.lang\&.String email;\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 public DocFooter();\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 public void init();\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 public void paint(java\&.awt\&.Graphics);\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3}\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
The output from \f3javap -c DocFooter\&.class\fR command yields the following:
|
||||
.sp
|
||||
.nf
|
||||
\f3Compiled from "DocFooter\&.java"\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3public class DocFooter extends java\&.applet\&.Applet {\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 java\&.lang\&.String date;\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 java\&.lang\&.String email;\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 public DocFooter();\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 Code:\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 0: aload_0 \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 1: invokespecial #1 // Method\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3java/applet/Applet\&."<init>":()V\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 4: return \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 public void init();\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 Code:\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 0: aload_0 \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 1: sipush 500\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 4: bipush 100\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 6: invokevirtual #2 // Method resize:(II)V\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 9: aload_0 \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 10: aload_0 \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 11: ldc #3 // String LAST_UPDATED\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 13: invokevirtual #4 // Method\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 getParameter:(Ljava/lang/String;)Ljava/lang/String;\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 16: putfield #5 // Field date:Ljava/lang/String;\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 19: aload_0 \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 20: aload_0 \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 21: ldc #6 // String EMAIL\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 23: invokevirtual #4 // Method\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 getParameter:(Ljava/lang/String;)Ljava/lang/String;\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 26: putfield #7 // Field email:Ljava/lang/String;\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 29: return \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 public void paint(java\&.awt\&.Graphics);\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 Code:\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 0: aload_1 \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 1: new #8 // class java/lang/StringBuilder\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 4: dup \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 5: invokespecial #9 // Method\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 java/lang/StringBuilder\&."<init>":()V\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 8: aload_0 \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 9: getfield #5 // Field date:Ljava/lang/String;\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 12: invokevirtual #10 // Method\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 java/lang/StringBuilder\&.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 15: ldc #11 // String by \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 17: invokevirtual #10 // Method\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 java/lang/StringBuilder\&.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 20: invokevirtual #12 // Method\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 java/lang/StringBuilder\&.toString:()Ljava/lang/String;\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 23: bipush 100\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 25: bipush 15\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 27: invokevirtual #13 // Method\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 java/awt/Graphics\&.drawString:(Ljava/lang/String;II)V\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 30: aload_1 \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 31: aload_0 \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 32: getfield #7 // Field email:Ljava/lang/String;\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 35: sipush 290\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 38: bipush 15\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 40: invokevirtual #13 // Method\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3java/awt/Graphics\&.drawString:(Ljava/lang/String;II)V\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3 43: return \fP
|
||||
.fi
|
||||
.nf
|
||||
\f3}\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fP
|
||||
.fi
|
||||
.sp
|
||||
.SH SEE\ ALSO
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
javac(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
.RE
|
||||
.PP
|
||||
\-classpath \fIpath\fR
|
||||
.RS 4
|
||||
Specifies the path the
|
||||
\fBjavap\fR
|
||||
command uses to look up classes\&. Overrides the default or the
|
||||
\fBCLASSPATH\fR
|
||||
environment variable when it is set\&.
|
||||
.RE
|
||||
.PP
|
||||
\-bootclasspath \fIpath\fR
|
||||
.RS 4
|
||||
Specifies the path from which to load bootstrap classes\&. By default, the bootstrap classes are the classes that implement the core Java platform located in
|
||||
\fBjre/lib/rt\&.jar\fR
|
||||
and several other JAR files\&.
|
||||
.RE
|
||||
.PP
|
||||
\-extdir \fIdirs\fR
|
||||
.RS 4
|
||||
Overrides the location at which installed extensions are searched for\&. The default location for extensions is the value of
|
||||
\fBjava\&.ext\&.dirs\fR\&.
|
||||
.RE
|
||||
.SH "EXAMPLE"
|
||||
.PP
|
||||
Compile the following
|
||||
\fBDocFooter\fR
|
||||
class:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBimport java\&.awt\&.*;\fR
|
||||
\fBimport java\&.applet\&.*;\fR
|
||||
\fB \fR
|
||||
\fBpublic class DocFooter extends Applet {\fR
|
||||
\fB String date;\fR
|
||||
\fB String email;\fR
|
||||
\fB \fR
|
||||
\fB public void init() {\fR
|
||||
\fB resize(500,100);\fR
|
||||
\fB date = getParameter("LAST_UPDATED");\fR
|
||||
\fB email = getParameter("EMAIL");\fR
|
||||
\fB }\fR
|
||||
\fB \fR
|
||||
\fB public void paint(Graphics g) {\fR
|
||||
\fB g\&.drawString(date + " by ",100, 15);\fR
|
||||
\fB g\&.drawString(email,290,15);\fR
|
||||
\fB }\fR
|
||||
\fB}\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
The output from the
|
||||
\fBjavap DocFooter\&.class\fR
|
||||
command yields the following:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBCompiled from "DocFooter\&.java"\fR
|
||||
\fBpublic class DocFooter extends java\&.applet\&.Applet {\fR
|
||||
\fB java\&.lang\&.String date;\fR
|
||||
\fB java\&.lang\&.String email;\fR
|
||||
\fB public DocFooter();\fR
|
||||
\fB public void init();\fR
|
||||
\fB public void paint(java\&.awt\&.Graphics);\fR
|
||||
\fB}\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
The output from
|
||||
\fBjavap \-c DocFooter\&.class\fR
|
||||
command yields the following:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBCompiled from "DocFooter\&.java"\fR
|
||||
\fBpublic class DocFooter extends java\&.applet\&.Applet {\fR
|
||||
\fB java\&.lang\&.String date;\fR
|
||||
\fB java\&.lang\&.String email;\fR
|
||||
|
||||
\fB public DocFooter();\fR
|
||||
\fB Code:\fR
|
||||
\fB 0: aload_0 \fR
|
||||
\fB 1: invokespecial #1 // Method\fR
|
||||
\fBjava/applet/Applet\&."<init>":()V\fR
|
||||
\fB 4: return \fR
|
||||
|
||||
\fB public void init();\fR
|
||||
\fB Code:\fR
|
||||
\fB 0: aload_0 \fR
|
||||
\fB 1: sipush 500\fR
|
||||
\fB 4: bipush 100\fR
|
||||
\fB 6: invokevirtual #2 // Method resize:(II)V\fR
|
||||
\fB 9: aload_0 \fR
|
||||
\fB 10: aload_0 \fR
|
||||
\fB 11: ldc #3 // String LAST_UPDATED\fR
|
||||
\fB 13: invokevirtual #4 // Method\fR
|
||||
\fB getParameter:(Ljava/lang/String;)Ljava/lang/String;\fR
|
||||
\fB 16: putfield #5 // Field date:Ljava/lang/String;\fR
|
||||
\fB 19: aload_0 \fR
|
||||
\fB 20: aload_0 \fR
|
||||
\fB 21: ldc #6 // String EMAIL\fR
|
||||
\fB 23: invokevirtual #4 // Method\fR
|
||||
\fB getParameter:(Ljava/lang/String;)Ljava/lang/String;\fR
|
||||
\fB 26: putfield #7 // Field email:Ljava/lang/String;\fR
|
||||
\fB 29: return \fR
|
||||
|
||||
\fB public void paint(java\&.awt\&.Graphics);\fR
|
||||
\fB Code:\fR
|
||||
\fB 0: aload_1 \fR
|
||||
\fB 1: new #8 // class java/lang/StringBuilder\fR
|
||||
\fB 4: dup \fR
|
||||
\fB 5: invokespecial #9 // Method\fR
|
||||
\fB java/lang/StringBuilder\&."<init>":()V\fR
|
||||
\fB 8: aload_0 \fR
|
||||
\fB 9: getfield #5 // Field date:Ljava/lang/String;\fR
|
||||
\fB 12: invokevirtual #10 // Method\fR
|
||||
\fB java/lang/StringBuilder\&.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;\fR
|
||||
\fB 15: ldc #11 // String by \fR
|
||||
\fB 17: invokevirtual #10 // Method\fR
|
||||
\fB java/lang/StringBuilder\&.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;\fR
|
||||
\fB 20: invokevirtual #12 // Method\fR
|
||||
\fB java/lang/StringBuilder\&.toString:()Ljava/lang/String;\fR
|
||||
\fB 23: bipush 100\fR
|
||||
\fB 25: bipush 15\fR
|
||||
\fB 27: invokevirtual #13 // Method\fR
|
||||
\fB java/awt/Graphics\&.drawString:(Ljava/lang/String;II)V\fR
|
||||
\fB 30: aload_1 \fR
|
||||
\fB 31: aload_0 \fR
|
||||
\fB 32: getfield #7 // Field email:Ljava/lang/String;\fR
|
||||
\fB 35: sipush 290\fR
|
||||
\fB 38: bipush 15\fR
|
||||
\fB 40: invokevirtual #13 // Method\fR
|
||||
\fBjava/awt/Graphics\&.drawString:(Ljava/lang/String;II)V\fR
|
||||
\fB 43: return \fR
|
||||
\fB}\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "SEE ALSO"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
java(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
jdb(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
javah(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
javac(1)
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
javadoc(1)
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
javah(1)
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
jdb(1)
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
jdeps(1)
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,114 +1,210 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
.\" SectDesc: Troubleshooting Tools
|
||||
.\" Title: jcmd.1
|
||||
.\" Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Title: jcmd
|
||||
.\" Language: English
|
||||
.\" Date: 03 March 2015
|
||||
.\" SectDesc: Troubleshooting Tools
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: generic
|
||||
.\" Part Number: E38207-04
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH jcmd 1 "21 November 2013" "JDK 8" "Troubleshooting Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
.TH "jcmd" "1" "03 March 2015" "JDK 8" "Troubleshooting Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
jcmd \- Sends diagnostic command requests to a running Java Virtual Machine (JVM)\&.
|
||||
.SH SYNOPSIS
|
||||
.sp
|
||||
.nf
|
||||
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBjcmd\fR [\fB\-l\fR|\fB\-h\fR|\fB\-help\fR]
|
||||
.fi
|
||||
.nf
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBjcmd\fR \fIpid\fR|\fImain\-class\fR \fBPerfCounter\&.print\fR
|
||||
.fi
|
||||
.nf
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBjcmd\fR \fIpid\fR|\fImain\-class\fR \fB\-f\fR \fIfilename\fR
|
||||
.fi
|
||||
.nf
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBjcmd\fR \fIpid\fR|\fImain\-class\fR \fIcommand\fR[ \fIarguments\fR]
|
||||
.fi
|
||||
.sp
|
||||
.SH DESCRIPTION
|
||||
The \f3jcmd\fR utility is used to send diagnostic command requests to the JVM\&. It must be used on the same machine on which the JVM is running, and have the same effective user and group identifiers that were used to launch the JVM\&.
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "DESCRIPTION"
|
||||
.PP
|
||||
\fINote:\fR To invoke diagnostic commands from a remote machine or with different identiers, you can use the \f3com\&.sun\&.management\&.DiagnosticCommandMBean\fR interface\&. For more information about the \f3DiagnosticCommandMBean\fR interface, see the API documentation at http://download\&.java\&.net/jdk8/docs/jre/api/management/extension/com/sun/management/DiagnosticCommandMBean\&.html
|
||||
The
|
||||
\fBjcmd\fR
|
||||
utility is used to send diagnostic command requests to the JVM\&. It must be used on the same machine on which the JVM is running, and have the same effective user and group identifiers that were used to launch the JVM\&.
|
||||
.if n \{\
|
||||
.sp
|
||||
.\}
|
||||
.RS 4
|
||||
.it 1 an-trap
|
||||
.nr an-no-space-flag 1
|
||||
.nr an-break-flag 1
|
||||
.br
|
||||
.ps +1
|
||||
\fBNote\fR
|
||||
.ps -1
|
||||
.br
|
||||
.TS
|
||||
allbox tab(:);
|
||||
l.
|
||||
T{
|
||||
.PP
|
||||
If you run \f3jcmd\fR without arguments or with the \f3-l\fR option, it prints the list of running Java process identifiers with the main class and command-line arguments that were used to launch the process\&. Running \f3jcmd\fR with the \f3-h\fR or \f3-help\fR option prints the tool\(cqs help message\&.
|
||||
To invoke diagnostic commands from a remote machine or with different identifiers, you can use the
|
||||
\fBcom\&.sun\&.management\&.DiagnosticCommandMBean\fR
|
||||
interface\&. For more information about the
|
||||
\fBDiagnosticCommandMBean\fR
|
||||
interface, see the API documentation at http://docs\&.oracle\&.com/javase/8/docs/jre/api/management/extension/com/sun/management/DiagnosticCommandMBean\&.html
|
||||
T}
|
||||
.TE
|
||||
.sp 1
|
||||
.sp .5v
|
||||
.RE
|
||||
.PP
|
||||
If you run
|
||||
\fBjcmd\fR
|
||||
without arguments or with the
|
||||
\fB\-l\fR
|
||||
option, it prints the list of running Java process identifiers with the main class and command\-line arguments that were used to launch the process\&. Running
|
||||
\fBjcmd\fR
|
||||
with the
|
||||
\fB\-h\fR
|
||||
or
|
||||
\fB\-help\fR
|
||||
option prints the tool\(cqs help message\&.
|
||||
.PP
|
||||
If you specify the processes identifier (\fIpid\fR) or the main class (\fImain\-class\fR) as the first argument,
|
||||
\fBjcmd\fR
|
||||
sends the diagnostic command request to the Java process with the specified identifier or to all Java processes with the specified name of the main class\&. You can also send the diagnostic command request to all available Java processes by specifying
|
||||
\fB0\fR
|
||||
as the process identifier\&. Use one of the following as the diagnostic command request:
|
||||
.PP
|
||||
If you specify the processes identifier (\fIpid\fR) or the main class (\fImain-class\fR) as the first argument, \f3jcmd\fR sends the diagnostic command request to the Java process with the specified identifier or to all Java processes with the specified name of the main class\&. You can also send the diagnostic command request to all available Java processes by specifying \f30\fR as the process identifier\&. Use one of the following as the diagnostic command request:
|
||||
.TP
|
||||
Perfcounter\&.print
|
||||
.RS 4
|
||||
Prints the performance counters available for the specified Java process\&. The list of performance counters might vary with the Java process\&.
|
||||
.TP
|
||||
-f \fIfilename\fR
|
||||
.br
|
||||
The name of the file from which to read diagnostic commands and send them to the specified Java process\&. Used only with the \f3-f\fR option\&. Each command in the file must be written on a single line\&. Lines starting with a number sign (\f3#\fR) are ignored\&. Processing of the file ends when all lines have been read or when a line containing the \f3stop\fR keyword is read\&.
|
||||
.TP
|
||||
.RE
|
||||
.PP
|
||||
\-f \fIfilename\fR
|
||||
.RS 4
|
||||
The name of the file from which to read diagnostic commands and send them to the specified Java process\&. Used only with the
|
||||
\fB\-f\fR
|
||||
option\&. Each command in the file must be written on a single line\&. Lines starting with a number sign (\fB#\fR) are ignored\&. Processing of the file ends when all lines have been read or when a line containing the
|
||||
\fBstop\fR
|
||||
keyword is read\&.
|
||||
.RE
|
||||
.PP
|
||||
\fIcommand\fR [\fIarguments\fR]
|
||||
The command to be sent to the specified Java process\&. The list of available diagnostic commands for a given process can be obtained by sending the \f3help\fR command to this process\&. Each diagnostic command has its own set of arguments\&. To see the description, syntax, and a list of available arguments for a command, use the name of the command as the argument for the \f3help\fR command\&.
|
||||
|
||||
\fINote:\fR If any arguments contain spaces, you must surround them with single or double quotation marks (\f3\&'\fR or \f3"\fR)\&. In addition, you must escape single or double quotation marks with a backslash (\f3\e\fR) to prevent the operating system shell from processing quotation marks\&. Alternatively, you can surround these arguments with single quotation marks and then with double quotation marks (or with double quotation marks and then with single quotation marks)\&.
|
||||
.SH OPTIONS
|
||||
.RS 4
|
||||
The command to be sent to the specified Java process\&. The list of available diagnostic commands for a given process can be obtained by sending the
|
||||
\fBhelp\fR
|
||||
command to this process\&. Each diagnostic command has its own set of arguments\&. To see the description, syntax, and a list of available arguments for a command, use the name of the command as the argument for the
|
||||
\fBhelp\fR
|
||||
command\&.
|
||||
.sp
|
||||
\fBNote:\fR
|
||||
If any arguments contain spaces, you must surround them with single or double quotation marks (\fB\*(Aq\fR
|
||||
or
|
||||
\fB"\fR)\&. In addition, you must escape single or double quotation marks with a backslash (\fB\e\fR) to prevent the operating system shell from processing quotation marks\&. Alternatively, you can surround these arguments with single quotation marks and then with double quotation marks (or with double quotation marks and then with single quotation marks)\&.
|
||||
.RE
|
||||
.SH "OPTIONS"
|
||||
.PP
|
||||
Options are mutually exclusive\&.
|
||||
.TP
|
||||
-f \fIfilename\fR
|
||||
.br
|
||||
Reads commands from the specified file\&. This option can be used only if you specify the process identifier or the main class as the first argument\&. Each command in the file must be written on a single line\&. Lines starting with a number sign (\f3#\fR) are ignored\&. Processing of the file ends when all lines have been read or when a line containing the \f3stop\fR keyword is read\&.
|
||||
.TP
|
||||
-h, -help
|
||||
.PP
|
||||
\-f \fIfilename\fR
|
||||
.RS 4
|
||||
Reads commands from the specified file\&. This option can be used only if you specify the process identifier or the main class as the first argument\&. Each command in the file must be written on a single line\&. Lines starting with a number sign (\fB#\fR) are ignored\&. Processing of the file ends when all lines have been read or when a line containing the
|
||||
\fBstop\fR
|
||||
keyword is read\&.
|
||||
.RE
|
||||
.PP
|
||||
\-h
|
||||
.br
|
||||
\-help
|
||||
.RS 4
|
||||
Prints a help message\&.
|
||||
.TP
|
||||
-l
|
||||
.br
|
||||
Prints the list of running Java processes identifiers with the main class and command-line arguments\&.
|
||||
.SH SEE\ ALSO
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
.RE
|
||||
.PP
|
||||
\-l
|
||||
.RS 4
|
||||
Prints the list of running Java processes identifiers with the main class and command\-line arguments\&.
|
||||
.RE
|
||||
.SH "SEE ALSO"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
jps(1)
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH jconsole 1 "21 November 2013" "JDK 8" "Java Troubleshooting, Profiling, Monitoring and Management Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
jconsole \- Starts a graphical console that lets you monitor and manage Java applications\&.
|
||||
@ -107,7 +106,7 @@ Monitoring and Management Using JMX Technology at http://docs\&.oracle\&.com/jav
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
The \f3JMXServiceURL\fR class description at http://docs\&.oracle\&.com/javase/8/docs/api/javax/management/remote/JMXServiceURL\&.html
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH jdb 1 "21 November 2013" "JDK 8" "Basic Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
jdb \- Finds and fixes bugs in Java platform programs\&.
|
||||
@ -265,7 +264,7 @@ javah(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
javap(1)
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH jdeps 1 "21 November 2013" "JDK 8" "Basic Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
jdeps \- Java class dependency analyzer\&.
|
||||
@ -532,7 +531,7 @@ Generate dot files of the dependencies of Notepad demo\&.
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
javap(1)
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH jhat 1 "21 November 2013" "JDK 8" "Troubleshooting Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
jhat \- Analyzes the Java heap\&. This command is experimental and unsupported\&.
|
||||
@ -131,7 +130,7 @@ jconsole(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
HPROF: A Heap/CPU Profiling Tool at http://docs\&.oracle\&.com/javase/8/docs/technotes/samples/hprof\&.html
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH jinfo 1 "21 November 2013" "JDK 8" "Troubleshooting Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
jinfo \- Generates configuration information\&. This command is experimental and unsupported\&.
|
||||
@ -127,7 +126,7 @@ jps(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
jsadebugd(1)
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,352 +1,247 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
.\" SectDesc: Basic Tools
|
||||
.\" Title: jjs.1
|
||||
.\" Copyright (c) 1994, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Title: jjs
|
||||
.\" Language: English
|
||||
.\" Date: 03 March 2015
|
||||
.\" SectDesc: Basic Tools
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: generic
|
||||
.\" Part Number: E38207-04
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH jjs 1 "21 November 2013" "JDK 8" "Basic Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
.TH "jjs" "1" "03 March 2015" "JDK 8" "Basic Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
jjs \- Invokes the Nashorn engine\&.
|
||||
.SH SYNOPSIS
|
||||
.sp
|
||||
.nf
|
||||
\f3\fBjjs\fR [\fIoptions\fR] [\fIscript\-files\fR] [\-\- \fIarguments\fR]\fP
|
||||
.fi
|
||||
.sp
|
||||
.TP
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fB\fBjjs\fR\fR\fB [\fR\fB\fIoptions\fR\fR\fB] [\fR\fB\fIscript\-files\fR\fR\fB] [\-\- \fR\fB\fIarguments\fR\fR\fB]\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
One or more options of the \f3jjs\fR command, separated by spaces\&. For more information, see Options\&.
|
||||
.TP
|
||||
\fIscript-files\fR
|
||||
.RS 4
|
||||
One or more options of the
|
||||
\fBjjs\fR
|
||||
command, separated by spaces\&. For more information, see Options\&.
|
||||
.RE
|
||||
.PP
|
||||
\fIscript\-files\fR
|
||||
.RS 4
|
||||
One or more script files which you want to interpret using Nashorn, separated by spaces\&. If no files are specified, an interactive shell is started\&.
|
||||
.TP
|
||||
.RE
|
||||
.PP
|
||||
\fIarguments\fR
|
||||
All values after the double hyphen marker (\f3--\fR) are passed through to the script or the interactive shell as arguments\&. These values can be accessed by using the \f3arguments\fR property (see )\&.
|
||||
.SH DESCRIPTION
|
||||
The \f3jjs\fR command-line tool is used to invoke the Nashorn engine\&. You can use it to interpret one or several script files, or to run an interactive shell\&.
|
||||
.SH OPTIONS
|
||||
The options of the \f3jjs\fR command control the conditions under which scripts are interpreted by Nashorn\&.
|
||||
.TP
|
||||
-ccs=\fIsize\fR , --class-cache-size=\fIsize\fR
|
||||
.br
|
||||
Sets the class cache size (in bytes)\&. Append the letter \f3k\fR or \f3K\fR to indicate kilobytes (KB), \f3m\fR or \f3M\fR to indicate megabytes (MB), \f3g\fR or \f3G\fR to indicate gigabytes (GB)\&. By default, the class cache size is set to 50 bytes\&. The following example shows how to set it to 1024 bytes (1 KB):
|
||||
.sp
|
||||
.nf
|
||||
\f3\-css=100\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\-css=1k\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
.fi
|
||||
.sp
|
||||
|
||||
.TP
|
||||
-co, --compile-only
|
||||
.br
|
||||
Compiles the script without running it\&.
|
||||
.TP
|
||||
-cp \fIpath\fR , --classpath \fIpath\fR
|
||||
.RS 4
|
||||
All values after the double hyphen marker (\fB\-\-\fR) are passed through to the script or the interactive shell as arguments\&. These values can be accessed by using the
|
||||
\fBarguments\fR
|
||||
property (see Example 3)\&.
|
||||
.RE
|
||||
.SH "DESCRIPTION"
|
||||
.PP
|
||||
The
|
||||
\fBjjs\fR
|
||||
command\-line tool is used to invoke the Nashorn engine\&. You can use it to interpret one or several script files, or to run an interactive shell\&.
|
||||
.SH "OPTIONS"
|
||||
.PP
|
||||
The options of the
|
||||
\fBjjs\fR
|
||||
command control the conditions under which scripts are interpreted by Nashorn\&.
|
||||
.PP
|
||||
\-cp \fIpath\fR
|
||||
.br
|
||||
\-classpath \fIpath\fR
|
||||
.RS 4
|
||||
Specifies the path to the supporting class files To set multiple paths, the option can be repeated, or you can separate each path with a colon (:)\&.
|
||||
.TP
|
||||
-D\fIname\fR=\fIvalue\fR
|
||||
.br
|
||||
Sets a system property to be passed to the script by assigning a value to a property name\&. The following example shows how to invoke Nashorn in interactive mode and assign \f3myValue\fR to the property named \f3myKey\fR:
|
||||
.sp
|
||||
.nf
|
||||
\f3>> \fIjjs \-DmyKey=myValue\fR\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3jjs> \fIjava\&.lang\&.System\&.getProperty("myKey")\fR\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3myValue\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3jjs>\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
.fi
|
||||
.sp
|
||||
|
||||
|
||||
.RE
|
||||
.PP
|
||||
\-D\fIname\fR=\fIvalue\fR
|
||||
.RS 4
|
||||
Sets a system property to be passed to the script by assigning a value to a property name\&. The following example shows how to invoke Nashorn in interactive mode and assign
|
||||
\fBmyValue\fR
|
||||
to the property named
|
||||
\fBmyKey\fR:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fB>> \fR\fB\fBjjs \-DmyKey=myValue\fR\fR
|
||||
\fBjjs> \fR\fB\fBjava\&.lang\&.System\&.getProperty("myKey")\fR\fR
|
||||
\fBmyValue\fR
|
||||
\fBjjs>\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
This option can be repeated to set multiple properties\&.
|
||||
.TP
|
||||
-d=\fIpath\fR , --dump-debug-dir=\fIpath\fR
|
||||
.RE
|
||||
.PP
|
||||
\-doe
|
||||
.br
|
||||
Specifies the path to the directory where class files are dumped\&.
|
||||
.TP
|
||||
--debug-lines
|
||||
.br
|
||||
Generates a line number table in the class file\&. By default, this option is enabled\&. To disable it, specify \f3--debug-lines=false\fR\&.
|
||||
.TP
|
||||
--debug-locals
|
||||
.br
|
||||
Generates a local variable table in the class file\&.
|
||||
.TP
|
||||
-doe, --dump-on-error
|
||||
.br
|
||||
Provides a full stack trace when an arror occurs\&. By default, only a brief error message is printed\&.
|
||||
.TP
|
||||
--early-lvalue-error
|
||||
.br
|
||||
Reports invalid lvalue expressions as early errors (that is, when the code is parsed)\&. By default, this option is enabled\&. To disable it, specify \f3--early-lvalue-error=false\fR\&. When disabled, invalid lvalue expressions will not be reported until the code is executed\&.
|
||||
.TP
|
||||
--empty-statements
|
||||
.br
|
||||
Preserves empty statements in the Java abstract syntax tree\&.
|
||||
.TP
|
||||
-fv, --fullversion
|
||||
\-\-dump\-on\-error
|
||||
.RS 4
|
||||
Provides a full stack trace when an error occurs\&. By default, only a brief error message is printed\&.
|
||||
.RE
|
||||
.PP
|
||||
\-fv
|
||||
.br
|
||||
\-\-fullversion
|
||||
.RS 4
|
||||
Prints the full Nashorn version string\&.
|
||||
.TP
|
||||
--function-statement-error
|
||||
.br
|
||||
Prints an error message when a function declaration is used as a statement\&.
|
||||
.TP
|
||||
--function-statement-warning
|
||||
.br
|
||||
Prints a warning message when a function declaration is used as a statement\&.
|
||||
.TP
|
||||
-fx
|
||||
.br
|
||||
.RE
|
||||
.PP
|
||||
\-fx
|
||||
.RS 4
|
||||
Launches the script as a JavaFX application\&.
|
||||
.TP
|
||||
-h, -help
|
||||
.RE
|
||||
.PP
|
||||
\-h
|
||||
.br
|
||||
\-help
|
||||
.RS 4
|
||||
Prints the list of options and their descriptions\&.
|
||||
.TP
|
||||
-J\fIoption\fR
|
||||
.br
|
||||
Passes the specified \f3java\fR launcher option to the JVM\&. The following example shows how to invoke Nashorn in interactive mode and set the maximum memory used by the JVM to 4 GB:
|
||||
.sp
|
||||
.nf
|
||||
\f3>> \fIjjs \-J\-Xmx4g\fR\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3jjs> \fIjava\&.lang\&.Runtime\&.getRuntime()\&.maxMemory()\fR\fP
|
||||
.fi
|
||||
.nf
|
||||
\f33817799680\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3jjs>\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
.fi
|
||||
.sp
|
||||
|
||||
|
||||
This option can be repeated to pass multiple \f3java\fR command options\&.
|
||||
.TP
|
||||
--lazy-compilation
|
||||
.br
|
||||
Enables lazy code generation strategies (that is, the entire script is not compiled at once)\&. This option is experimental\&.
|
||||
.TP
|
||||
--loader-per-compile
|
||||
.br
|
||||
Creates a new class loader per compile\&. By default, this option is enabled\&. To disable it, specify \f3--loader-per-compile=false\fR\&.
|
||||
.TP
|
||||
--log=\fIsubsystem\fR:\fIlevel\fR
|
||||
.br
|
||||
Performs logging at a given level for the specified subsystems\&. You can specify logging levels for multiple subsystems separating them with commas\&. For example:
|
||||
.sp
|
||||
.nf
|
||||
\f3\-\-log=fields:finest,codegen:info\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
.fi
|
||||
.sp
|
||||
|
||||
.TP
|
||||
--package=\fIname\fR
|
||||
.br
|
||||
Specifies the package to which generated class files are added\&.
|
||||
.TP
|
||||
--parse-only
|
||||
.br
|
||||
Parses the code without compiling\&.
|
||||
.TP
|
||||
--print-ast
|
||||
.br
|
||||
Prints the abstract syntax tree\&.
|
||||
.TP
|
||||
--print-code
|
||||
.br
|
||||
Prints bytecode\&.
|
||||
.TP
|
||||
--print-lower-ast
|
||||
.br
|
||||
Prints the lowered abstract syntax tree\&.
|
||||
.TP
|
||||
--print-lower-parse
|
||||
.br
|
||||
Prints the lowered parse tree\&.
|
||||
.TP
|
||||
--print-no-newline
|
||||
.br
|
||||
Forces other \f3--print*\fR options to print the output on one line\&.
|
||||
.TP
|
||||
--print-parse
|
||||
.br
|
||||
Prints the parse tree\&.
|
||||
.TP
|
||||
--print-symbols
|
||||
.br
|
||||
Prints the symbol table\&.
|
||||
.TP
|
||||
-pcs, --profile-callsites
|
||||
.br
|
||||
Dumps callsite profile data\&.
|
||||
.TP
|
||||
-scripting
|
||||
.RE
|
||||
.PP
|
||||
\-\-language=[es5]
|
||||
.RS 4
|
||||
Specifies the ECMAScript language version\&. The default version is ES5\&.
|
||||
.RE
|
||||
.PP
|
||||
\-ot
|
||||
.br
|
||||
\-\-optimistic\-types=[true|false]
|
||||
.RS 4
|
||||
Enables or disables optimistic type assumptions with deoptimizing recompilation\&. Running with optimistic types will yield higher final speed, but may increase warmup time\&.
|
||||
.RE
|
||||
.PP
|
||||
\-scripting
|
||||
.RS 4
|
||||
Enables shell scripting features\&.
|
||||
.TP
|
||||
--stderr=\fIfilename\fR|\fIstream\fR|\fItty\fR
|
||||
.br
|
||||
Redirects the standard error stream to the specified file, stream (for example, to \f3stdout\fR), or text terminal\&.
|
||||
.TP
|
||||
--stdout=\fIfilename\fR|\fIstream\fR|\fItty\fR
|
||||
.br
|
||||
Redirects the standard output stream to the specified file, stream (for example, to \f3stderr\fR), or text terminal\&.
|
||||
.TP
|
||||
-strict
|
||||
.br
|
||||
.RE
|
||||
.PP
|
||||
\-strict
|
||||
.RS 4
|
||||
Enables strict mode, which enforces stronger adherence to the standard (ECMAScript Edition 5\&.1), making it easier to detect common coding errors\&.
|
||||
.TP
|
||||
-t=\fIzone\fR , -timezone=\fIzone\fR
|
||||
.RE
|
||||
.PP
|
||||
\-t=\fIzone\fR
|
||||
.br
|
||||
Sets the specified time zone for script execution\&. It overrides the time zone set in the OS and used by the \f3Date\fR object\&.
|
||||
.TP
|
||||
-tcs=\fIparameter\fR , --trace-callsites=\fIparameter\fR
|
||||
.br
|
||||
Enables callsite trace mode\&. Possible parameters are the following:
|
||||
.RS
|
||||
.TP
|
||||
miss
|
||||
Trace callsite misses\&.
|
||||
.TP
|
||||
enterexit
|
||||
Trace callsite enter/exit\&.
|
||||
.TP
|
||||
objects
|
||||
Print object properties\&.
|
||||
.RE
|
||||
|
||||
.TP
|
||||
--verify-code
|
||||
.br
|
||||
Verifies bytecode before running\&.
|
||||
.TP
|
||||
-v, -version
|
||||
\-timezone=\fIzone\fR
|
||||
.RS 4
|
||||
Sets the specified time zone for script execution\&. It overrides the time zone set in the OS and used by the
|
||||
\fBDate\fR
|
||||
object\&.
|
||||
.RE
|
||||
.PP
|
||||
\-v
|
||||
.br
|
||||
\-version
|
||||
.RS 4
|
||||
Prints the Nashorn version string\&.
|
||||
.TP
|
||||
-xhelp
|
||||
.RE
|
||||
.SH "EXAMPLES"
|
||||
.PP
|
||||
\fBExample 1 \fRRunning a Script with Nashorn
|
||||
.RS 4
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBjjs script\&.js\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.RE
|
||||
.PP
|
||||
\fBExample 2 \fRRunning Nashorn in Interactive Mode
|
||||
.RS 4
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fB>> \fR\fB\fBjjs\fR\fR
|
||||
\fBjjs> \fR\fB\fBprintln("Hello, World!")\fR\fR
|
||||
\fBHello, World!\fR
|
||||
\fBjjs> \fR\fB\fBquit()\fR\fR
|
||||
\fB>>\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.RE
|
||||
.PP
|
||||
\fBExample 3 \fRPassing Arguments to Nashorn
|
||||
.RS 4
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fB>> \fR\fB\fBjjs \-\- a b c\fR\fR
|
||||
\fBjjs> \fR\fB\fBarguments\&.join(", ")\fR\fR
|
||||
\fBa, b, c\fR
|
||||
\fBjjs>\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.RE
|
||||
.SH "SEE ALSO"
|
||||
.PP
|
||||
\fBjrunscript\fR
|
||||
.br
|
||||
Prints extended help for command-line options\&.
|
||||
.SH EXAMPLES
|
||||
\f3Example 1 Running a Script with Nashorn\fR
|
||||
.sp
|
||||
.nf
|
||||
\f3jjs script\&.js\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
.fi
|
||||
.sp
|
||||
\f3Example 2 Running Nashorn in Interactive Mode\fR
|
||||
.sp
|
||||
.nf
|
||||
\f3>> \fIjjs\fR\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3jjs> \fIprintln("Hello, World!")\fR\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3Hello, World!\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3jjs> \fIquit()\fR\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3>>\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
.fi
|
||||
.sp
|
||||
\f3Example 3 Passing Arguments to Nashorn\fR
|
||||
.sp
|
||||
.nf
|
||||
\f3>> \fIjjs \-\- a b c\fR\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3jjs> \fIarguments\&.join(", ")\fR\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3a, b, c\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3jjs>\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fR
|
||||
.fi
|
||||
.sp
|
||||
.SH SEE\ ALSO
|
||||
\f3jrunscript\fR
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH jmap 1 "21 November 2013" "JDK 8" "Troubleshooting Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
jmap \- Prints shared object memory maps or heap memory details for a process, core file, or remote debug server\&. This command is experimental and unsupported\&.
|
||||
@ -138,7 +137,7 @@ jps(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
jsadebugd(1)
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH jps 1 "21 November 2013" "JDK 8" "Monitoring Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
jps \- Lists the instrumented Java Virtual Machines (JVMs) on the target system\&. This command is experimental and unsupported\&.
|
||||
@ -199,7 +198,7 @@ jstatd(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
rmiregistry(1)
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH jrunscript 1 "21 November 2013" "JDK 8" "Scripting Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
jrunscript \- Runs a command-line script shell that supports interactive and batch modes\&. This command is experimental and unsupported\&.
|
||||
@ -190,7 +189,7 @@ The test\&.js file is the script file\&. The \f3arg1\fR, \f3arg2\fR and \f3arg3\
|
||||
.sp
|
||||
.SH SEE\ ALSO
|
||||
If JavaScript is used, then before it evaluates a user defined script, the \f3jrunscript\fR command initializes certain built-in functions and objects\&. These JavaScript built-ins are documented in JsDoc-Toolkit at http://code\&.google\&.com/p/jsdoc-toolkit/
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH jsadebugd 1 "21 November 2013" "JDK 8" "Troubleshooting Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
jsadebugd \- Attaches to a Java process or core file and acts as a debug server\&. This command is experimental and unsupported\&.
|
||||
@ -103,7 +102,7 @@ jstack(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
rmiregistry(1)
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH jstack 1 "21 November 2013" "JDK 8" "Troubleshooting Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
jstack \- Prints Java thread stack traces for a Java process, core file, or remote debug server\&. This command is experimental and unsupported\&.
|
||||
@ -132,7 +131,7 @@ jps(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
jsadebugd(1)
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH jstatd 1 "21 November 2013" "JDK 8" "Monitoring Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
jstatd \- Monitors Java Virtual Machines (JVMs) and enables remote monitoring tools to attach to JVMs\&. This command is experimental and unsupported\&.
|
||||
@ -204,7 +203,7 @@ jstat(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
rmiregistry(1)
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,53 +1,52 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 6 August 2013
|
||||
.\" Date: 03 March 2015
|
||||
.\" SectDesc: Security Tools
|
||||
.\" Title: keytool.1
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH keytool 1 "6 August 2013" "JDK 8" "Security Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.TH keytool 1 "03 March 2015" "JDK 8" "Security Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
keytool \- Manages a keystore (database) of cryptographic keys, X\&.509 certificate chains, and trusted certificates\&.
|
||||
@ -185,10 +184,16 @@ Brackets surrounding an option signify that the user is prompted for the values
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
Items in italics (option values) represent the actual values that must be supplied\&. For example, here is the format of the \f3-printcert\fR command:
|
||||
.sp
|
||||
.nf
|
||||
\f3keytool \-printcert {\-file \fIcert_file\fR} {\-v}\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
\f3keytool -printcert {-file cert_file} {-v}\fR
|
||||
|
||||
When you specify a \f3-printcert\fR command, replace \f3cert_file\fR with the actual file name, as follows: \f3keytool -printcert -file VScert\&.cer\fR
|
||||
|
||||
|
||||
When you specify a \f3-printcert\fR command, replace \fIcert_file\fR with the actual file name, as follows: \f3keytool -printcert -file VScert\&.cer\fR
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
Option values must be put in quotation marks when they contain a blank (space)\&.
|
||||
@ -385,10 +390,39 @@ The \f3subjectKeyIdentifier\fR extension is always created\&. For non-self-signe
|
||||
.PP
|
||||
\fINote:\fR Users should be aware that some combinations of extensions (and other certificate fields) may not conform to the Internet standard\&. See Certificate Conformance Warning\&.
|
||||
.SH COMMANDS
|
||||
.TP
|
||||
.TP
|
||||
-gencert
|
||||
.br
|
||||
\f3{-rfc} {-infile infile} {-outfile outfile} {-alias alias} {-sigalg sigalg} {-dname dname} {-startdate startdate {-ext ext}* {-validity valDays} [-keypass keypass] {-keystore keystore} [-storepass storepass] {-storetype storetype} {-providername provider_name} {-providerClass provider_class_name {-providerArg provider_arg}} {-v} {-protected} {-Jjavaoption}\fR
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-rfc} {\-infile \fIinfile\fR} {\-outfile \fIoutfile\fR} {\-alias \fIalias\fR} {\-sigalg \fIsigalg\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-dname \fIdname\fR} {\-startdate \fIstartdate\fR {\-ext \fIext\fR}* {\-validity \fIvalDays\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3[\-keypass \fIkeypass\fR] {\-keystore \fIkeystore\fR} [\-storepass \fIstorepass\fR]\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-storetype \fIstoretype\fR} {\-providername \fIprovider_name\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-providerClass \fIprovider_class_name\fR {\-providerArg \fIprovider_arg\fR}}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-v} {\-protected} {\-Jjavaoption}\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
|
||||
Generates a certificate as a response to a certificate request file (which can be created by the \f3keytool\fR\f3-certreq\fR command)\&. The command reads the request from \fIinfile\fR (if omitted, from the standard input), signs it using alias\&'s private key, and outputs the X\&.509 certificate into \fIoutfile\fR (if omitted, to the standard output)\&. When\f3-rfc\fR is specified, the output format is Base64-encoded PEM; otherwise, a binary DER is created\&.
|
||||
|
||||
@ -459,10 +493,39 @@ The following command creates the certificate \f3e1\fR and stores it in the file
|
||||
.fi
|
||||
.sp
|
||||
|
||||
.TP
|
||||
.TP
|
||||
-genkeypair
|
||||
.br
|
||||
\f3{-alias alias} {-keyalg keyalg} {-keysize keysize} {-sigalg sigalg} [-dname dname] [-keypass keypass] {-startdate value} {-ext ext}* {-validity valDays} {-storetype storetype} {-keystore keystore} [-storepass storepass] {-providerClass provider_class_name {-providerArg provider_arg}} {-v} {-protected} {-Jjavaoption}\fR
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-alias \fIalias\fR} {\-keyalg \fIkeyalg\fR} {\-keysize \fIkeysize\fR} {\-sigalg \fIsigalg\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3[\-dname \fIdname\fR] [\-keypass \fIkeypass\fR] {\-startdate \fIvalue\fR} {\-ext \fIext\fR}*\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-validity \fIvalDays\fR} {\-storetype \fIstoretype\fR} {\-keystore \fIkeystore\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3[\-storepass \fIstorepass\fR]\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-providerClass \fIprovider_class_name\fR {\-providerArg \fIprovider_arg\fR}}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-v} {\-protected} {\-Jjavaoption}\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
|
||||
Generates a key pair (a public key and associated private key)\&. Wraps the public key into an X\&.509 v3 self-signed certificate, which is stored as a single-element certificate chain\&. This certificate chain and the private key are stored in a new keystore entry identified by alias\&.
|
||||
|
||||
@ -510,18 +573,61 @@ When the option is not provided, the start date is the current time\&. The optio
|
||||
The value of \f3valDays\fR specifies the number of days (starting at the date specified by \f3-startdate\fR, or the current date when \f3-startdate\fR is not specified) for which the certificate should be considered valid\&.
|
||||
|
||||
This command was named \f3-genkey\fR in earlier releases\&. The old name is still supported in this release\&. The new name, \f3-genkeypair\fR, is preferred going forward\&.
|
||||
.TP
|
||||
.TP
|
||||
-genseckey
|
||||
.br
|
||||
\f3-genseckey {-alias alias} {-keyalg keyalg} {-keysize keysize} [-keypass keypass] {-storetype storetype} {-keystore keystore} [-storepass storepass] {-providerClass provider_class_name {-providerArg provider_arg}} {-v} {-protected} {-Jjavaoption}\fR
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-alias \fIalias\fR} {\-keyalg \fIkeyalg\fR} {\-keysize \fIkeysize\fR} [\-keypass \fIkeypass\fR]\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-storetype \fIstoretype\fR} {\-keystore \fIkeystore\fR} [\-storepass \fIstorepass\fR]\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-providerClass \fIprovider_class_name\fR {\-providerArg \fIprovider_arg\fR}} {\-v}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-protected} {\-Jjavaoption}\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
|
||||
Generates a secret key and stores it in a new \f3KeyStore\&.SecretKeyEntry\fR identified by \f3alias\fR\&.
|
||||
|
||||
The value of \f3keyalg\fR specifies the algorithm to be used to generate the secret key, and the value of \f3keysize\fR specifies the size of the key to be generated\&. The \f3keypass\fR value is a password that protects the secret key\&. If no password is provided, then the user is prompted for it\&. If you press the Return key at the prompt, then the key password is set to the same password that is used for the \f3keystore\fR\&. The \f3keypass\fR value must be at least 6 characters\&.
|
||||
.TP
|
||||
.TP
|
||||
-importcert
|
||||
.br
|
||||
\f3-importcert {-alias alias} {-file cert_file} [-keypass keypass] {-noprompt} {-trustcacerts} {-storetype storetype} {-keystore keystore} [-storepass storepass] {-providerName provider_name} {-providerClass provider_class_name {-providerArg provider_arg}} {-v} {-protected} {-Jjavaoption}\fR
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-alias \fIalias\fR} {\-file \fIcert_file\fR} [\-keypass \fIkeypass\fR] {\-noprompt} {\-trustcacerts}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-storetype \fIstoretype\fR} {\-keystore \fIkeystore\fR} [\-storepass \fIstorepass\fR]\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-providerName \fIprovider_name\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-providerClass \fIprovider_class_name\fR {\-providerArg \fIprovider_arg\fR}}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-v} {\-protected} {\-Jjavaoption}\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
|
||||
Reads the certificate or certificate chain (where the latter is supplied in a PKCS#7 formatted reply or a sequence of X\&.509 certificates) from the file \f3cert_file\fR, and stores it in the \f3keystore\fR entry identified by \f3alias\fR\&. If no file is specified, then the certificate or certificate chain is read from \f3stdin\fR\&.
|
||||
|
||||
@ -530,16 +636,74 @@ The \f3keytool\fR command can import X\&.509 v1, v2, and v3 certificates, and PK
|
||||
You import a certificate for two reasons: To add it to the list of trusted certificates, and to import a certificate reply received from a certificate authority (CA) as the result of submitting a Certificate Signing Request to that CA (see the \f3-certreq\fR option in Commands)\&.
|
||||
|
||||
Which type of import is intended is indicated by the value of the \f3-alias\fR option\&. If the alias does not point to a key entry, then the \f3keytool\fR command assumes you are adding a trusted certificate entry\&. In this case, the alias should not already exist in the keystore\&. If the alias does already exist, then the \f3keytool\fR command outputs an error because there is already a trusted certificate for that alias, and does not import the certificate\&. If the alias points to a key entry, then the \f3keytool\fR command assumes you are importing a certificate reply\&.
|
||||
.TP
|
||||
.TP
|
||||
-importpassword
|
||||
.br
|
||||
\f3{-alias alias} [-keypass keypass] {-storetype storetype} {-keystore keystore} [-storepass storepass] {-providerClass provider_class_name {-providerArg provider_arg}} {-v} {-protected} {-Jjavaoption}\fR
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-alias \fIalias\fR} [\-keypass \fIkeypass\fR] {\-storetype \fIstoretype\fR} {\-keystore \fIkeystore\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3[\-storepass \fIstorepass\fR]\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-providerClass \fIprovider_class_name\fR {\-providerArg \fIprovider_arg\fR}}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-v} {\-protected} {\-Jjavaoption}\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
|
||||
Imports a passphrase and stores it in a new \f3KeyStore\&.SecretKeyEntry\fR identified by \f3alias\fR\&. The passphrase may be supplied via the standard input stream; otherwise the user is prompted for it\&. \f3keypass\fR is a password used to protect the imported passphrase\&. If no password is provided, the user is prompted for it\&. If you press the Return key at the prompt, the key password is set to the same password as that used for the \f3keystore\fR\&. \f3keypass\fR must be at least 6 characters long\&.
|
||||
.TP
|
||||
.TP
|
||||
-importkeystore
|
||||
.br
|
||||
\f3{-srcstoretype srcstoretype} {-deststoretype deststoretype} [-srcstorepass srcstorepass] [-deststorepass deststorepass] {-srcprotected} {-destprotected} {-srcalias srcalias {-destalias destalias} [-srckeypass srckeypass] } [-destkeypass destkeypass] {-noprompt} {-srcProviderName src_provider_name} {-destProviderName dest_provider_name} {-providerClass provider_class_name {-providerArg provider_arg}} {-v} {-protected} {-Jjavaoption}\fR
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-srcstoretype \fIsrcstoretype\fR} {\-deststoretype \fIdeststoretype\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3[\-srcstorepass \fIsrcstorepass\fR] [\-deststorepass \fIdeststorepass\fR] {\-srcprotected}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-destprotected} \fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-srcalias \fIsrcalias\fR {\-destalias \fIdestalias\fR} [\-srckeypass \fIsrckeypass\fR]} \fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3[\-destkeypass \fIdestkeypass\fR] {\-noprompt}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-srcProviderName \fIsrc_provider_name\fR} {\-destProviderName \fIdest_provider_name\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-providerClass \fIprovider_class_name\fR {\-providerArg \fIprovider_arg\fR}} {\-v}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-protected} {\-Jjavaoption}\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
|
||||
Imports a single entry or all entries from a source keystore to a destination keystore\&.
|
||||
|
||||
@ -550,16 +714,44 @@ If the \f3-srcalias\fR option is not provided, then all entries in the source ke
|
||||
If the destination alias already exists in the destination keystore, then the user is prompted to either overwrite the entry or to create a new entry under a different alias name\&.
|
||||
|
||||
If the \f3-noprompt\fR option is provided, then the user is not prompted for a new destination alias\&. Existing entries are overwritten with the destination alias name\&. Entries that cannot be imported are skipped and a warning is displayed\&.
|
||||
.TP
|
||||
.TP
|
||||
-printcertreq
|
||||
.br
|
||||
\f3{-file file}\fR
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-file \fIfile\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
|
||||
Prints the content of a PKCS #10 format certificate request, which can be generated by the \f3keytool\fR\f3-certreq\fR command\&. The command reads the request from file\&. If there is no file, then the request is read from the standard input\&.
|
||||
.TP
|
||||
.TP
|
||||
-certreq
|
||||
.br
|
||||
\f3{-alias alias} {-dname dname} {-sigalg sigalg} {-file certreq_file} [-keypass keypass] {-storetype storetype} {-keystore keystore} [-storepass storepass] {-providerName provider_name} {-providerClass provider_class_name {-providerArg provider_arg}} {-v} {-protected} {-Jjavaoption}\fR
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-alias \fIalias\fR} {\-dname \fIdname\fR} {\-sigalg \fIsigalg\fR} {\-file \fIcertreq_file\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3[\-keypass \fIkeypass\fR] {\-storetype \fIstoretype\fR} {\-keystore \fIkeystore\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3[\-storepass \fIstorepass\fR] {\-providerName \fIprovider_name\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-providerClass \fIprovider_class_name\fR {\-providerArg \fIprovider_arg\fR}}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-v} {\-protected} {\-Jjavaoption}\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
|
||||
Generates a Certificate Signing Request (CSR) using the PKCS #10 format\&.
|
||||
|
||||
@ -572,10 +764,29 @@ The \f3sigalg\fR value specifies the algorithm that should be used to sign the C
|
||||
The CSR is stored in the file certreq_file\&. If no file is specified, then the CSR is output to \f3stdout\fR\&.
|
||||
|
||||
Use the \f3importcert\fR command to import the response from the CA\&.
|
||||
.TP
|
||||
.TP
|
||||
-exportcert
|
||||
.br
|
||||
\f3{-alias alias} {-file cert_file} {-storetype storetype} {-keystore keystore} [-storepass storepass] {-providerName provider_name} {-providerClass provider_class_name {-providerArg provider_arg}} {-rfc} {-v} {-protected} {-Jjavaoption}\fR
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-alias \fIalias\fR} {\-file \fIcert_file\fR} {\-storetype \fIstoretype\fR} {\-keystore \fIkeystore\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3[\-storepass \fIstorepass\fR] {\-providerName \fIprovider_name\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-providerClass \fIprovider_class_name\fR {\-providerArg \fIprovider_arg\fR}}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-rfc} {\-v} {\-protected} {\-Jjavaoption}\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
|
||||
Reads from the keystore the certificate associated with \fIalias\fR and stores it in the cert_file file\&. When no file is specified, the certificate is output to \f3stdout\fR\&.
|
||||
|
||||
@ -584,20 +795,48 @@ The certificate is by default output in binary encoding\&. If the \f3-rfc\fR opt
|
||||
If \f3alias\fR refers to a trusted certificate, then that certificate is output\&. Otherwise, \f3alias\fR refers to a key entry with an associated certificate chain\&. In that case, the first certificate in the chain is returned\&. This certificate authenticates the public key of the entity addressed by \f3alias\fR\&.
|
||||
|
||||
This command was named \f3-export\fR in earlier releases\&. The old name is still supported in this release\&. The new name, \f3-exportcert\fR, is preferred going forward\&.
|
||||
.TP
|
||||
.TP
|
||||
-list
|
||||
.br
|
||||
\f3{-alias alias} {-storetype storetype} {-keystore keystore} [-storepass storepass] {-providerName provider_name} {-providerClass provider_class_name {-providerArg provider_arg}} {-v | -rfc} {-protected} {-Jjavaoption}\fR
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-alias \fIalias\fR} {\-storetype \fIstoretype\fR} {\-keystore \fIkeystore\fR} [\-storepass \fIstorepass\fR]\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-providerName \fIprovider_name\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-providerClass \fIprovider_class_name\fR {\-providerArg \fIprovider_arg\fR}}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-v | \-rfc} {\-protected} {\-Jjavaoption}\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
|
||||
Prints to \f3stdout\fR the contents of the keystore entry identified by \f3alias\fR\&. If no \f3alias\fR is specified, then the contents of the entire keystore are printed\&.
|
||||
|
||||
This command by default prints the SHA1 fingerprint of a certificate\&. If the \f3-v\fR option is specified, then the certificate is printed in human-readable format, with additional information such as the owner, issuer, serial number, and any extensions\&. If the \f3-rfc\fR option is specified, then the certificate contents are printed using the printable encoding format, as defined by the Internet RFC 1421 Certificate Encoding Standard\&.
|
||||
|
||||
You cannot specify both \f3-v\fR and \f3-rfc\fR\&.
|
||||
.TP
|
||||
.TP
|
||||
-printcert
|
||||
.br
|
||||
\f3{-file cert_file | -sslserver host[:port]} {-jarfile JAR_file {-rfc} {-v} {-Jjavaoption}\fR
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-file \fIcert_file\fR | \-sslserver \fIhost\fR[:\fIport\fR]} {\-jarfile \fIJAR_file\fR {\-rfc} {\-v}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-Jjavaoption}\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
|
||||
Reads the certificate from the file cert_file, the SSL server located at host:port, or the signed JAR file \f3JAR_file\fR (with the \f3-jarfile\fR option and prints its contents in a human-readable format\&. When no port is specified, the standard HTTPS port 443 is assumed\&. Note that \f3-sslserver\fR and -file options cannot be provided at the same time\&. Otherwise, an error is reported\&. If neither option is specified, then the certificate is read from \f3stdin\fR\&.
|
||||
|
||||
@ -608,40 +847,120 @@ If the certificate is read from a file or \f3stdin\fR, then it might be either b
|
||||
If the SSL server is behind a firewall, then the \f3-J-Dhttps\&.proxyHost=proxyhost\fR and \f3-J-Dhttps\&.proxyPort=proxyport\fR options can be specified on the command line for proxy tunneling\&. See Java Secure Socket Extension (JSSE) Reference Guide at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/jsse/JSSERefGuide\&.html
|
||||
|
||||
\fINote:\fR This option can be used independently of a keystore\&.
|
||||
.TP
|
||||
.TP
|
||||
-printcrl
|
||||
.br
|
||||
\f3-file crl_ {-v}\fR
|
||||
.sp
|
||||
.nf
|
||||
\f3\-file \fIcrl_\fR {\-v}\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
|
||||
Reads the Certificate Revocation List (CRL) from the file \f3crl_\fR\&. A CRL is a list of digital certificates that were revoked by the CA that issued them\&. The CA generates the \f3crl_\fR file\&.
|
||||
|
||||
\fINote:\fR This option can be used independently of a keystore\&.
|
||||
.TP
|
||||
.TP
|
||||
-storepasswd
|
||||
.br
|
||||
\f3[-new new_storepass] {-storetype storetype} {-keystore keystore} [-storepass storepass] {-providerName provider_name} {-providerClass provider_class_name {-providerArg provider_arg}} {-v} {-Jjavaoption}\fR
|
||||
.sp
|
||||
.nf
|
||||
\f3[\-new \fInew_storepass\fR] {\-storetype \fIstoretype\fR} {\-keystore \fIkeystore\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3[\-storepass \fIstorepass\fR] {\-providerName \fIprovider_name\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-providerClass \fIprovider_class_name\fR {\-providerArg \fIprovider_arg\fR}}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-v} {\-Jjavaoption}\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
|
||||
Changes the password used to protect the integrity of the keystore contents\&. The new password is \f3new_storepass\fR, which must be at least 6 characters\&.
|
||||
.TP
|
||||
.TP
|
||||
-keypasswd
|
||||
.br
|
||||
\f3{-alias alias} [-keypass old_keypass] [-new new_keypass] {-storetype storetype} {-keystore keystore} [-storepass storepass] {-providerName provider_name} {-providerClass provider_class_name {-providerArg provider_arg}} {-v} {-Jjavaoption}\fR
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-alias \fIalias\fR} [\-keypass \fIold_keypass\fR] [\-new \fInew_keypass\fR] {\-storetype \fIstoretype\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-keystore \fIkeystore\fR} [\-storepass \fIstorepass\fR] {\-providerName \fIprovider_name\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-providerClass \fIprovider_class_name\fR {\-providerArg \fIprovider_arg\fR}} {\-v}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-Jjavaoption}\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
|
||||
Changes the password under which the private/secret key identified by \f3alias\fR is protected, from \f3old_keypass\fR to \f3new_keypass\fR, which must be at least 6 characters\&.
|
||||
|
||||
If the \f3-keypass\fR option is not provided at the command line, and the key password is different from the keystore password, then the user is prompted for it\&.
|
||||
|
||||
If the \f3-new\fR option is not provided at the command line, then the user is prompted for it
|
||||
.TP
|
||||
.TP
|
||||
-delete
|
||||
.br
|
||||
\f3[-alias alias] {-storetype storetype} {-keystore keystore} [-storepass storepass] {-providerName provider_name} {-providerClass provider_class_name {-providerArg provider_arg}} {-v} {-protected} {-Jjavaoption}\fR
|
||||
.sp
|
||||
.nf
|
||||
\f3[\-alias \fIalias\fR] {\-storetype \fIstoretype\fR} {\-keystore \fIkeystore\fR} [\-storepass \fIstorepass\fR]\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-providerName \fIprovider_name\fR} \fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-providerClass \fIprovider_class_name\fR {\-providerArg \fIprovider_arg\fR}}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-v} {\-protected} {\-Jjavaoption}\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
|
||||
Deletes from the keystore the entry identified by \f3alias\fR\&. The user is prompted for the alias, when no alias is provided at the command line\&.
|
||||
.TP
|
||||
.TP
|
||||
-changealias
|
||||
.br
|
||||
\f3{-alias alias} [-destalias destalias] [-keypass keypass] {-storetype storetype} {-keystore keystore} [-storepass storepass] {-providerName provider_name} {-providerClass provider_class_name {-providerArg provider_arg}} {-v} {-protected} {-Jjavaoption}\fR
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-alias \fIalias\fR} [\-destalias \fIdestalias\fR] [\-keypass \fIkeypass\fR] {\-storetype \fIstoretype\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-keystore \fIkeystore\fR} [\-storepass \fIstorepass\fR] {\-providerName \fIprovider_name\fR}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-providerClass \fIprovider_class_name\fR {\-providerArg \fIprovider_arg\fR}} {\-v}\fP
|
||||
.fi
|
||||
.sp
|
||||
.sp
|
||||
.nf
|
||||
\f3{\-protected} {\-Jjavaoption}\fP
|
||||
.fi
|
||||
.sp
|
||||
|
||||
|
||||
Move an existing keystore entry from the specified \f3alias\fR to a new alias, \f3destalias\fR\&. If no destination alias is provided, then the command prompts for one\&. If the original entry is protected with an entry password, then the password can be supplied with the \f3-keypass\fR option\&. If no key password is provided, then the \f3storepass\fR (if provided) is attempted first\&. If the attempt fails, then the user is prompted for a password\&.
|
||||
.TP
|
||||
@ -1294,7 +1613,7 @@ jarsigner(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
Trail: Security Features in Java SE at http://docs\&.oracle\&.com/javase/tutorial/security/index\&.html
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH orbd 1 "21 November 2013" "JDK 8" "Java IDL and RMI-IIOP Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
orbd \- Enables clients to locate and call persistent objects on servers in the CORBA environment\&.
|
||||
@ -208,7 +207,7 @@ servertool(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
Naming Service at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/jidlNaming\&.html
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH pack200 1 "21 November 2013" "JDK 8" "Java Deployment Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
pack200 \- Packages a JAR file into a compressed pack200 file for web deployment\&.
|
||||
@ -285,7 +284,7 @@ jar(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
jarsigner(1)
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,53 +1,52 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
.\" Date: 03 March 2015
|
||||
.\" SectDesc: Security Tools
|
||||
.\" Title: policytool.1
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH policytool 1 "21 November 2013" "JDK 8" "Security Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.TH policytool 1 "03 March 2015" "JDK 8" "Security Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
policytool \- Reads and writes a plain text policy file based on user input through the utility GUI\&.
|
||||
@ -80,7 +79,7 @@ Run the policy tool administrator utility:
|
||||
Run the \f3policytool\fR command and load the specified file:
|
||||
.sp
|
||||
.nf
|
||||
\f3policytool\-file mypolicyfile\fP
|
||||
\f3policytool \-file \fImypolicyfile\fR\fP
|
||||
.fi
|
||||
.nf
|
||||
\f3\fP
|
||||
@ -109,7 +108,7 @@ Java Security Overview at http://docs\&.oracle\&.com/javase/8/docs/technotes/gui
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
Java Cryptography Architecture (JCA) Reference Guide at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec\&.html
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH rmic 1 "21 November 2013" "JDK 8" "Remote Method Invocation (RMI) Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
rmic \- Generates stub, skeleton, and tie classes for remote objects that use the Java Remote Method Protocol (JRMP) or Internet Inter-Orb protocol (IIOP)\&. Also generates Object Management Group (OMG) Interface Definition Language (IDL)
|
||||
@ -218,7 +217,7 @@ java(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
Setting the Class Path
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH rmid 1 "21 November 2013" "JDK 8" "Remote Method Invocation (RMI) Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
rmid \- Starts the activation system daemon that enables objects to be registered and activated in a Java Virtual Machine (JVM)\&.
|
||||
@ -309,7 +308,7 @@ java(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
Setting the Class Path
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH rmiregistry 1 "21 November 2013" "JDK 8" "Remote Method Invocation (RMI) Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
rmiregistry \- Starts a remote object registry on the specified port on the current host\&.
|
||||
@ -93,7 +92,7 @@ java(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
\f3java\&.rmi\&.Naming class description\fR at http://docs\&.oracle\&.com/javase/8/docs/api/java/rmi/Naming\&.html
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH schemagen 1 "21 November 2013" "JDK 8" "Java Web Services Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
schemagen \- Generates a schema for every name space that is referenced in your Java classes\&.
|
||||
@ -116,7 +115,7 @@ Using SchemaGen with Ant at http://jaxb\&.java\&.net/nonav/2\&.2\&.3u1/docs/sche
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
Java Architecture for XML Binding (JAXB) at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/xml/jaxb/index\&.html
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH serialver 1 "21 November 2013" "JDK 8" "Remote Method Invocation (RMI) Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
serialver \- Returns the serial version UID for specified classes\&.
|
||||
@ -105,7 +104,7 @@ policytool(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
The \f3java\&.io\&.ObjectStream\fR class description at http://docs\&.oracle\&.com/javase/8/docs/api/java/io/ObjectStreamClass\&.html
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH servertool 1 "21 November 2013" "JDK 8" "Java IDL and RMI-IIOP Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
servertool \- Provides an easy-to-use interface for developers to register, unregister, start up, and shut down a persistent server\&.
|
||||
@ -132,7 +131,7 @@ Exits the \f3servertool\fR command\&.
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
orbd(1)
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH tnameserv 1 "21 November 2013" "JDK 8" "Java IDL and RMI-IIOP Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
tnameserv \- Interface Definition Language (IDL)\&.
|
||||
@ -483,7 +482,7 @@ The remainder of the code loops through the bindings and prints outs the names\&
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
orbd(1)
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH unpack200 1 "21 November 2013" "JDK 8" "Java Deployment Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
unpack200 \- Transforms a packed file produced by pack200(1) into a JAR file for web deployment\&.
|
||||
@ -132,7 +131,7 @@ Pack200 and Compression at http://docs\&.oracle\&.com/javase/8/docs/technotes/gu
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
The Java SE Technical Documentation page at http://docs\&.oracle\&.com/javase/
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH wsgen 1 "21 November 2013" "JDK 8" "Java Web Services Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
wsgen \- Reads a web service endpoint implementation (SEI) class and generates all of the required artifacts for web service deployment, and invocation\&.
|
||||
@ -170,7 +169,7 @@ wsimport(1)
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
\fIThe Tools\fR tab of the JAX-WS (wsgen) page http://jax-ws\&.java\&.net/nonav/2\&.1\&.1/docs/wsgenant\&.html
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH wsimport 1 "21 November 2013" "JDK 8" "Java Web Services Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
wsimport \- Generates JAX-WS portable artifacts that can be packaged in a web application archive (WAR) file and provides an Ant task\&.
|
||||
@ -211,7 +210,7 @@ The \fIUsers Guide\fR tab of Catalog Support page http://jax-ws\&.java\&.net/non
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
The \fIUsers Guide\fR tab of WSDL Customization page http://jax-ws\&.java\&.net/nonav/2\&.1\&.1/docs/wsimportant\&.html
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH xjc 1 "21 November 2013" "JDK 8" "Java Web Services Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
xjc \- Compiles an XML schema file into fully annotated Java classes\&.
|
||||
@ -227,7 +226,7 @@ Binding Compiler (xjc) at http://jaxb\&.java\&.net/nonav/2\&.2\&.3u1/docs/xjc\&.
|
||||
.TP 0.2i
|
||||
\(bu
|
||||
Java Architecture for XML Binding (JAXB) at http://www\&.oracle\&.com/technetwork/articles/javase/index-140168\&.html
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -197,7 +197,7 @@ public abstract class Buffer {
|
||||
//
|
||||
Buffer(int mark, int pos, int lim, int cap) { // package-private
|
||||
if (cap < 0)
|
||||
throw new IllegalArgumentException("Negative capacity: " + cap);
|
||||
throw createCapacityException(cap);
|
||||
this.capacity = cap;
|
||||
limit(lim);
|
||||
position(pos);
|
||||
@ -209,6 +209,34 @@ public abstract class Buffer {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an {@code IllegalArgumentException} indicating that the source
|
||||
* and target are the same {@code Buffer}. Intended for use in
|
||||
* {@code put(src)} when the parameter is the {@code Buffer} on which the
|
||||
* method is being invoked.
|
||||
*
|
||||
* @returns IllegalArgumentException
|
||||
* With a message indicating equal source and target buffers
|
||||
*/
|
||||
static IllegalArgumentException createSameBufferException() {
|
||||
return new IllegalArgumentException("The source buffer is this buffer");
|
||||
}
|
||||
|
||||
/**
|
||||
* Verify that the capacity is nonnegative.
|
||||
*
|
||||
* @param capacity
|
||||
* The new buffer's capacity, in $type$s
|
||||
*
|
||||
* @throws IllegalArgumentException
|
||||
* If the <tt>capacity</tt> is a negative integer
|
||||
*/
|
||||
static IllegalArgumentException createCapacityException(int capacity) {
|
||||
assert capacity < 0 : "capacity expected to be negative";
|
||||
return new IllegalArgumentException("capacity < 0: ("
|
||||
+ capacity + " < 0)");
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns this buffer's capacity.
|
||||
*
|
||||
@ -241,13 +269,35 @@ public abstract class Buffer {
|
||||
* If the preconditions on <tt>newPosition</tt> do not hold
|
||||
*/
|
||||
public Buffer position(int newPosition) {
|
||||
if ((newPosition > limit) || (newPosition < 0))
|
||||
throw new IllegalArgumentException();
|
||||
if (newPosition > limit | newPosition < 0)
|
||||
throw createPositionException(newPosition);
|
||||
position = newPosition;
|
||||
if (mark > position) mark = -1;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Verify that {@code 0 < newPosition <= limit}
|
||||
*
|
||||
* @param newPosition
|
||||
* The new position value
|
||||
*
|
||||
* @throws IllegalArgumentException
|
||||
* If the specified position is out of bounds.
|
||||
*/
|
||||
private IllegalArgumentException createPositionException(int newPosition) {
|
||||
String msg = null;
|
||||
|
||||
if (newPosition > limit) {
|
||||
msg = "newPosition > limit: (" + newPosition + " > " + limit + ")";
|
||||
} else { // assume negative
|
||||
assert newPosition < 0 : "newPosition expected to be negative";
|
||||
msg = "newPosition < 0: (" + newPosition + " < 0)";
|
||||
}
|
||||
|
||||
return new IllegalArgumentException(msg);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns this buffer's limit.
|
||||
*
|
||||
@ -272,14 +322,36 @@ public abstract class Buffer {
|
||||
* If the preconditions on <tt>newLimit</tt> do not hold
|
||||
*/
|
||||
public Buffer limit(int newLimit) {
|
||||
if ((newLimit > capacity) || (newLimit < 0))
|
||||
throw new IllegalArgumentException();
|
||||
if (newLimit > capacity | newLimit < 0)
|
||||
throw createLimitException(newLimit);
|
||||
limit = newLimit;
|
||||
if (position > limit) position = limit;
|
||||
if (mark > limit) mark = -1;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Verify that {@code 0 < newLimit <= capacity}
|
||||
*
|
||||
* @param newLimit
|
||||
* The new limit value
|
||||
*
|
||||
* @throws IllegalArgumentException
|
||||
* If the specified limit is out of bounds.
|
||||
*/
|
||||
private IllegalArgumentException createLimitException(int newLimit) {
|
||||
String msg = null;
|
||||
|
||||
if (newLimit > capacity) {
|
||||
msg = "newLimit > capacity: (" + newLimit + " > " + capacity + ")";
|
||||
} else { // assume negative
|
||||
assert newLimit < 0 : "newLimit expected to be negative";
|
||||
msg = "newLimit < 0: (" + newLimit + " < 0)";
|
||||
}
|
||||
|
||||
return new IllegalArgumentException(msg);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets this buffer's mark at its position.
|
||||
*
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -314,7 +314,7 @@ class Direct$Type$Buffer$RW$$BO$
|
||||
#if[rw]
|
||||
if (src instanceof Direct$Type$Buffer$BO$) {
|
||||
if (src == this)
|
||||
throw new IllegalArgumentException();
|
||||
throw createSameBufferException();
|
||||
Direct$Type$Buffer$RW$$BO$ sb = (Direct$Type$Buffer$RW$$BO$)src;
|
||||
|
||||
int spos = sb.position();
|
||||
|
||||
@ -216,7 +216,7 @@ class Heap$Type$Buffer$RW$
|
||||
#if[rw]
|
||||
if (src instanceof Heap$Type$Buffer) {
|
||||
if (src == this)
|
||||
throw new IllegalArgumentException();
|
||||
throw createSameBufferException();
|
||||
Heap$Type$Buffer sb = (Heap$Type$Buffer)src;
|
||||
int n = sb.remaining();
|
||||
if (n > remaining())
|
||||
|
||||
@ -339,7 +339,7 @@ public abstract class $Type$Buffer
|
||||
*/
|
||||
public static $Type$Buffer allocate(int capacity) {
|
||||
if (capacity < 0)
|
||||
throw new IllegalArgumentException();
|
||||
throw createCapacityException(capacity);
|
||||
return new Heap$Type$Buffer(capacity, capacity);
|
||||
}
|
||||
|
||||
@ -797,7 +797,7 @@ public abstract class $Type$Buffer
|
||||
*/
|
||||
public $Type$Buffer put($Type$Buffer src) {
|
||||
if (src == this)
|
||||
throw new IllegalArgumentException();
|
||||
throw createSameBufferException();
|
||||
if (isReadOnly())
|
||||
throw new ReadOnlyBufferException();
|
||||
int n = src.remaining();
|
||||
|
||||
@ -58,7 +58,7 @@ class ExternalFilesWriter implements Consumer<Entry> {
|
||||
case NATIVE_CMD:
|
||||
Path path = destFile("bin", filename);
|
||||
writeEntry(in, path);
|
||||
path.toFile().setExecutable(true);
|
||||
path.toFile().setExecutable(true, false);
|
||||
break;
|
||||
case CONFIG:
|
||||
writeEntry(in, destFile("conf", filename));
|
||||
|
||||
@ -159,7 +159,11 @@ public final class ImageFileCreator {
|
||||
throw new UnsupportedOperationException("Not supported, no external file "
|
||||
+ "in a jimage file");
|
||||
}, entriesForModule, order);
|
||||
String fileName = jimageFile.getRoot().toString();
|
||||
String fileName = jimageFile.getFileName().toString();
|
||||
if (fileName.endsWith(IMAGE_EXT)) {
|
||||
fileName = fileName.substring(0, fileName.length()
|
||||
- BasicImageWriter.IMAGE_EXT.length());
|
||||
}
|
||||
generateJImage(jimageFile, fileName, resources, order);
|
||||
}
|
||||
|
||||
|
||||
@ -503,8 +503,21 @@ GetJavaProperties(JNIEnv *env)
|
||||
struct utsname name;
|
||||
uname(&name);
|
||||
sprops.os_name = strdup(name.sysname);
|
||||
#ifdef _AIX
|
||||
{
|
||||
char *os_version = malloc(strlen(name.version) +
|
||||
strlen(name.release) + 2);
|
||||
if (os_version != NULL) {
|
||||
strcpy(os_version, name.version);
|
||||
strcat(os_version, ".");
|
||||
strcat(os_version, name.release);
|
||||
}
|
||||
sprops.os_version = os_version;
|
||||
}
|
||||
#else
|
||||
sprops.os_version = strdup(name.release);
|
||||
#endif
|
||||
#endif /* _AIX */
|
||||
#endif /* MACOSX */
|
||||
|
||||
sprops.os_arch = ARCHPROPNAME;
|
||||
|
||||
|
||||
@ -33,6 +33,8 @@ import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.InputStreamReader;
|
||||
import java.lang.ref.SoftReference;
|
||||
import java.security.AccessController;
|
||||
import java.security.PrivilegedAction;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
@ -200,7 +202,11 @@ public final class SystemFlavorMap implements FlavorMap, FlavorTable {
|
||||
}
|
||||
isMapInitialized = true;
|
||||
|
||||
InputStream is = SystemFlavorMap.class.getResourceAsStream("/sun/datatransfer/resources/flavormap.properties");
|
||||
InputStream is = AccessController.doPrivileged(
|
||||
(PrivilegedAction<InputStream>) () -> {
|
||||
return SystemFlavorMap.class.getResourceAsStream(
|
||||
"/sun/datatransfer/resources/flavormap.properties");
|
||||
});
|
||||
if (is == null) {
|
||||
throw new InternalError("Default flavor mapping not found");
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -574,14 +574,7 @@ public class DataFlavorUtil {
|
||||
return comp;
|
||||
}
|
||||
} else {
|
||||
// First, prefer application types.
|
||||
comp = compareIndices(primaryTypes, primaryType1, primaryType2,
|
||||
UNKNOWN_OBJECT_LOSES);
|
||||
if (comp != 0) {
|
||||
return comp;
|
||||
}
|
||||
|
||||
// Next prefer text types
|
||||
// First, prefer text types
|
||||
if (flavor1.isFlavorTextType()) {
|
||||
return 1;
|
||||
}
|
||||
@ -590,6 +583,13 @@ public class DataFlavorUtil {
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Next, prefer application types.
|
||||
comp = compareIndices(primaryTypes, primaryType1, primaryType2,
|
||||
UNKNOWN_OBJECT_LOSES);
|
||||
if (comp != 0) {
|
||||
return comp;
|
||||
}
|
||||
|
||||
// Next, look for application/x-java-* types. Prefer unknown
|
||||
// MIME types because if the user provides his own data flavor,
|
||||
// it will likely be the most descriptive one.
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -42,6 +42,13 @@ static QueuingApplicationDelegate * qad = nil;
|
||||
// Flag used to indicate to the Plugin2 event synthesis code to do a postEvent instead of sendEvent
|
||||
BOOL postEventDuringEventSynthesis = NO;
|
||||
|
||||
/**
|
||||
* Subtypes of NSApplicationDefined, which are used for custom events.
|
||||
*/
|
||||
enum {
|
||||
ExecuteBlockEvent, NativeSyncQueueEvent
|
||||
};
|
||||
|
||||
@implementation NSApplicationAWT
|
||||
|
||||
- (id) init
|
||||
@ -262,7 +269,7 @@ AWT_ASSERT_APPKIT_THREAD;
|
||||
NSImage* iconImage = nil;
|
||||
if (theIconPath != nil) {
|
||||
iconImage = [[NSImage alloc] initWithContentsOfFile:theIconPath];
|
||||
}
|
||||
}
|
||||
|
||||
// If no icon file was specified or we failed to get the icon image
|
||||
// and there is no bundle's icon, then use the default icon
|
||||
@ -337,10 +344,12 @@ AWT_ASSERT_APPKIT_THREAD;
|
||||
|
||||
- (void)sendEvent:(NSEvent *)event
|
||||
{
|
||||
if ([event type] == NSApplicationDefined && TS_EQUAL([event timestamp], dummyEventTimestamp) && [event subtype] == 0) {
|
||||
if ([event type] == NSApplicationDefined
|
||||
&& TS_EQUAL([event timestamp], dummyEventTimestamp)
|
||||
&& [event subtype] == NativeSyncQueueEvent) {
|
||||
[seenDummyEventLock lockWhenCondition:NO];
|
||||
[seenDummyEventLock unlockWithCondition:YES];
|
||||
} else if ([event type] == NSApplicationDefined && [event subtype] == 777) {
|
||||
} else if ([event type] == NSApplicationDefined && [event subtype] == ExecuteBlockEvent) {
|
||||
void (^block)() = (void (^)()) [event data1];
|
||||
block();
|
||||
[block release];
|
||||
@ -354,23 +363,23 @@ AWT_ASSERT_APPKIT_THREAD;
|
||||
}
|
||||
|
||||
/*
|
||||
* Posts the block to the AppKit event queue which will be executed
|
||||
* on the main AppKit loop.
|
||||
* While running nested loops this event will be ignored.
|
||||
* Posts the block to the AppKit event queue which will be executed
|
||||
* on the main AppKit loop.
|
||||
* While running nested loops this event will be ignored.
|
||||
*/
|
||||
- (void)postRunnableEvent:(void (^)())block
|
||||
- (void)postRunnableEvent:(void (^)())block
|
||||
{
|
||||
void (^copy)() = [block copy];
|
||||
NSInteger encode = (NSInteger) copy;
|
||||
[copy retain];
|
||||
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
||||
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
||||
NSEvent* event = [NSEvent otherEventWithType: NSApplicationDefined
|
||||
location: NSMakePoint(0,0)
|
||||
modifierFlags: 0
|
||||
timestamp: 0
|
||||
windowNumber: 0
|
||||
context: nil
|
||||
subtype: 777
|
||||
subtype: ExecuteBlockEvent
|
||||
data1: encode
|
||||
data2: 0];
|
||||
|
||||
@ -383,15 +392,15 @@ AWT_ASSERT_APPKIT_THREAD;
|
||||
- (void)postDummyEvent {
|
||||
seenDummyEventLock = [[NSConditionLock alloc] initWithCondition:NO];
|
||||
dummyEventTimestamp = [NSProcessInfo processInfo].systemUptime;
|
||||
|
||||
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
||||
|
||||
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
||||
NSEvent* event = [NSEvent otherEventWithType: NSApplicationDefined
|
||||
location: NSMakePoint(0,0)
|
||||
modifierFlags: 0
|
||||
timestamp: dummyEventTimestamp
|
||||
windowNumber: 0
|
||||
context: nil
|
||||
subtype: 0
|
||||
subtype: NativeSyncQueueEvent
|
||||
data1: 0
|
||||
data2: 0];
|
||||
[NSApp postEvent: event atStart: NO];
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -67,12 +67,12 @@ public class WindowsGraphicsUtils {
|
||||
XPStyle xp = XPStyle.getXP();
|
||||
if (xp != null && !(b instanceof JMenuItem)) {
|
||||
paintXPText(b, g, textRect.x + textShiftOffset,
|
||||
textRect.y + fm.getAscent() + textShiftOffset,
|
||||
text, mnemIndex);
|
||||
textRect.y + fm.getAscent() + textShiftOffset,
|
||||
text, mnemIndex);
|
||||
} else {
|
||||
paintClassicText(b, g, textRect.x + textShiftOffset,
|
||||
textRect.y + fm.getAscent() + textShiftOffset,
|
||||
text, mnemIndex);
|
||||
textRect.y + fm.getAscent() + textShiftOffset,
|
||||
text, mnemIndex);
|
||||
}
|
||||
}
|
||||
|
||||
@ -95,7 +95,10 @@ public class WindowsGraphicsUtils {
|
||||
}
|
||||
SwingUtilities2.drawStringUnderlineCharAt(b, g,text, mnemIndex, x, y);
|
||||
} else { /*** paint the text disabled ***/
|
||||
color = UIManager.getColor("Button.shadow");
|
||||
color = getDisabledTextColor(b);
|
||||
if (color == null) {
|
||||
color = UIManager.getColor("Button.shadow");
|
||||
}
|
||||
Color shadow = UIManager.getColor("Button.disabledShadow");
|
||||
if(model.isArmed()) {
|
||||
color = UIManager.getColor("Button.disabledForeground");
|
||||
@ -115,6 +118,19 @@ public class WindowsGraphicsUtils {
|
||||
}
|
||||
}
|
||||
|
||||
private static Color getDisabledTextColor(AbstractButton b) {
|
||||
if (b instanceof JCheckBox) {
|
||||
return UIManager.getColor("CheckBox.disabledText");
|
||||
} else if (b instanceof JRadioButton) {
|
||||
return UIManager.getColor("RadioButton.disabledText");
|
||||
} else if (b instanceof JToggleButton) {
|
||||
return UIManager.getColor("ToggleButton.disabledText");
|
||||
} else if (b instanceof JButton) {
|
||||
return UIManager.getColor("Button.disabledText");
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
static void paintXPText(AbstractButton b, Graphics g, int x, int y,
|
||||
String text, int mnemIndex) {
|
||||
Part part = WindowsButtonUI.getXPButtonType(b);
|
||||
@ -128,9 +144,15 @@ public class WindowsGraphicsUtils {
|
||||
if (xp == null) {
|
||||
return;
|
||||
}
|
||||
Color textColor = b.getForeground();
|
||||
Color textColor;
|
||||
if (b.isEnabled()) {
|
||||
textColor = b.getForeground();
|
||||
}
|
||||
else {
|
||||
textColor = getDisabledTextColor(b);
|
||||
}
|
||||
|
||||
if (textColor instanceof UIResource) {
|
||||
if (textColor == null || textColor instanceof UIResource) {
|
||||
textColor = xp.getColor(b, part, state, Prop.TEXTCOLOR, b.getForeground());
|
||||
// to work around an apparent bug in Windows, use the pushbutton
|
||||
// color for disabled toolbar buttons if the disabled color is the
|
||||
|
||||
@ -3980,9 +3980,10 @@ public abstract class Component implements ImageObserver, MenuContainer,
|
||||
|
||||
/**
|
||||
* Inner class for flipping buffers on a component. That component must
|
||||
* be a <code>Canvas</code> or <code>Window</code>.
|
||||
* be a <code>Canvas</code> or <code>Window</code> or <code>Applet</code>.
|
||||
* @see Canvas
|
||||
* @see Window
|
||||
* @see Applet
|
||||
* @see java.awt.image.BufferStrategy
|
||||
* @author Michael Martak
|
||||
* @since 1.4
|
||||
@ -4030,9 +4031,11 @@ public abstract class Component implements ImageObserver, MenuContainer,
|
||||
|
||||
/**
|
||||
* Creates a new flipping buffer strategy for this component.
|
||||
* The component must be a <code>Canvas</code> or <code>Window</code>.
|
||||
* The component must be a <code>Canvas</code> or <code>Window</code> or
|
||||
* <code>Applet</code>.
|
||||
* @see Canvas
|
||||
* @see Window
|
||||
* @see Applet
|
||||
* @param numBuffers the number of buffers
|
||||
* @param caps the capabilities of the buffers
|
||||
* @exception AWTException if the capabilities supplied could not be
|
||||
@ -4049,10 +4052,11 @@ public abstract class Component implements ImageObserver, MenuContainer,
|
||||
throws AWTException
|
||||
{
|
||||
if (!(Component.this instanceof Window) &&
|
||||
!(Component.this instanceof Canvas))
|
||||
!(Component.this instanceof Canvas) &&
|
||||
!(Component.this instanceof Applet))
|
||||
{
|
||||
throw new ClassCastException(
|
||||
"Component must be a Canvas or Window");
|
||||
"Component must be a Canvas or Window or Applet");
|
||||
}
|
||||
this.numBuffers = numBuffers;
|
||||
this.caps = caps;
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -97,7 +97,12 @@ public class BasicTextFieldUI extends BasicTextUI {
|
||||
String kind = elem.getName();
|
||||
if (kind != null) {
|
||||
if (kind.equals(AbstractDocument.ContentElementName)) {
|
||||
return new GlyphView(elem);
|
||||
return new GlyphView(elem) {
|
||||
@Override
|
||||
public int getResizeWeight(int axis) {
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
} else if (kind.equals(AbstractDocument.ParagraphElementName)) {
|
||||
return new I18nFieldView(elem);
|
||||
}
|
||||
|
||||
@ -971,7 +971,7 @@ public abstract class BasicTextUI extends TextUI implements ViewFactory {
|
||||
((AbstractDocument)doc).readLock();
|
||||
}
|
||||
try {
|
||||
d.width = (int) rootView.getMinimumSpan(View.X_AXIS) + i.left + i.right;
|
||||
d.width = (int) rootView.getMinimumSpan(View.X_AXIS) + i.left + i.right + caretMargin;
|
||||
d.height = (int) rootView.getMinimumSpan(View.Y_AXIS) + i.top + i.bottom;
|
||||
} finally {
|
||||
if (doc instanceof AbstractDocument) {
|
||||
@ -996,7 +996,7 @@ public abstract class BasicTextUI extends TextUI implements ViewFactory {
|
||||
}
|
||||
try {
|
||||
d.width = (int) Math.min((long) rootView.getMaximumSpan(View.X_AXIS) +
|
||||
(long) i.left + (long) i.right, Integer.MAX_VALUE);
|
||||
(long) i.left + (long) i.right + caretMargin, Integer.MAX_VALUE);
|
||||
d.height = (int) Math.min((long) rootView.getMaximumSpan(View.Y_AXIS) +
|
||||
(long) i.top + (long) i.bottom, Integer.MAX_VALUE);
|
||||
} finally {
|
||||
@ -1027,7 +1027,7 @@ public abstract class BasicTextUI extends TextUI implements ViewFactory {
|
||||
Insets insets = editor.getInsets();
|
||||
alloc.x += insets.left;
|
||||
alloc.y += insets.top;
|
||||
alloc.width -= insets.left + insets.right;
|
||||
alloc.width -= insets.left + insets.right + caretMargin;
|
||||
alloc.height -= insets.top + insets.bottom;
|
||||
return alloc;
|
||||
}
|
||||
|
||||
@ -537,6 +537,17 @@ public class GlyphView extends View implements TabableView, Cloneable {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public int getResizeWeight(int axis) {
|
||||
if (axis == View.X_AXIS) {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines the minimum span for this view along an axis.
|
||||
*
|
||||
@ -552,6 +563,9 @@ public class GlyphView extends View implements TabableView, Cloneable {
|
||||
public float getMinimumSpan(int axis) {
|
||||
switch (axis) {
|
||||
case View.X_AXIS:
|
||||
if (getResizeWeight(X_AXIS) == 0) {
|
||||
return getPreferredSpan(X_AXIS);
|
||||
}
|
||||
if (minimumSpan < 0) {
|
||||
minimumSpan = 0;
|
||||
int p0 = getStartOffset();
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -24,8 +24,8 @@
|
||||
*/
|
||||
package sun.awt;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.InputStreamReader;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.OutputStreamWriter;
|
||||
import java.io.IOException;;
|
||||
import java.nio.charset.Charset;
|
||||
import java.nio.charset.CharsetEncoder;
|
||||
@ -54,10 +54,9 @@ public class FontDescriptor implements Cloneable {
|
||||
// The following looks odd but its the only public way to get the
|
||||
// historical name if one exists and the canonical name otherwise.
|
||||
try {
|
||||
ByteArrayInputStream bais = new ByteArrayInputStream(new byte[8]);
|
||||
InputStreamReader isr = new InputStreamReader(bais, cs);
|
||||
this.charsetName = isr.getEncoding();
|
||||
isr.close();
|
||||
OutputStreamWriter osw = new OutputStreamWriter(new ByteArrayOutputStream(), cs);
|
||||
this.charsetName = osw.getEncoding();
|
||||
osw.close();
|
||||
} catch (IOException ioe) {
|
||||
}
|
||||
}
|
||||
|
||||
@ -205,8 +205,8 @@ public class Disposer implements Runnable {
|
||||
int freed = 0;
|
||||
int deferred = 0;
|
||||
try {
|
||||
while ((obj = queue.poll()) != null
|
||||
&& freed < 10000 && deferred < 100) {
|
||||
while ( freed < 10000 && deferred < 100 &&
|
||||
(obj = queue.poll()) != null ) {
|
||||
freed++;
|
||||
((Reference)obj).clear();
|
||||
DisposerRecord rec = records.remove(obj);
|
||||
|
||||
@ -84,6 +84,8 @@ public abstract class SunGraphicsEnvironment extends GraphicsEnvironment
|
||||
java.security.AccessController.doPrivileged(
|
||||
new java.security.PrivilegedAction<Object>() {
|
||||
public Object run() {
|
||||
String osName = System.getProperty("os.name");
|
||||
if ("SunOS".equals(osName)) {
|
||||
String version = System.getProperty("os.version", "0.0");
|
||||
try {
|
||||
float ver = Float.parseFloat(version);
|
||||
@ -117,7 +119,7 @@ public abstract class SunGraphicsEnvironment extends GraphicsEnvironment
|
||||
}
|
||||
} catch (Exception e) {
|
||||
}
|
||||
|
||||
}
|
||||
/* Establish the default font to be used by SG2D etc */
|
||||
defaultFont = new Font(Font.DIALOG, Font.PLAIN, 12);
|
||||
|
||||
|
||||
@ -191,6 +191,10 @@ public class OGLContext extends BufferedContext {
|
||||
/** Indicates the presence of the GL_ARB_texture_rectangle extension. */
|
||||
@Native
|
||||
static final int CAPS_EXT_TEXRECT = (FIRST_PRIVATE_CAP << 4);
|
||||
/** Indicates the presence of the GL_NV_texture_barrier extension. */
|
||||
@Native
|
||||
static final int CAPS_EXT_TEXBARRIER = (FIRST_PRIVATE_CAP << 5);
|
||||
|
||||
|
||||
OGLContextCaps(int caps, String adapterId) {
|
||||
super(caps, adapterId);
|
||||
@ -217,6 +221,9 @@ public class OGLContext extends BufferedContext {
|
||||
if ((caps & CAPS_EXT_TEXRECT) != 0) {
|
||||
sb.append("CAPS_EXT_TEXRECT|");
|
||||
}
|
||||
if ((caps & CAPS_EXT_TEXBARRIER) != 0) {
|
||||
sb.append("CAPS_EXT_TEXBARRIER|");
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
|
||||
@ -6506,6 +6506,13 @@ GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei, const GLvoid *);
|
||||
typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const GLvoid *string);
|
||||
#endif
|
||||
|
||||
#ifndef GL_NV_texture_barrier
|
||||
#define GL_NV_texture_barrier 1
|
||||
#ifdef GL_EXT_PROTOTYPES
|
||||
GLAPI void APIENTRY glTextureBarrierNV (void);
|
||||
#endif /* GL_EXT_PROTOTYPES */
|
||||
typedef void (APIENTRYP PNFGLTEXTUREBARRIERNVPROC) (void);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@ -913,6 +913,10 @@ OGLContext_GetExtensionInfo(JNIEnv *env, jint *caps)
|
||||
}
|
||||
}
|
||||
}
|
||||
if (OGLContext_IsExtensionAvailable(e, "GL_NV_texture_barrier")) {
|
||||
*caps |= CAPS_EXT_TEXBARRIER;
|
||||
}
|
||||
|
||||
// stuff vendor descriptor in the upper bits of the caps
|
||||
if (vendor != NULL) {
|
||||
if (strncmp(vendor, "ATI", 3) == 0) {
|
||||
|
||||
@ -132,6 +132,8 @@ typedef struct {
|
||||
sun_java2d_opengl_OGLContext_OGLContextCaps_CAPS_EXT_GRAD_SHADER
|
||||
#define CAPS_EXT_TEXRECT \
|
||||
sun_java2d_opengl_OGLContext_OGLContextCaps_CAPS_EXT_TEXRECT
|
||||
#define CAPS_EXT_TEXBARRIER \
|
||||
sun_java2d_opengl_OGLContext_OGLContextCaps_CAPS_EXT_TEXBARRIER
|
||||
|
||||
/**
|
||||
* Evaluates to true if the given capability bitmask is present for the
|
||||
|
||||
@ -172,6 +172,11 @@ typedef void (GLAPIENTRY *glAttachObjectARBType)(GLhandleARB, GLhandleARB);
|
||||
typedef void (GLAPIENTRY *glLinkProgramARBType)(GLhandleARB);
|
||||
typedef void (GLAPIENTRY *glDeleteObjectARBType)(GLhandleARB);
|
||||
|
||||
/**
|
||||
* GL_NV_texture_barrier extension function typedef's
|
||||
*/
|
||||
typedef void (GLAPIENTRY *glTextureBarrierNVType) (void);
|
||||
|
||||
/**
|
||||
* REMIND: this caused an internal error in the MS compiler!?!?
|
||||
*
|
||||
@ -316,7 +321,8 @@ typedef void (GLAPIENTRY *glDeleteObjectARBType)(GLhandleARB);
|
||||
OGL_##action##_EXT_FUNC(glGetProgramivARB); \
|
||||
OGL_##action##_EXT_FUNC(glGetInfoLogARB); \
|
||||
OGL_##action##_EXT_FUNC(glGetObjectParameterivARB); \
|
||||
OGL_##action##_EXT_FUNC(glDeleteObjectARB);
|
||||
OGL_##action##_EXT_FUNC(glDeleteObjectARB); \
|
||||
OGL_##action##_EXT_FUNC(glTextureBarrierNV);
|
||||
|
||||
#define OGL_EXPRESS_ALL_FUNCS(action) \
|
||||
OGL_EXPRESS_BASE_FUNCS(action) \
|
||||
|
||||
@ -46,8 +46,8 @@
|
||||
*/
|
||||
#define OGLTR_CACHE_WIDTH 512
|
||||
#define OGLTR_CACHE_HEIGHT 512
|
||||
#define OGLTR_CACHE_CELL_WIDTH 16
|
||||
#define OGLTR_CACHE_CELL_HEIGHT 16
|
||||
#define OGLTR_CACHE_CELL_WIDTH 32
|
||||
#define OGLTR_CACHE_CELL_HEIGHT 32
|
||||
|
||||
/**
|
||||
* The current "glyph mode" state. This variable is used to track the
|
||||
@ -68,26 +68,17 @@ typedef enum {
|
||||
static GlyphMode glyphMode = MODE_NOT_INITED;
|
||||
|
||||
/**
|
||||
* This enum indicates the current state of the hardware glyph cache.
|
||||
* Initially the CacheStatus is set to CACHE_NOT_INITED, and then it is
|
||||
* set to either GRAY or LCD when the glyph cache is initialized.
|
||||
*/
|
||||
typedef enum {
|
||||
CACHE_NOT_INITED,
|
||||
CACHE_GRAY,
|
||||
CACHE_LCD
|
||||
} CacheStatus;
|
||||
static CacheStatus cacheStatus = CACHE_NOT_INITED;
|
||||
|
||||
/**
|
||||
* This is the one glyph cache. Once it is initialized as either GRAY or
|
||||
* LCD, it stays in that mode for the duration of the application. It should
|
||||
* There are two separate glyph caches: for AA and for LCD.
|
||||
* Once one of them is initialized as either GRAY or LCD, it
|
||||
* stays in that mode for the duration of the application. It should
|
||||
* be safe to use this one glyph cache for all screens in a multimon
|
||||
* environment, since the glyph cache texture is shared between all contexts,
|
||||
* and (in theory) OpenGL drivers should be smart enough to manage that
|
||||
* texture across all screens.
|
||||
*/
|
||||
static GlyphCacheInfo *glyphCache = NULL;
|
||||
|
||||
static GlyphCacheInfo *glyphCacheLCD = NULL;
|
||||
static GlyphCacheInfo *glyphCacheAA = NULL;
|
||||
|
||||
/**
|
||||
* The handle to the LCD text fragment program object.
|
||||
@ -138,7 +129,7 @@ static jboolean lastRGBOrder = JNI_TRUE;
|
||||
* (OGLTR_CACHED_DEST_HEIGHT >= OGLTR_NOCACHE_TILE_SIZE)
|
||||
*/
|
||||
#define OGLTR_CACHED_DEST_WIDTH 512
|
||||
#define OGLTR_CACHED_DEST_HEIGHT 32
|
||||
#define OGLTR_CACHED_DEST_HEIGHT (OGLTR_CACHE_CELL_HEIGHT * 2)
|
||||
|
||||
/**
|
||||
* The handle to the "cached destination" texture object.
|
||||
@ -212,8 +203,11 @@ OGLTR_InitGlyphCache(jboolean lcdCache)
|
||||
OGLTR_CACHE_WIDTH, OGLTR_CACHE_HEIGHT, 0,
|
||||
pixelFormat, GL_UNSIGNED_BYTE, NULL);
|
||||
|
||||
cacheStatus = (lcdCache ? CACHE_LCD : CACHE_GRAY);
|
||||
glyphCache = gcinfo;
|
||||
if (lcdCache) {
|
||||
glyphCacheLCD = gcinfo;
|
||||
} else {
|
||||
glyphCacheAA = gcinfo;
|
||||
}
|
||||
|
||||
return JNI_TRUE;
|
||||
}
|
||||
@ -223,24 +217,24 @@ OGLTR_InitGlyphCache(jboolean lcdCache)
|
||||
* associated with the given OGLContext.
|
||||
*/
|
||||
static void
|
||||
OGLTR_AddToGlyphCache(GlyphInfo *glyph, jboolean rgbOrder)
|
||||
OGLTR_AddToGlyphCache(GlyphInfo *glyph, GLenum pixelFormat)
|
||||
{
|
||||
GLenum pixelFormat;
|
||||
CacheCellInfo *ccinfo;
|
||||
GlyphCacheInfo *gcinfo;
|
||||
|
||||
J2dTraceLn(J2D_TRACE_INFO, "OGLTR_AddToGlyphCache");
|
||||
|
||||
if ((glyphCache == NULL) || (glyph->image == NULL)) {
|
||||
if (pixelFormat == GL_LUMINANCE) {
|
||||
gcinfo = glyphCacheAA;
|
||||
} else {
|
||||
gcinfo = glyphCacheLCD;
|
||||
}
|
||||
|
||||
if ((gcinfo == NULL) || (glyph->image == NULL)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (cacheStatus == CACHE_LCD) {
|
||||
pixelFormat = rgbOrder ? GL_RGB : GL_BGR;
|
||||
} else {
|
||||
pixelFormat = GL_LUMINANCE;
|
||||
}
|
||||
|
||||
AccelGlyphCache_AddGlyph(glyphCache, glyph);
|
||||
AccelGlyphCache_AddGlyph(gcinfo, glyph);
|
||||
ccinfo = (CacheCellInfo *) glyph->cellInfo;
|
||||
|
||||
if (ccinfo != NULL) {
|
||||
@ -413,24 +407,31 @@ OGLTR_UpdateLCDTextColor(jint contrast)
|
||||
* gamma lookup table textures.
|
||||
*/
|
||||
static jboolean
|
||||
OGLTR_EnableLCDGlyphModeState(GLuint glyphTextureID, jint contrast)
|
||||
OGLTR_EnableLCDGlyphModeState(GLuint glyphTextureID,
|
||||
GLuint dstTextureID,
|
||||
jint contrast)
|
||||
{
|
||||
// bind the texture containing glyph data to texture unit 0
|
||||
j2d_glActiveTextureARB(GL_TEXTURE0_ARB);
|
||||
j2d_glBindTexture(GL_TEXTURE_2D, glyphTextureID);
|
||||
j2d_glEnable(GL_TEXTURE_2D);
|
||||
|
||||
// bind the texture tile containing destination data to texture unit 1
|
||||
j2d_glActiveTextureARB(GL_TEXTURE1_ARB);
|
||||
if (cachedDestTextureID == 0) {
|
||||
cachedDestTextureID =
|
||||
OGLContext_CreateBlitTexture(GL_RGB8, GL_RGB,
|
||||
OGLTR_CACHED_DEST_WIDTH,
|
||||
OGLTR_CACHED_DEST_HEIGHT);
|
||||
if (dstTextureID != 0) {
|
||||
j2d_glBindTexture(GL_TEXTURE_2D, dstTextureID);
|
||||
} else {
|
||||
if (cachedDestTextureID == 0) {
|
||||
return JNI_FALSE;
|
||||
cachedDestTextureID =
|
||||
OGLContext_CreateBlitTexture(GL_RGB8, GL_RGB,
|
||||
OGLTR_CACHED_DEST_WIDTH,
|
||||
OGLTR_CACHED_DEST_HEIGHT);
|
||||
if (cachedDestTextureID == 0) {
|
||||
return JNI_FALSE;
|
||||
}
|
||||
}
|
||||
j2d_glBindTexture(GL_TEXTURE_2D, cachedDestTextureID);
|
||||
}
|
||||
j2d_glBindTexture(GL_TEXTURE_2D, cachedDestTextureID);
|
||||
|
||||
// note that GL_TEXTURE_2D was already enabled for texture unit 0,
|
||||
// but we need to explicitly enable it for texture unit 1
|
||||
@ -472,14 +473,14 @@ OGLTR_EnableGlyphVertexCache(OGLContext *oglc)
|
||||
return;
|
||||
}
|
||||
|
||||
if (glyphCache == NULL) {
|
||||
if (glyphCacheAA == NULL) {
|
||||
if (!OGLTR_InitGlyphCache(JNI_FALSE)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
j2d_glEnable(GL_TEXTURE_2D);
|
||||
j2d_glBindTexture(GL_TEXTURE_2D, glyphCache->cacheID);
|
||||
j2d_glBindTexture(GL_TEXTURE_2D, glyphCacheAA->cacheID);
|
||||
j2d_glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
|
||||
|
||||
// for grayscale/monochrome text, the current OpenGL source color
|
||||
@ -522,6 +523,7 @@ OGLTR_DisableGlyphModeState()
|
||||
j2d_glActiveTextureARB(GL_TEXTURE1_ARB);
|
||||
j2d_glDisable(GL_TEXTURE_2D);
|
||||
j2d_glActiveTextureARB(GL_TEXTURE0_ARB);
|
||||
j2d_glDisable(GL_TEXTURE_2D);
|
||||
break;
|
||||
|
||||
case MODE_NO_CACHE_GRAY:
|
||||
@ -547,7 +549,7 @@ OGLTR_DrawGrayscaleGlyphViaCache(OGLContext *oglc,
|
||||
|
||||
if (ginfo->cellInfo == NULL) {
|
||||
// attempt to add glyph to accelerated glyph cache
|
||||
OGLTR_AddToGlyphCache(ginfo, JNI_FALSE);
|
||||
OGLTR_AddToGlyphCache(ginfo, GL_LUMINANCE);
|
||||
|
||||
if (ginfo->cellInfo == NULL) {
|
||||
// we'll just no-op in the rare case that the cell is NULL
|
||||
@ -707,7 +709,8 @@ static jboolean
|
||||
OGLTR_DrawLCDGlyphViaCache(OGLContext *oglc, OGLSDOps *dstOps,
|
||||
GlyphInfo *ginfo, jint x, jint y,
|
||||
jint glyphIndex, jint totalGlyphs,
|
||||
jboolean rgbOrder, jint contrast)
|
||||
jboolean rgbOrder, jint contrast,
|
||||
GLuint dstTextureID)
|
||||
{
|
||||
CacheCellInfo *cell;
|
||||
jint dx1, dy1, dx2, dy2;
|
||||
@ -718,7 +721,7 @@ OGLTR_DrawLCDGlyphViaCache(OGLContext *oglc, OGLSDOps *dstOps,
|
||||
CHECK_PREVIOUS_OP(GL_TEXTURE_2D);
|
||||
j2d_glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
|
||||
|
||||
if (glyphCache == NULL) {
|
||||
if (glyphCacheLCD == NULL) {
|
||||
if (!OGLTR_InitGlyphCache(JNI_TRUE)) {
|
||||
return JNI_FALSE;
|
||||
}
|
||||
@ -727,11 +730,13 @@ OGLTR_DrawLCDGlyphViaCache(OGLContext *oglc, OGLSDOps *dstOps,
|
||||
if (rgbOrder != lastRGBOrder) {
|
||||
// need to invalidate the cache in this case; see comments
|
||||
// for lastRGBOrder above
|
||||
AccelGlyphCache_Invalidate(glyphCache);
|
||||
AccelGlyphCache_Invalidate(glyphCacheLCD);
|
||||
lastRGBOrder = rgbOrder;
|
||||
}
|
||||
|
||||
if (!OGLTR_EnableLCDGlyphModeState(glyphCache->cacheID, contrast)) {
|
||||
if (!OGLTR_EnableLCDGlyphModeState(glyphCacheLCD->cacheID,
|
||||
dstTextureID, contrast))
|
||||
{
|
||||
return JNI_FALSE;
|
||||
}
|
||||
|
||||
@ -750,7 +755,7 @@ OGLTR_DrawLCDGlyphViaCache(OGLContext *oglc, OGLSDOps *dstOps,
|
||||
j2d_glActiveTextureARB(GL_TEXTURE0_ARB);
|
||||
|
||||
// attempt to add glyph to accelerated glyph cache
|
||||
OGLTR_AddToGlyphCache(ginfo, rgbOrder);
|
||||
OGLTR_AddToGlyphCache(ginfo, rgbOrder ? GL_RGB : GL_BGR);
|
||||
|
||||
if (ginfo->cellInfo == NULL) {
|
||||
// we'll just no-op in the rare case that the cell is NULL
|
||||
@ -767,16 +772,34 @@ OGLTR_DrawLCDGlyphViaCache(OGLContext *oglc, OGLSDOps *dstOps,
|
||||
dx2 = dx1 + ginfo->width;
|
||||
dy2 = dy1 + ginfo->height;
|
||||
|
||||
// copy destination into second cached texture, if necessary
|
||||
OGLTR_UpdateCachedDestination(dstOps, ginfo,
|
||||
dx1, dy1, dx2, dy2,
|
||||
glyphIndex, totalGlyphs);
|
||||
if (dstTextureID == 0) {
|
||||
// copy destination into second cached texture, if necessary
|
||||
OGLTR_UpdateCachedDestination(dstOps, ginfo,
|
||||
dx1, dy1, dx2, dy2,
|
||||
glyphIndex, totalGlyphs);
|
||||
|
||||
// texture coordinates of the destination tile
|
||||
dtx1 = ((jfloat)(dx1 - cachedDestBounds.x1)) / OGLTR_CACHED_DEST_WIDTH;
|
||||
dty1 = ((jfloat)(cachedDestBounds.y2 - dy1)) / OGLTR_CACHED_DEST_HEIGHT;
|
||||
dtx2 = ((jfloat)(dx2 - cachedDestBounds.x1)) / OGLTR_CACHED_DEST_WIDTH;
|
||||
dty2 = ((jfloat)(cachedDestBounds.y2 - dy2)) / OGLTR_CACHED_DEST_HEIGHT;
|
||||
// texture coordinates of the destination tile
|
||||
dtx1 = ((jfloat)(dx1 - cachedDestBounds.x1)) / OGLTR_CACHED_DEST_WIDTH;
|
||||
dty1 = ((jfloat)(cachedDestBounds.y2 - dy1)) / OGLTR_CACHED_DEST_HEIGHT;
|
||||
dtx2 = ((jfloat)(dx2 - cachedDestBounds.x1)) / OGLTR_CACHED_DEST_WIDTH;
|
||||
dty2 = ((jfloat)(cachedDestBounds.y2 - dy2)) / OGLTR_CACHED_DEST_HEIGHT;
|
||||
} else {
|
||||
jint gw = ginfo->width;
|
||||
jint gh = ginfo->height;
|
||||
|
||||
// this accounts for lower-left origin of the destination region
|
||||
jint dxadj = dstOps->xOffset + x;
|
||||
jint dyadj = dstOps->yOffset + dstOps->height - (y + gh);
|
||||
|
||||
// update the remaining destination texture coordinates
|
||||
dtx1 =((GLfloat)dxadj) / dstOps->textureWidth;
|
||||
dtx2 = ((GLfloat)dxadj + gw) / dstOps->textureWidth;
|
||||
|
||||
dty1 = ((GLfloat)dyadj + gh) / dstOps->textureHeight;
|
||||
dty2 = ((GLfloat)dyadj) / dstOps->textureHeight;
|
||||
|
||||
j2d_glTextureBarrierNV();
|
||||
}
|
||||
|
||||
// render composed texture to the destination surface
|
||||
j2d_glBegin(GL_QUADS);
|
||||
@ -837,7 +860,8 @@ static jboolean
|
||||
OGLTR_DrawLCDGlyphNoCache(OGLContext *oglc, OGLSDOps *dstOps,
|
||||
GlyphInfo *ginfo, jint x, jint y,
|
||||
jint rowBytesOffset,
|
||||
jboolean rgbOrder, jint contrast)
|
||||
jboolean rgbOrder, jint contrast,
|
||||
GLuint dstTextureID)
|
||||
{
|
||||
GLfloat tx1, ty1, tx2, ty2;
|
||||
GLfloat dtx1, dty1, dtx2, dty2;
|
||||
@ -859,7 +883,9 @@ OGLTR_DrawLCDGlyphNoCache(OGLContext *oglc, OGLSDOps *dstOps,
|
||||
}
|
||||
}
|
||||
|
||||
if (!OGLTR_EnableLCDGlyphModeState(oglc->blitTextureID, contrast)) {
|
||||
if (!OGLTR_EnableLCDGlyphModeState(oglc->blitTextureID,
|
||||
dstTextureID, contrast))
|
||||
{
|
||||
return JNI_FALSE;
|
||||
}
|
||||
|
||||
@ -907,18 +933,29 @@ OGLTR_DrawLCDGlyphNoCache(OGLContext *oglc, OGLSDOps *dstOps,
|
||||
dxadj = dstOps->xOffset + x;
|
||||
dyadj = dstOps->yOffset + dstOps->height - (y + sh);
|
||||
|
||||
// copy destination into cached texture tile (the lower-left
|
||||
// corner of the destination region will be positioned at the
|
||||
// lower-left corner (0,0) of the texture)
|
||||
j2d_glActiveTextureARB(GL_TEXTURE1_ARB);
|
||||
j2d_glCopyTexSubImage2D(GL_TEXTURE_2D, 0,
|
||||
0, 0,
|
||||
dxadj, dyadj,
|
||||
sw, sh);
|
||||
if (dstTextureID == 0) {
|
||||
// copy destination into cached texture tile (the lower-left
|
||||
// corner of the destination region will be positioned at the
|
||||
// lower-left corner (0,0) of the texture)
|
||||
j2d_glActiveTextureARB(GL_TEXTURE1_ARB);
|
||||
j2d_glCopyTexSubImage2D(GL_TEXTURE_2D, 0,
|
||||
0, 0,
|
||||
dxadj, dyadj,
|
||||
sw, sh);
|
||||
// update the remaining destination texture coordinates
|
||||
dtx2 = ((GLfloat)sw) / OGLTR_CACHED_DEST_WIDTH;
|
||||
dty1 = ((GLfloat)sh) / OGLTR_CACHED_DEST_HEIGHT;
|
||||
} else {
|
||||
// use the destination texture directly
|
||||
// update the remaining destination texture coordinates
|
||||
dtx1 =((GLfloat)dxadj) / dstOps->textureWidth;
|
||||
dtx2 = ((GLfloat)dxadj + sw) / dstOps->textureWidth;
|
||||
|
||||
// update the remaining destination texture coordinates
|
||||
dtx2 = ((GLfloat)sw) / OGLTR_CACHED_DEST_WIDTH;
|
||||
dty1 = ((GLfloat)sh) / OGLTR_CACHED_DEST_HEIGHT;
|
||||
dty1 = ((GLfloat)dyadj + sh) / dstOps->textureHeight;
|
||||
dty2 = ((GLfloat)dyadj) / dstOps->textureHeight;
|
||||
|
||||
j2d_glTextureBarrierNV();
|
||||
}
|
||||
|
||||
// render composed texture to the destination surface
|
||||
j2d_glBegin(GL_QUADS);
|
||||
@ -953,6 +990,7 @@ OGLTR_DrawGlyphList(JNIEnv *env, OGLContext *oglc, OGLSDOps *dstOps,
|
||||
unsigned char *images, unsigned char *positions)
|
||||
{
|
||||
int glyphCounter;
|
||||
GLuint dstTextureID = 0;
|
||||
|
||||
J2dTraceLn(J2D_TRACE_INFO, "OGLTR_DrawGlyphList");
|
||||
|
||||
@ -966,6 +1004,27 @@ OGLTR_DrawGlyphList(JNIEnv *env, OGLContext *oglc, OGLSDOps *dstOps,
|
||||
glyphMode = MODE_NOT_INITED;
|
||||
isCachedDestValid = JNI_FALSE;
|
||||
|
||||
// We have to obtain an information about destination content
|
||||
// in order to render lcd glyphs. It could be done by copying
|
||||
// a part of desitination buffer into an intermediate texture
|
||||
// using glCopyTexSubImage2D(). However, on macosx this path is
|
||||
// slow, and it dramatically reduces the overall speed of lcd
|
||||
// text rendering.
|
||||
//
|
||||
// In some cases, we can use a texture from the destination
|
||||
// surface data in oredr to avoid this slow reading routine.
|
||||
// It requires:
|
||||
// * An appropriate textureTarget for the destination SD.
|
||||
// In particular, we need GL_TEXTURE_2D
|
||||
// * Means to prevent read-after-write problem.
|
||||
// At the moment, a GL_NV_texture_barrier extension is used
|
||||
// to achieve this.
|
||||
if (OGLC_IS_CAP_PRESENT(oglc, CAPS_EXT_TEXBARRIER) &&
|
||||
dstOps->textureTarget == GL_TEXTURE_2D)
|
||||
{
|
||||
dstTextureID = dstOps->textureID;
|
||||
}
|
||||
|
||||
for (glyphCounter = 0; glyphCounter < totalGlyphs; glyphCounter++) {
|
||||
jint x, y;
|
||||
jfloat glyphx, glyphy;
|
||||
@ -1003,8 +1062,7 @@ OGLTR_DrawGlyphList(JNIEnv *env, OGLContext *oglc, OGLSDOps *dstOps,
|
||||
|
||||
if (grayscale) {
|
||||
// grayscale or monochrome glyph data
|
||||
if (cacheStatus != CACHE_LCD &&
|
||||
ginfo->width <= OGLTR_CACHE_CELL_WIDTH &&
|
||||
if (ginfo->width <= OGLTR_CACHE_CELL_WIDTH &&
|
||||
ginfo->height <= OGLTR_CACHE_CELL_HEIGHT)
|
||||
{
|
||||
ok = OGLTR_DrawGrayscaleGlyphViaCache(oglc, ginfo, x, y);
|
||||
@ -1024,19 +1082,20 @@ OGLTR_DrawGlyphList(JNIEnv *env, OGLContext *oglc, OGLSDOps *dstOps,
|
||||
}
|
||||
|
||||
if (rowBytesOffset == 0 &&
|
||||
cacheStatus != CACHE_GRAY &&
|
||||
ginfo->width <= OGLTR_CACHE_CELL_WIDTH &&
|
||||
ginfo->height <= OGLTR_CACHE_CELL_HEIGHT)
|
||||
{
|
||||
ok = OGLTR_DrawLCDGlyphViaCache(oglc, dstOps,
|
||||
ginfo, x, y,
|
||||
glyphCounter, totalGlyphs,
|
||||
rgbOrder, lcdContrast);
|
||||
rgbOrder, lcdContrast,
|
||||
dstTextureID);
|
||||
} else {
|
||||
ok = OGLTR_DrawLCDGlyphNoCache(oglc, dstOps,
|
||||
ginfo, x, y,
|
||||
rowBytesOffset,
|
||||
rgbOrder, lcdContrast);
|
||||
rgbOrder, lcdContrast,
|
||||
dstTextureID);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -29,6 +29,8 @@
|
||||
|
||||
#include "PlatformMidi.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
char* GetInternalErrorStr(INT32 err) {
|
||||
switch (err) {
|
||||
case MIDI_SUCCESS: return "";
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH appletviewer 1 "21 November 2013" "JDK 8" "Basic Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
appletviewer \- Runs applets outside of a web browser\&.
|
||||
@ -84,7 +83,7 @@ Specifies the input HTML file encoding name\&.
|
||||
.br
|
||||
Passes the string \f3javaoption\fR as a single argument to the Java interpreter, which runs the Applet Viewer\&. The argument should not contain spaces\&. Multiple argument words must all begin with the prefix \f3-J\fR\&. This is useful for adjusting the compiler\&'s execution environment or memory usage\&.
|
||||
.PP
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,26 +1,25 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
.\" under the terms of the GNU General Public License version 2 only, as
|
||||
.\" published by the Free Software Foundation.
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License version
|
||||
.\" 2 along with this work; if not, write to the Free Software Foundation,
|
||||
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
.\"
|
||||
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.\" Arch: generic
|
||||
.\" Software: JDK 8
|
||||
.\" Date: 21 November 2013
|
||||
@ -29,25 +28,25 @@
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH idlj 1 "21 November 2013" "JDK 8" "Java IDL and RMI-IIOP Tools"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.\" http://bugs.debian.org/507673
|
||||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
||||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
.ie \n(.g .ds Aq \(aq
|
||||
.el .ds Aq '
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * set default formatting
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" disable hyphenation
|
||||
.nh
|
||||
.\" disable justification (adjust text to left margin only)
|
||||
.ad l
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
.SH NAME
|
||||
idlj \- Generates Java bindings for a specified Interface Definition Language (IDL) file\&.
|
||||
@ -562,7 +561,7 @@ Escaped identifiers in the global scope cannot have the same spelling as IDL pri
|
||||
The \f3fixed\fR IDL type is not supported\&.
|
||||
.SH KNOWN\ PROBLEMS
|
||||
No import is generated for global identifiers\&. If you call an unexported local \f3impl\fR object, then you do get an exception, but it seems to be due to a \f3NullPointerException\fR in the \f3ServerDelegate\fR DSI code\&.
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: appletviewer
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: 基本ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 1995, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "appletviewer" "1" "2013年11月21日" "JDK 8" "基本ツール"
|
||||
.\" Title: appletviewer
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: 基本ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "appletviewer" "1" "2013年11月21日" "JDK 8" "基本ツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
appletviewer \- Webブラウザの外側でアプレットを実行します。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
appletviewer \- Webブラウザの外側でアプレットを実行します。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIappletviewer\fR [\fIoptions\fR] \fIurl\fR\&.\&.\&.
|
||||
\fBappletviewer\fR [\fIoptions\fR] \fIurl\fR\&.\&.\&.
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,39 +66,39 @@ appletviewer \- Webブラウザの外側でアプレットを実行します。
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
空白で区切られたコマンドライン・オプション。オプションを参照してください。
|
||||
空白で区切られたコマンド行オプション。オプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIurl\fR
|
||||
.RS 4
|
||||
表示するドキュメントまたはリソースの場所。空白で区切られた複数のURLを指定できます。
|
||||
表示するドキュメントまたはリソースの場所。空白で区切られた複数のURLを指定できます。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIappletviewer\fRコマンドは\fIurls\fRに指定されたドキュメントあるいはリソースと接続して、そのドキュメントが参照するそれぞれのアプレットを独自のウィンドウで表示します。urlsによって参照されたドキュメントが、\fIOBJECT\fR、\fIEMBED\fRまたは\fIAPPLET\fRタグでどのアプレットも参照していない場合、\fIappletviewer\fRコマンドは何も行いません。\fIappletviewer\fRコマンドでサポートされるHTMLタグの詳細は、http://docs\&.oracle\&.com/javase/8/docs/technotes/tools/appletviewertags\&.htmlにある
|
||||
アプレット・ビューア・タグを参照してください。
|
||||
\fBappletviewer\fRコマンドは\fIurls\fRに指定されたドキュメントあるいはリソースと接続して、そのドキュメントが参照するそれぞれのアプレットを独自のウィンドウで表示します。urlsによって参照されたドキュメントが、\fBOBJECT\fR、\fBEMBED\fRまたは\fBAPPLET\fRタグでどのアプレットも参照していない場合、\fBappletviewer\fRコマンドは何も行いません。\fBappletviewer\fRコマンドでサポートされるHTMLタグの詳細は、http://docs\&.oracle\&.com/javase/8/docs/technotes/tools/appletviewertags\&.htmlにある
|
||||
アプレット・ビューア・タグを参照してください。
|
||||
.PP
|
||||
\fIappletviewer\fRコマンドは、RFC2396で定義されたエスケープ・メカニズムに従ってエンコードされたURLを必要とします。サポートされるのは、エンコードされたURLのみです。ただし、ファイル名については、RFC2396の仕様に従ってエンコードを解除しておく必要があります。
|
||||
\fBappletviewer\fRコマンドは、RFC2396で定義されたエスケープ・メカニズムに従ってエンコードされたURLを必要とします。サポートされるのは、エンコードされたURLのみです。ただし、ファイル名については、RFC2396の仕様に従ってエンコードを解除しておく必要があります。
|
||||
.PP
|
||||
\fB注意:\fR
|
||||
\fB注意:\fR
|
||||
The
|
||||
\fIappletviewer\fRコマンドは開発専用です。詳細は、http://docs\&.oracle\&.com/javase/8/docs/technotes/samples/aboutCodeSamples\&.htmlにある
|
||||
サンプル/テスト・アプリケーションおよびコードについてを参照してください。
|
||||
.SH "オプション"
|
||||
\fBappletviewer\fRコマンドは開発専用です。詳細は、http://docs\&.oracle\&.com/javase/8/docs/technotes/samples/aboutCodeSamples\&.htmlにある
|
||||
サンプル/テスト・アプリケーションおよびコードについてを参照してください。
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\-debug
|
||||
.RS 4
|
||||
\fIjdb\fRコマンドを使用してJavaデバッガでアプレット・ビューアを開始して、ドキュメント中のアプレットをデバッグします。
|
||||
\fBjdb\fRコマンドを使用してJavaデバッガでアプレット・ビューアを開始して、ドキュメント中のアプレットをデバッグします。
|
||||
.RE
|
||||
.PP
|
||||
\-encoding \fIencoding\-name\fR
|
||||
.RS 4
|
||||
入力HTMLファイルのエンコーディング名を指定します。
|
||||
入力HTMLファイルのエンコーディング名を指定します。
|
||||
.RE
|
||||
.PP
|
||||
\-J\fIjavaoption\fR
|
||||
.RS 4
|
||||
文字列\fIjavaoption\fRは、アプレット・ビューアを実行するJavaインタプリタに1つの引数として渡されます。引数にスペースを含めないでください。複数の引数は、すべてが接頭辞\fI\-J\fRで始まる必要があります。これは、コンパイラの実行環境またはメモリー使用の調整に有効です。
|
||||
文字列\fBjavaoption\fRは、アプレット・ビューアを実行するJavaインタプリタに1つの引数として渡されます。引数にスペースを含めないでください。複数の引数は、すべてが接頭辞\fB\-J\fRで始まる必要があります。これは、コンパイラの実行環境またはメモリー使用の調整に有効です。
|
||||
.RE
|
||||
.PP
|
||||
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: idlj
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Java IDLおよびRMI-IIOPツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "idlj" "1" "2013年11月21日" "JDK 8" "Java IDLおよびRMI-IIOPツール"
|
||||
.\" Title: idlj
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Java IDLおよびRMI-IIOPツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "idlj" "1" "2013年11月21日" "JDK 8" "Java IDLおよびRMI-IIOPツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
idlj \- 指定されたインタフェース定義言語(IDL)ファイルに対してJavaバインディングを生成します。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
idlj \- 指定されたインタフェース定義言語(IDL)ファイルに対してJavaバインディングを生成します。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIidlj\fR [ \fIoptions\fR ] \fIidlfile\fR
|
||||
\fBidlj\fR [ \fIoptions\fR ] \fIidlfile\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,378 +66,368 @@ idlj \- 指定されたインタフェース定義言語(IDL)ファイルに対
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
コマンドライン・オプション。オプションを参照してください。optionsの順番は任意ですが、\fIidlfile\fRよりも前に指定する必要があります。
|
||||
コマンド行オプション。オプションを参照してください。optionsの順番は任意ですが、\fBidlfile\fRよりも前に指定する必要があります。
|
||||
.RE
|
||||
.PP
|
||||
\fIidlfile\fR
|
||||
.RS 4
|
||||
インタフェース定義言語(IDL)による定義が含まれるファイルの名前。
|
||||
インタフェース定義言語(IDL)による定義が含まれるファイルの名前。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
IDL\-to\-Javaコンパイラは、指定されたIDLファイルに対してJavaバインディングを生成します。バインディングの詳細は、http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/mapping/jidlMapping\&.htmlにある
|
||||
Java IDL: Java言語マッピングへのIDLを参照してください。
|
||||
IDL\-to\-Javaコンパイラは、指定されたIDLファイルに対してJavaバインディングを生成します。バインディングの詳細は、http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/mapping/jidlMapping\&.htmlにある
|
||||
Java IDL: Java言語マッピングへのIDLを参照してください。
|
||||
.PP
|
||||
IDL\-to\-Javaコンパイラの以前のリリースの中には、\fIidltojava\fRという名前だったものがあります。
|
||||
.SS "クライアント・バインディングおよびサーバー・バインディングの発行"
|
||||
IDL\-to\-Javaコンパイラの以前のリリースの中には、\fBidltojava\fRという名前だったものがあります。
|
||||
.SS "クライアント・バインディングおよびサーバー・バインディングの発行"
|
||||
.PP
|
||||
次の\fIidlj\fRコマンドは、クライアント側バインディングを含む\fIMy\&.idl\fRという名前のIDLファイルを生成します。
|
||||
次の\fBidlj\fRコマンドは、クライアント側バインディングを含む\fBMy\&.idl\fRという名前のIDLファイルを生成します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
idlj My\&.idl
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
前の構文は次と同等です。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
idlj \-fclient My\&.idl
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
次の例では、サーバー側バインディングを生成し、クライアント側バインディングおよびスケルトンを含めており、これらはすべて、POA (継承モデル)です。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
idlg \-fserver My\&.idl
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
クライアント側とサーバー側の両方のバインディングを生成する場合は、次のコマンド(どれも等価)のうちの1つを使用します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
idlj \-fclient \-fserver My\&.idl
|
||||
idlj \-fall My\&.idl
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
サーバー側で可能なモデルは2つあります。移殖可能サーバント継承モデルとTieモデルです。Tie委譲モデルを参照してください。
|
||||
.if n \{\
|
||||
.sp
|
||||
.\}
|
||||
.RS 4
|
||||
.it 1 an-trap
|
||||
.nr an-no-space-flag 1
|
||||
.nr an-break-flag 1
|
||||
.br
|
||||
.ps +1
|
||||
\fB移殖可能サーバント継承モデル\fR
|
||||
.ps -1
|
||||
.br
|
||||
.PP
|
||||
デフォルトのサーバー側のモデルは、移殖可能サーバント継承モデルです。\fIMy\&.idl\fR内で\fIMy\fRインタフェースが定義されている場合は、\fIMyPOA\&.java\fRというファイルが生成されます。\fIMy\fRインタフェースの実装を提供する必要があり、\fIMy\fRインタフェースは\fIMyPOA\fRクラスから継承する必要があります。\fIMyPOA\&.java\fRは、http://docs\&.oracle\&.com/javase/8/docs/api/org/omg/PortableServer/Servant\&.htmlにある
|
||||
\fIorg\&.omg\&.PortableServer\&.Servant\fRクラスを拡張するストリームベースのスケルトンです。
|
||||
.PP
|
||||
\fIMy\fRインタフェースは、スケルトンが実装するIDLインタフェースに関連付けられている\fIcallHandler\fRインタフェースと操作インタフェースを実装します。
|
||||
.PP
|
||||
ポータブル・オブジェクト・アダプタ(POA)の\fIPortableServer\fRモジュールは、ネイティブの\fIServant\fR型を定義します。http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/POA\&.htmlにある
|
||||
ポータブル・オブジェクト・アダプタ(POA)を参照してください。
|
||||
.PP
|
||||
Javaプログラミング言語では、\fIServant\fR型はJavaの\fIorg\&.omg\&.PortableServer\&.Servant\fRクラスにマップされます。これは、すべてのPOAサーバント実装のベース・クラスとして機能し、アプリケーション・プログラマが呼び出すことのできるいくつかのメソッド、およびPOAによって呼び出され、サーバントの動作を制御するためにユーザーがオーバーライドできるメソッドを提供します。
|
||||
.PP
|
||||
継承モデルのもう1つのオプションは、\fI\-oldImplBase\fRフラグを使用して、Java SE 1\&.4より前のリリースのJavaプログラミング言語と互換性のあるサーバー側バインディングを生成することです。\-\fIoldImplBase\fRフラグは非標準で、これらのAPIは非推奨です。このフラグを使用するのは、Java SE 1\&.3で記述された既存のサーバーとの互換性が必要な場合のみです。その場合、既存のmakeファイルを変更して、\fI\-oldImplBase\fRフラグを\fIidlj\fRコンパイラに追加する必要があります。それ以外の場合、POAベースのサーバー側マッピングが生成されます。下位互換性のあるサーバー側バインディングを生成するには、次を実行します。
|
||||
.sp .5v
|
||||
.RE
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
idlj \-fclient \-fserver \-oldImplBase My\&.idl
|
||||
idlj \-fall \-oldImplBase My\&.idl
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fIMy\&.idl\fR内で\fIMy\fRインタフェースが定義されている場合は、\fI_MyImplBase\&.java\fRというファイルが生成されます。\fIMy\fRインタフェースの実装を提供する必要があり、\fIMy\fRインタフェースは\fI_MyImplBase\fRクラスから継承する必要があります。
|
||||
.if n \{\
|
||||
.sp
|
||||
.\}
|
||||
.RS 4
|
||||
.it 1 an-trap
|
||||
.nr an-no-space-flag 1
|
||||
.nr an-break-flag 1
|
||||
.br
|
||||
.ps +1
|
||||
\fBTie委譲モデル\fR
|
||||
.ps -1
|
||||
.br
|
||||
.PP
|
||||
もう1つのサーバー側モデルは、Tieモデルと呼ばれるものです。このサーバー側モデルは、委譲モデルです。Tieとスケルトンを同時に生成することはできないため、それらは別々に生成する必要があります。次のコマンドによって、Tieモデル用のバインディングが生成されます。
|
||||
.sp .5v
|
||||
.RE
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
idlj \-fall My\&.idl
|
||||
idlj \-fallTIE My\&.idl
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fIMy\fRインタフェースの場合、2番目のコマンドにより、\fIMyPOATie\&.java\fRが生成されます。\fIMyPOATie\fRクラスへのコンストラクタは、delegateを取ります。この例では、デフォルトのPOAモデルを使用しているため、コンストラクタにもPOAが必要です。delegateに対して実装を提供する必要がありますが、この実装は\fIMyOperations\fRインタフェースから継承する必要があるのみで、その他のクラスから継承する必要はありません。これをORBと一緒に使用するには、たとえば次のように\fIMyPOATie\fRクラス内で実装をラップする必要があります。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
ORB orb = ORB\&.init(args, System\&.getProperties());
|
||||
\fBidlj My\&.idl\fR
|
||||
|
||||
// Get reference to rootpoa & activate the POAManager
|
||||
POA rootpoa = (POA)orb\&.resolve_initial_references("RootPOA");
|
||||
rootpoa\&.the_POAManager()\&.activate();
|
||||
|
||||
// create servant and register it with the ORB
|
||||
MyServant myDelegate = new MyServant();
|
||||
myDelegate\&.setORB(orb);
|
||||
|
||||
// create a tie, with servant being the delegate\&.
|
||||
MyPOATie tie = new MyPOATie(myDelegate, rootpoa);
|
||||
|
||||
// obtain the objectRef for the tie
|
||||
My ref = tie\&._this(orb);
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
他の実装から継承する必要がある場合、標準の継承モデルではなくTieモデルを使用することもできます。Javaの場合は、インタフェースの継承の個数に制限はありませんが、クラスの継承に使用できるスロットは1つのみです。継承モデルを使用した場合は、そのスロットが占有されます。Tieモデルを使用すると、そのスロットが使用されず、ユーザーが独自の目的で使用できます。この方法には、間接性のレベルが1つ導入されるという短所があります。メソッドを呼び出すときに、余分なメソッド呼出しが1回発生します。
|
||||
.PP
|
||||
サーバー側の生成の場合、Java SE 1\&.4より前のバージョンのJava言語にマッピングするIDLのバージョンと互換性のある、Tieモデルのバインディングです。
|
||||
前の構文は次と同等です。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
idlj \-oldImplBase \-fall My\&.idl
|
||||
idlj \-oldImplBase \-fallTIE My\&.idl
|
||||
\fBidlj \-fclient My\&.idl\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fIMy\fRインタフェースの場合、これにより、\fIMy_Tie\&.java\fRが生成されます。\fIMy_Tie\fRクラスへのコンストラクタは、\fIimpl\fRオブジェクトを取ります。\fIimpl\fRに対して実装を提供する必要がありますが、その実装は\fIHelloOperations\fRインタフェースから継承する必要があるのみで、その他のクラスから継承する必要はありません。しかし、これをORBと一緒に使用するには、たとえば次のように\fIMy_Tie\fR内で実装をラップする必要があります。
|
||||
次の例では、サーバー側バインディングを生成し、クライアント側バインディングおよびスケルトンを含めており、これらはすべて、POA (継承モデル)です。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
ORB orb = ORB\&.init(args, System\&.getProperties());
|
||||
|
||||
// create servant and register it with the ORB
|
||||
MyServant myDelegate = new MyServant();
|
||||
myDelegate\&.setORB(orb);
|
||||
\fBidlg \-fserver My\&.idl\fR
|
||||
|
||||
// create a tie, with servant being the delegate\&.
|
||||
MyPOATie tie = new MyPOATie(myDelegate);
|
||||
|
||||
// obtain the objectRef for the tie
|
||||
My ref = tie\&._this(orb);
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SS "発行されたファイルの代替位置の指定"
|
||||
.PP
|
||||
発行されたファイルを現在のディレクトリ以外のディレクトリに置くには、\fIi\fR\fIdlj \-td /altdir My\&.idl\fRのコマンドでコンパイラを呼び出します。
|
||||
クライアント側とサーバー側の両方のバインディングを生成する場合は、次のコマンド(どれも等価)のうちの1つを使用します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBidlj \-fclient \-fserver My\&.idl\fR
|
||||
\fBidlj \-fall My\&.idl\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
サーバー側で可能なモデルは2つあります。移殖可能サーバント継承モデルとTieモデルです。Tie委譲モデルを参照してください。
|
||||
.PP
|
||||
\fB移殖可能サーバント継承モデル\fR. デフォルトのサーバー側のモデルは、移殖可能サーバント継承モデルです。\fBMy\&.idl\fR内で\fBMy\fRインタフェースが定義されている場合は、\fBMyPOA\&.java\fRというファイルが生成されます。\fBMy\fRインタフェースの実装を提供する必要があり、\fBMy\fRインタフェースは\fBMyPOA\fRクラスから継承する必要があります。\fBMyPOA\&.java\fRは、http://docs\&.oracle\&.com/javase/8/docs/api/org/omg/PortableServer/Servant\&.htmlにある
|
||||
\fBorg\&.omg\&.PortableServer\&.Servant\fRクラスを拡張するストリームベースのスケルトンです。
|
||||
.PP
|
||||
\fBMy\fRインタフェースは、スケルトンが実装するIDLインタフェースに関連付けられている\fBcallHandler\fRインタフェースと操作インタフェースを実装します。
|
||||
.PP
|
||||
ポータブル・オブジェクト・アダプタ(POA)の\fBPortableServer\fRモジュールは、ネイティブの\fBServant\fR型を定義します。http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/POA\&.htmlにある
|
||||
ポータブル・オブジェクト・アダプタ(POA)を参照してください。
|
||||
.PP
|
||||
Javaプログラミング言語では、\fBServant\fR型はJavaの\fBorg\&.omg\&.PortableServer\&.Servant\fRクラスにマップされます。これは、すべてのPOAサーバント実装のベース・クラスとして機能し、アプリケーション・プログラマが呼び出すことのできるいくつかのメソッド、およびPOAによって呼び出され、サーバントの動作を制御するためにユーザーがオーバーライドできるメソッドを提供します。
|
||||
.PP
|
||||
継承モデルのもう1つのオプションは、\fB\-oldImplBase\fRフラグを使用して、Java SE 1\&.4より前のリリースのJavaプログラミング言語と互換性のあるサーバー側バインディングを生成することです。\-\fBoldImplBase\fRフラグは非標準で、これらのAPIは非推奨です。このフラグを使用するのは、Java SE 1\&.3で記述された既存のサーバーとの互換性が必要な場合のみです。その場合、既存のmakeファイルを変更して、\fB\-oldImplBase\fRフラグを\fBidlj\fRコンパイラに追加する必要があります。それ以外の場合、POAベースのサーバー側マッピングが生成されます。後方互換性のあるサーバー側バインディングを生成するには、次を実行します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBidlj \-fclient \-fserver \-oldImplBase My\&.idl\fR
|
||||
\fBidlj \-fall \-oldImplBase My\&.idl\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fBMy\&.idl\fR内で\fBMy\fRインタフェースが定義されている場合は、\fB_MyImplBase\&.java\fRというファイルが生成されます。\fBMy\fRインタフェースの実装を提供する必要があり、\fBMy\fRインタフェースは\fB_MyImplBase\fRクラスから継承する必要があります。
|
||||
.PP
|
||||
\fBTie委譲モデル\fR. もう1つのサーバー側モデルは、Tieモデルと呼ばれるものです。このサーバー側モデルは、委譲モデルです。Tieとスケルトンを同時に生成することはできないため、それらは別々に生成する必要があります。次のコマンドによって、Tieモデル用のバインディングが生成されます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBidlj \-fall My\&.idl\fR
|
||||
\fBidlj \-fallTIE My\&.idl\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fBMy\fRインタフェースの場合、2番目のコマンドにより、\fBMyPOATie\&.java\fRが生成されます。\fBMyPOATie\fRクラスへのコンストラクタは、delegateを取ります。この例では、デフォルトのPOAモデルを使用しているため、コンストラクタにもPOAが必要です。delegateに対して実装を提供する必要がありますが、この実装は\fBMyOperations\fRインタフェースから継承する必要があるのみで、その他のクラスから継承する必要はありません。これをORBと一緒に使用するには、たとえば次のように\fBMyPOATie\fRクラス内で実装をラップする必要があります。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBORB orb = ORB\&.init(args, System\&.getProperties());\fR
|
||||
\fB \fR
|
||||
\fB// Get reference to rootpoa & activate the POAManager\fR
|
||||
\fBPOA rootpoa = (POA)orb\&.resolve_initial_references("RootPOA");\fR
|
||||
\fBrootpoa\&.the_POAManager()\&.activate();\fR
|
||||
\fB \fR
|
||||
\fB// create servant and register it with the ORB\fR
|
||||
\fBMyServant myDelegate = new MyServant();\fR
|
||||
\fBmyDelegate\&.setORB(orb); \fR
|
||||
\fB \fR
|
||||
\fB// create a tie, with servant being the delegate\&.\fR
|
||||
\fBMyPOATie tie = new MyPOATie(myDelegate, rootpoa);\fR
|
||||
\fB \fR
|
||||
\fB// obtain the objectRef for the tie\fR
|
||||
\fBMy ref = tie\&._this(orb);\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
他の実装から継承する必要がある場合、標準の継承モデルではなくTieモデルを使用することもできます。Javaの場合は、インタフェースの継承の個数に制限はありませんが、クラスの継承に使用できるスロットは1つのみです。継承モデルを使用した場合は、そのスロットが占有されます。Tieモデルを使用すると、そのスロットが使用されず、ユーザーが独自の目的で使用できます。この方法には、間接性のレベルが1つ導入されるという短所があります。メソッドを呼び出すときに、余分なメソッド呼出しが1回発生します。
|
||||
.PP
|
||||
サーバー側の生成の場合、Java SE 1\&.4より前のバージョンのJava言語にマッピングするIDLのバージョンと互換性のある、Tieモデルのバインディングです。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBidlj \-oldImplBase \-fall My\&.idl\fR
|
||||
\fBidlj \-oldImplBase \-fallTIE My\&.idl\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fBMy\fRインタフェースの場合、これにより、\fBMy_Tie\&.java\fRが生成されます。\fBMy_Tie\fRクラスへのコンストラクタは、\fBimpl\fRオブジェクトを取ります。\fBimpl\fRに対して実装を提供する必要がありますが、その実装は\fBHelloOperations\fRインタフェースから継承する必要があるのみで、その他のクラスから継承する必要はありません。しかし、これをORBと一緒に使用するには、たとえば次のように\fBMy_Tie\fR内で実装をラップする必要があります。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBORB orb = ORB\&.init(args, System\&.getProperties());\fR
|
||||
|
||||
\fB// create servant and register it with the ORB\fR
|
||||
\fBMyServant myDelegate = new MyServant();\fR
|
||||
\fBmyDelegate\&.setORB(orb); \fR
|
||||
\fB \fR
|
||||
\fB// create a tie, with servant being the delegate\&.\fR
|
||||
\fBMyPOATie tie = new MyPOATie(myDelegate);\fR
|
||||
\fB \fR
|
||||
\fB// obtain the objectRef for the tie\fR
|
||||
\fBMy ref = tie\&._this(orb);\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SS "発行されたファイルの代替位置の指定"
|
||||
.PP
|
||||
発行されたファイルを現在のディレクトリ以外のディレクトリに置くには、\fBi\fR\fBdlj \-td /altdir My\&.idl\fRのコマンドでコンパイラを呼び出します。
|
||||
.PP
|
||||
|
||||
\fIMy\fRインタフェースの場合、バインディングは、\fI\&./My\&.java\fRではなく、\fI/altdir/My\&.java\fRなどに発行されます。
|
||||
.SS "インクルード・ファイルの代替位置の指定"
|
||||
\fBMy\fRインタフェースの場合、バインディングは、\fB\&./My\&.java\fRではなく、\fB/altdir/My\&.java\fRなどに発行されます。
|
||||
.SS "インクルード・ファイルの代替位置の指定"
|
||||
.PP
|
||||
\fIMy\&.idl\fRファイルが別の\fIidl\fRファイルである\fIMyOther\&.idl\fRをインクルードする場合、コンパイラでは、\fIMyOther\&.idl\fRファイルがローカル・ディレクトリに存在することを前提としています。たとえば、それが\fI/includes\fRにある場合は、次のようなコマンドでコンパイラを呼び出します。
|
||||
\fBMy\&.idl\fRファイルが別の\fBidl\fRファイルである\fBMyOther\&.idl\fRをインクルードする場合、コンパイラでは、\fBMyOther\&.idl\fRファイルがローカル・ディレクトリに存在することを前提としています。たとえば、それが\fB/includes\fRにある場合は、次のようなコマンドでコンパイラを呼び出します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
idlj \-i /includes My\&.idl
|
||||
\fBidlj \-i /includes My\&.idl\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
たとえば、\fI/moreIncludes\fRにある\fIAnother\&.idl\fRも\fIMy\&.idl\fRにインクルードされているのであれば、次のようなコマンドでコンパイラを呼び出します。
|
||||
たとえば、\fB/moreIncludes\fRにある\fBAnother\&.idl\fRも\fBMy\&.idl\fRにインクルードされているのであれば、次のようなコマンドでコンパイラを呼び出します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
idlj \-i /includes \-i /moreIncludes My\&.idl
|
||||
\fBidlj \-i /includes \-i /moreIncludes My\&.idl\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
このような形式の\fIinclude\fRは長くなるため、インクルード・ファイルを検索する場所をコンパイラに指示するための別の方法が用意されています。この方法は、環境変数の考え方と似ています。\fICLASSPATH\fR変数に一覧表示されているディレクトリ内にidl\&.configという名前のファイルを作成します。その\fIidl\&.config\fRの中に、次のような形式の行を入れます。
|
||||
このような形式の\fBinclude\fRは長くなるため、インクルード・ファイルを検索する場所をコンパイラに指示するための別の方法が用意されています。この方法は、環境変数の考え方と似ています。\fBCLASSPATH\fR変数に一覧表示されているディレクトリ内にidl\&.configという名前のファイルを作成します。その\fBidl\&.config\fRの中に、次のような形式の行を入れます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
includes=/includes;/moreIncludes
|
||||
\fBincludes=/includes;/moreIncludes\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
コンパイラは、このファイルを検索し、インクルード・リストを読み込みます。この例では、ディレクトリの間の区切り文字はセミコロン(;)になっています。この区切り文字は、プラットフォームによって異なります。Windowsプラットフォームではセミコロンを使用し、UNIXプラットフォームではコロンを使用するなどです。
|
||||
.SS "インクルード・ファイルに対するバインディングの発行"
|
||||
コンパイラは、このファイルを検索し、インクルード・リストを読み込みます。この例では、ディレクトリの間の区切り文字はセミコロン(;)になっています。この区切り文字は、プラットフォームによって異なります。Windowsプラットフォームではセミコロンを使用し、Solaris、LinuxおよびOS Xプラットフォームではコロンを使用します。
|
||||
.SS "インクルード・ファイルに対するバインディングの発行"
|
||||
.PP
|
||||
デフォルトでは、コマンドラインに指定した\fIidl\fRファイルで定義されているインタフェースや構造体などについてのみ、Javaバインディングが生成されます。インクルードされたファイルで定義されている型については生成されません。たとえば、次の2つの\fIidl\fRファイルについて考えてみます。
|
||||
デフォルトでは、コマンド行に指定した\fBidl\fRファイルで定義されているインタフェースや構造体などについてのみ、Javaバインディングが生成されます。インクルードされたファイルで定義されている型については生成されません。たとえば、次の2つの\fBidl\fRファイルについて考えてみます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
My\&.idl file:
|
||||
\fBMy\&.idl file:\fR
|
||||
\fB \fR
|
||||
\fB#include <MyOther\&.idl>\fR
|
||||
\fBinterface My\fR
|
||||
\fB{\fR
|
||||
\fB};\fR
|
||||
\fB \fR
|
||||
\fBMyOther\&.idl file:\fR
|
||||
\fB \fR
|
||||
\fBinterface MyOther\fR
|
||||
\fB{\fR
|
||||
\fB};\fR
|
||||
|
||||
#include <MyOther\&.idl>
|
||||
interface My
|
||||
{
|
||||
};
|
||||
|
||||
MyOther\&.idl file:
|
||||
|
||||
interface MyOther
|
||||
{
|
||||
};
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
デフォルトのルールに関して警告があります。グローバル・スコープに表示される\fI#include\fR文は、前述のとおりに処理されます。これらの\fI#include\fR文は、インポート文と見なすことができます。囲まれたスコープ内に表示される\fI#include\fR文は、本当の意味での\fI#include\fR文として処理されます。つまり、インクルードされたファイルにあるコードが、元のファイルにそのまま表示されているかのように処理され、それに対してJavaバインディングが発行されます。次はその例です。
|
||||
デフォルトのルールに関して警告があります。グローバル・スコープに表示される\fB#include\fR文は、前述のとおりに処理されます。これらの\fB#include\fR文は、インポート文と見なすことができます。囲まれたスコープ内に表示される\fB#include\fR文は、本当の意味での\fB#include\fR文として処理されます。つまり、インクルードされたファイルにあるコードが、元のファイルにそのまま表示されているかのように処理され、それに対してJavaバインディングが発行されます。次はその例です。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
My\&.idl file:
|
||||
\fBMy\&.idl file:\fR
|
||||
\fB \fR
|
||||
\fB#include <MyOther\&.idl>\fR
|
||||
\fBinterface My\fR
|
||||
\fB{\fR
|
||||
\fB #include <Embedded\&.idl>\fR
|
||||
\fB};\fR
|
||||
\fB \fR
|
||||
\fBMyOther\&.idl file:\fR
|
||||
\fB \fR
|
||||
\fBinterface MyOther\fR
|
||||
\fB{\fR
|
||||
\fB};\fR
|
||||
\fB \fR
|
||||
\fBEmbedded\&.idl\fR
|
||||
\fB \fR
|
||||
\fBenum E {one, two, three};\fR
|
||||
|
||||
#include <MyOther\&.idl>
|
||||
interface My
|
||||
{
|
||||
#include <Embedded\&.idl>
|
||||
};
|
||||
|
||||
MyOther\&.idl file:
|
||||
|
||||
interface MyOther
|
||||
{
|
||||
};
|
||||
|
||||
Embedded\&.idl
|
||||
|
||||
enum E {one, two, three};
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fI idlj My\&.idl \fRを実行して、Javaファイルの次のリストを生成します。インポート文とみなされる\fI#include\fRに定義されていたため、\fIMyOther\&.java\fRは生成されませんでした。ただし、本当の意味での\fI#include\fRで定義されていたため、\fIE\&.java\fRは生成されました。\fIEmbedded\&.idl\fRファイルが\fIMy\fRインタフェースのスコープ内にインクルードされているため、\fIMy\fRのスコープ内(つまり、\fIMyPackage\fR内)に生成されています。\fI\-emitAll\fRフラグを使用した場合、インクルードされたすべてのファイルにあるすべての型が発行されます。
|
||||
\fB idlj My\&.idl \fRを実行して、Javaファイルの次のリストを生成します。インポート文とみなされる\fB#include\fRに定義されていたため、\fBMyOther\&.java\fRは生成されませんでした。ただし、本当の意味での\fB#include\fRで定義されていたため、\fBE\&.java\fRは生成されました。\fBEmbedded\&.idl\fRファイルが\fBMy\fRインタフェースのスコープ内にインクルードされているため、\fBMy\fRのスコープ内(つまり、\fBMyPackage\fR内)に生成されています。\fB\-emitAll\fRフラグを使用した場合、インクルードされたすべてのファイルにあるすべての型が発行されます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\&./MyHolder\&.java
|
||||
\&./MyHelper\&.java
|
||||
\&./_MyStub\&.java
|
||||
\&./MyPackage
|
||||
\&./MyPackage/EHolder\&.java
|
||||
\&./MyPackage/EHelper\&.java
|
||||
\&./MyPackage/E\&.java
|
||||
\&./My\&.java
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SS "パッケージの接頭辞の挿入"
|
||||
.PP
|
||||
ABCという名前の会社のために作業していて、次のようなIDLファイルを構築したとしましょう。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
Widgets\&.idl file:
|
||||
\fB\&./MyHolder\&.java\fR
|
||||
\fB\&./MyHelper\&.java\fR
|
||||
\fB\&./_MyStub\&.java\fR
|
||||
\fB\&./MyPackage\fR
|
||||
\fB\&./MyPackage/EHolder\&.java\fR
|
||||
\fB\&./MyPackage/EHelper\&.java\fR
|
||||
\fB\&./MyPackage/E\&.java\fR
|
||||
\fB\&./My\&.java\fR
|
||||
|
||||
module Widgets
|
||||
{
|
||||
interface W1 {\&.\&.\&.};
|
||||
interface W2 {\&.\&.\&.};
|
||||
};
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SS "パッケージの接頭辞の挿入"
|
||||
.PP
|
||||
IDL\-to\-Javaコンパイラを介してこのファイルを実行した場合、W1およびW2に対するJavaバインディングは、\fIWidgets\fRパッケージ内に格納されます。業界の慣例によると、会社のパッケージは、\fIcom\&.<company name>\fRという名前のパッケージ内に置くことになっています。この慣例に従うには、パッケージ名を\fIcom\&.abc\&.Widgets\fRにする必要があります。このパッケージ接頭辞をWidgetsモジュールに付加するには、次のコマンドを実行します。
|
||||
ABCという名前の会社のために作業していて、次のようなIDLファイルを構築したとしましょう。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
idlj \-pkgPrefix Widgets com\&.abc Widgets\&.idl
|
||||
\fBWidgets\&.idl file:\fR
|
||||
\fB \fR
|
||||
\fBmodule Widgets\fR
|
||||
\fB{\fR
|
||||
\fB interface W1 {\&.\&.\&.};\fR
|
||||
\fB interface W2 {\&.\&.\&.};\fR
|
||||
\fB};\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
Widgets\&.idlをインクルードしているIDLファイルがある場合は、そのコマンドにも\fI\-pkgPrefix\fRフラグが必要です。このフラグを指定しないと、そのIDLファイルは、\fIcom\&.abc\&.Widgets\fRパッケージではなく、\fIWidgets\fRパッケージを検索することになります。
|
||||
IDL\-to\-Javaコンパイラを介してこのファイルを実行した場合、W1およびW2に対するJavaバインディングは、\fBWidgets\fRパッケージ内に格納されます。業界の慣例によると、会社のパッケージは、\fBcom\&.<company name>\fRという名前のパッケージ内に置くことになっています。この慣例に従うには、パッケージ名を\fBcom\&.abc\&.Widgets\fRにする必要があります。このパッケージ接頭辞をWidgetsモジュールに付加するには、次のコマンドを実行します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBidlj \-pkgPrefix Widgets com\&.abc Widgets\&.idl\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
接頭辞が必要なパッケージがいくつもある場合は、前述のidl\&.configファイルで接頭辞を指定するのが簡単です。パッケージ接頭辞の各行は、\fIPkgPrefix\&.<type>=<prefix>\fRの形式である必要があります。前述の例の行では、\fIPkgPrefix\&.Widgets=com\&.abc\fRになります。このオプションは、リポジトリIDには影響しません。
|
||||
.SS "コンパイル前のシンボルの定義"
|
||||
Widgets\&.idlをインクルードしているIDLファイルがある場合は、そのコマンドにも\fB\-pkgPrefix\fRフラグが必要です。このフラグを指定しないと、そのIDLファイルは、\fBcom\&.abc\&.Widgets\fRパッケージではなく、\fBWidgets\fRパッケージを検索することになります。
|
||||
.PP
|
||||
コンパイル用のシンボルがIDLファイル内で定義されていない場合は、そのシンボルを定義する必要があります。これは、たとえば、バインディング内にデバッグ・コードを組み入れるときに使用します。コマンド\fIidlj \-d MYDEF My\&.idl \fRは、My\&.idl内に行\fI#define MYDEF\fRを配置した場合と同等になります。
|
||||
.SS "既存のバインディングの保持"
|
||||
接頭辞が必要なパッケージがいくつもある場合は、前述のidl\&.configファイルで接頭辞を指定するのが簡単です。各パッケージの接頭辞行は、\fBPkgPrefix\&.<type>=<prefix>\fRの形式にする必要があります。前述の例の行では、\fBPkgPrefix\&.Widgets=com\&.abc\fRになります。このオプションは、リポジトリIDには影響しません。
|
||||
.SS "コンパイル前のシンボルの定義"
|
||||
.PP
|
||||
Javaバインディング・ファイルがすでに存在する場合は、\fI\-keep\fRフラグを指定すると、コンパイラによる上書きを回避できます。デフォルトでは、すでに存在するかどうかにかかわらず、すべてのファイルが生成されます。これらのファイルをカスタマイズした場合(ただし、それらの内容が正確であるとき以外はカスタマイズは避ける)、\fI\-keep\fRオプションは有用です。コマンド\fIidlj \-keep My\&.idl\fRは、すでに存在しないすべてのクライアント側バインディングを発行します。
|
||||
.SS "コンパイルの進捗状況の表示"
|
||||
コンパイル用のシンボルがIDLファイル内で定義されていない場合は、そのシンボルを定義する必要があります。これは、たとえば、バインディング内にデバッグ・コードを組み入れるときに使用します。コマンド\fBidlj \-d MYDEF My\&.idl \fRは、My\&.idl内に行\fB#define MYDEF\fRを配置した場合と同等になります。
|
||||
.SS "既存のバインディングの保持"
|
||||
.PP
|
||||
IDL\-to\-Javaコンパイラは、実行の各段階で状態メッセージを生成します。\fI\-v\fRオプションを使用して、\fIidlj \-v My\&.idl\fRのような冗長モードをアクティブ化します。
|
||||
Javaバインディング・ファイルがすでに存在する場合は、\fB\-keep\fRフラグを指定すると、コンパイラによる上書きを回避できます。デフォルトでは、すでに存在するかどうかにかかわらず、すべてのファイルが生成されます。これらのファイルをカスタマイズした場合(ただし、それらの内容が正確であるとき以外はカスタマイズは避ける)、\fB\-keep\fRオプションは有用です。コマンド\fBidlj \-keep My\&.idl\fRは、すでに存在しないすべてのクライアント側バインディングを発行します。
|
||||
.SS "コンパイルの進捗状況の表示"
|
||||
.PP
|
||||
デフォルトでは、コンパイラは冗長モードでは実行されません。
|
||||
.SS "バージョン情報の表示"
|
||||
IDL\-to\-Javaコンパイラは、実行の各段階で状態メッセージを生成します。\fB\-v\fRオプションを使用して、\fBidlj \-v My\&.idl\fRのような冗長モードをアクティブ化します。
|
||||
.PP
|
||||
IDL\-to\-Javaコンパイラのビルド・バージョンを表示するには、コマンドライン\fIidlj \-version\fRで\fI\-version\fRオプションを指定します。
|
||||
デフォルトでは、コンパイラは冗長モードでは実行されません。
|
||||
.SS "バージョン情報の表示"
|
||||
.PP
|
||||
バージョン情報は、コンパイラによって生成されたバインディング内にも書き込まれています。このオプションをコマンドラインに指定すると、それ以外のオプションを指定しても、すべて無視されます。
|
||||
.SH "オプション"
|
||||
IDL\-to\-Javaコンパイラのビルド・バージョンを表示するには、コマンド行\fBidlj \-version\fRで\fB\-version\fRオプションを指定します。
|
||||
.PP
|
||||
バージョン情報は、コンパイラによって生成されたバインディング内にも書き込まれています。このオプションをコマンド行に指定すると、それ以外のオプションを指定しても、すべて無視されます。
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\-d \fIsymbol\fR
|
||||
.RS 4
|
||||
このオプションは、IDLファイルに次のような行を追加した場合と等価です。
|
||||
このオプションは、IDLファイルに次のような行を追加した場合と等価です。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
#define \fIsymbol\fR
|
||||
\fB#define \fR\fB\fIsymbol\fR\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -444,111 +436,113 @@ IDL\-to\-Javaコンパイラのビルド・バージョンを表示するには
|
||||
.PP
|
||||
\-demitAll
|
||||
.RS 4
|
||||
\fI#include\fRファイル内で定義されているものも含めて、すべての型を発行します。
|
||||
\fB#include\fRファイル内で定義されているものも含めて、すべての型を発行します。
|
||||
.RE
|
||||
.PP
|
||||
\-fside
|
||||
.RS 4
|
||||
発行するバインディングを定義します。\fIside\fRパラメータには、\fIclient\fR、\fIserver\fR、\fIserverTIE\fR、\fIall\fRまたは\fIallTIE\fRを指定できます。\fI\-fserverTIE\fRまたは\fI\-fallTIE\fRオプションを指定すると、委譲モデル・スケルトンが発行されます。フラグを指定しない場合、\fI\-fclient\fRにデフォルト設定されます。
|
||||
発行するバインディングを定義します。\fBside\fRパラメータには、\fBclient\fR、\fBserver\fR、\fBserverTIE\fR、\fBall\fRまたは\fBallTIE\fRを指定できます。\fB\-fserverTIE\fRまたは\fB\-fallTIE\fRオプションを指定すると、委譲モデル・スケルトンが発行されます。フラグを指定しない場合、\fB\-fclient\fRにデフォルト設定されます。
|
||||
.RE
|
||||
.PP
|
||||
\-i \fIinclude\-path\fR
|
||||
.RS 4
|
||||
デフォルトでは、インクルード・ファイルは現在のディレクトリから検索されます。このオプションを指定すると、他のディレクトリを追加できます。
|
||||
デフォルトでは、インクルード・ファイルは現在のディレクトリから検索されます。このオプションを指定すると、他のディレクトリを追加できます。
|
||||
.RE
|
||||
.PP
|
||||
\-i \fIkeep\fR
|
||||
.RS 4
|
||||
生成されるファイルがすでに存在している場合は、そのファイルが上書きされません。デフォルトでは、上書きされます。
|
||||
生成されるファイルがすでに存在している場合は、そのファイルが上書きされません。デフォルトでは、上書きされます。
|
||||
.RE
|
||||
.PP
|
||||
\-noWarn
|
||||
.RS 4
|
||||
警告メッセージを表示しないようにします。
|
||||
警告メッセージを表示しないようにします。
|
||||
.RE
|
||||
.PP
|
||||
\-oldImplBase
|
||||
.RS 4
|
||||
1\&.4より前のJDK ORBと互換性のあるスケルトンを生成します。デフォルトでは、POA継承モデルのサーバー側バインディングが生成されます。このオプションを指定すると、\fIImplBase\fR継承モデルのクラスであるサーバー側バインディングが生成されるので、以前のリリースのJavaプログラミング言語との下位互換性が得られます。
|
||||
1\&.4より前のJDK ORBと互換性のあるスケルトンを生成します。デフォルトでは、POA継承モデルのサーバー側バインディングが生成されます。このオプションを指定すると、\fBImplBase\fR継承モデルのクラスであるサーバー側バインディングが生成されるので、以前のリリースのJavaプログラミング言語との後方互換性が得られます。
|
||||
.RE
|
||||
.PP
|
||||
\-pkgPrefix \fItype\fR \fIprefix\fR
|
||||
.RS 4
|
||||
\fItype\fRがファイル・スコープで検出された場合は、その型に対して生成されるすべてのファイルについて、生成されるJavaパッケージ名に\fIprefix\fRという接頭辞が付加されます。typeは、トップレベル・モジュールの単純名か、どのモジュールよりも外側で定義されたIDL型の単純名のどちらかです。
|
||||
\fBtype\fRがファイル・スコープで検出された場合は、その型に対して生成されるすべてのファイルについて、生成されるJavaパッケージ名に\fBprefix\fRという接頭辞が付加されます。typeは、トップレベル・モジュールの単純名か、どのモジュールよりも外側で定義されたIDL型の単純名のどちらかです。
|
||||
.RE
|
||||
.PP
|
||||
\-pkgTranslate \fItype\fR \fIpackage\fR
|
||||
.RS 4
|
||||
識別子の中にモジュール名typeが検出されると、生成されるJavaパッケージ内のすべてのファイルについて、識別子の中のその名前がpackageで置き換えられます。最初に\fIpkgPrefix\fRの変更が行われます。typeの値は、トップレベルのモジュールの単純名、またはすべてのモジュールの外部で定義されたIDL型の単純名で、完全なパッケージ名に正確に一致する必要があります。
|
||||
識別子の中にモジュール名typeが検出されると、生成されるJavaパッケージ内のすべてのファイルについて、識別子の中のその名前がpackageで置き換えられます。最初に\fBpkgPrefix\fRの変更が行われます。typeの値は、トップレベルのモジュールの単純名、またはすべてのモジュールの外部で定義されたIDL型の単純名で、完全なパッケージ名に正確に一致する必要があります。
|
||||
.sp
|
||||
複数の変換が識別子に一致する場合、次の例に示すように、最も長い一致が選択されます。
|
||||
複数の変換が識別子に一致する場合、次の例に示すように、最も長い一致が選択されます。
|
||||
.sp
|
||||
\fBコマンド\fR:
|
||||
\fBコマンド\fR:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
pkgTranslate type pkg \-pkgTranslate type2\&.baz pkg2\&.fizz
|
||||
\fBpkgTranslate type pkg \-pkgTranslate type2\&.baz pkg2\&.fizz\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
\fB結果の変換\fR:
|
||||
\fB結果の変換\fR:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
type => pkg
|
||||
type\&.ext => pkg\&.ext
|
||||
type\&.baz => pkg2\&.fizz
|
||||
type2\&.baz\&.pkg => pkg2\&.fizz\&.pkg
|
||||
\fBtype => pkg\fR
|
||||
\fBtype\&.ext => pkg\&.ext\fR
|
||||
\fBtype\&.baz => pkg2\&.fizz\fR
|
||||
\fBtype2\&.baz\&.pkg => pkg2\&.fizz\&.pkg\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
パッケージ名\fIorg\fR、\fIorg\fR\&.o\fImg\fR、または\fIorg\&.omg\fRのサブパッケージは、変換できません。これらのパッケージ名を変換しようとすると、互換性のないコードが生成され、\fI\-pkgTranslate\fRの後の最初の引数としてそれらのパッケージを使用すると、エラーとして扱われます。
|
||||
パッケージ名\fBorg\fR、\fBorg\fR\&.o\fBmg\fR、または\fBorg\&.omg\fRのサブパッケージは、変換できません。これらのパッケージ名を変換しようとすると、互換性のないコードが生成され、\fB\-pkgTranslate\fRの後の最初の引数としてそれらのパッケージを使用すると、エラーとして扱われます。
|
||||
.RE
|
||||
.PP
|
||||
\-skeletonName \fIxxx%yyy\fR
|
||||
.RS 4
|
||||
\fIxxx%yyy\fRが、スケルトンに名前を付けるパターンとして使用されます。デフォルトは次のとおりです。\fIPOA\fRベース・クラスの場合は\fI%POA\fR
|
||||
(\fI\-fserver\fRまたは\fI\-fall\fR)、\fIoldImplBase\fRクラスの場合は\fI_%ImplBase\fR
|
||||
(\-\fIoldImplBase\fR)および(\fI\-fserver\fRまたは\fI\-fall\fR))。
|
||||
\fBxxx%yyy\fRが、スケルトンに名前を付けるパターンとして使用されます。デフォルトは次のとおりです。\fBPOA\fRベース・クラスの場合は\fB%POA\fR
|
||||
(\fB\-fserver\fRまたは\fB\-fall\fR)、\fBoldImplBase\fRクラスの場合は\fB_%ImplBase\fR
|
||||
(\-\fBoldImplBase\fR)および(\fB\-fserver\fRまたは\fB\-fall\fR))。
|
||||
.RE
|
||||
.PP
|
||||
\-td \fIdir\fR
|
||||
.RS 4
|
||||
出力ディレクトリとして、現在のディレクトリではなく、\fIdir\fRが使用されます。
|
||||
出力ディレクトリとして、現在のディレクトリではなく、\fIdir\fRが使用されます。
|
||||
.RE
|
||||
.PP
|
||||
\-tieName \fIxxx%yyy\fR
|
||||
.RS 4
|
||||
パターンに従って、\fIxxx%yyy\fRを使用します。デフォルトは次のとおりです。\fIPOA\fRベース・クラスの場合は\fI%POA\fR
|
||||
(\fI\-fserverTieまたは\-fallTie\fR)、\fIoldImplBase\fR
|
||||
tieクラスの場合は\fI_%Tie\fR
|
||||
(\-\fIoldImplBase\fR)および(\fI\-fserverTie\fRまたは\fI\-fallTie\fR))。
|
||||
パターンに従って、\fBxxx%yyy\fRを使用します。デフォルトは次のとおりです。\fBPOA\fRベース・クラスの場合は\fB%POA\fR
|
||||
(\fB\-fserverTieまたは\-fallTie\fR)、\fBoldImplBase\fR
|
||||
tieクラスの場合は\fB_%Tie\fR
|
||||
(\-\fBoldImplBase\fR)および(\fB\-fserverTie\fRまたは\fB\-fallTie\fR))。
|
||||
.RE
|
||||
.PP
|
||||
\-nowarn、\-verbose
|
||||
\-nowarn、\-verbose
|
||||
.RS 4
|
||||
リリース情報を表示して終了します。
|
||||
リリース情報を表示して終了します。
|
||||
.RE
|
||||
.PP
|
||||
\-version
|
||||
.RS 4
|
||||
リリース情報を表示して終了します。
|
||||
リリース情報を表示して終了します。
|
||||
.RE
|
||||
.SH "制限事項"
|
||||
.SH "制限事項"
|
||||
.PP
|
||||
グローバル・スコープ内のエスケープされた識別子は、IDLプリミティブ型の\fIObject\fRまたは\fIValueBase\fRと同じ綴りにしないでください。これは、シンボル表がこれらの識別子でプリロードされているためです。これらの再定義を許可すると、元の定義が上書きされます。これは、おそらく恒久的な制約です。
|
||||
グローバル・スコープ内のエスケープされた識別子は、IDLプリミティブ型の\fBObject\fRまたは\fBValueBase\fRと同じ綴りにしないでください。これは、シンボル表がこれらの識別子でプリロードされているためです。これらの再定義を許可すると、元の定義が上書きされます。これは、おそらく恒久的な制約です。
|
||||
.PP
|
||||
\fIfixed\fRというIDL型はサポートされていません。
|
||||
.SH "既知の問題"
|
||||
\fBfixed\fRというIDL型はサポートされていません。
|
||||
.SH "既知の問題"
|
||||
.PP
|
||||
グローバル識別子についてインポートが生成されません。予期されないローカル\fIimpl\fRオブジェクトを呼び出すと、例外を受け取ります。しかし、その原因は、\fIServerDelegate\fR
|
||||
DSIコード内の\fINullPointerException\fRにあるようです。
|
||||
グローバル識別子についてインポートが生成されません。予期されないローカル\fBimpl\fRオブジェクトを呼び出すと、例外を受け取ります。しかし、その原因は、\fBServerDelegate\fR
|
||||
DSIコード内の\fBNullPointerException\fRにあるようです。
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: jar
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: 基本ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "jar" "1" "2013年11月21日" "JDK 8" "基本ツール"
|
||||
.\" Title: jar
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: 基本ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "jar" "1" "2013年11月21日" "JDK 8" "基本ツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,135 +50,143 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
jar \- Java Archive (JAR)ファイルを操作します。
|
||||
.SH "概要"
|
||||
JARファイルの作成
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjar c\fR[\fIefmMnv0\fR] [\fIentrypoint\fR] [\fIjarfile\fR] [\fImanifest\fR] [\fI\-C\fR \fIdir\fR] \fIfile\fR \&.\&.\&. [\-J\fIoption\fR \&.\&.\&.] [@\fIarg\-file\fR \&.\&.\&.]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
JARファイルの更新
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjar u\fR[\fIefmMnv0\fR] [\fIentrypoint\fR] [\fIjarfile\fR] [\fImanifest\fR] [\fI\-C\fR \fIdir\fR] \fIfile\fR \&.\&.\&. [\-J\fIoption\fR \&.\&.\&.] [@\fIarg\-file\fR \&.\&.\&.]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
JARファイルの抽出
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjar\fR \fIx\fR[\fIvf\fR] [\fIjarfile\fR] \fIfile\fR \&.\&.\&. [\-J\fIoption\fR \&.\&.\&.] [@\fIarg\-file\fR \&.\&.\&.]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
JARファイルのコンテンツのリスト
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjar\fR \fIt\fR[\fIvf\fR] [\fIjarfile\fR] \fIfile\fR \&.\&.\&. [\-J\fIoption\fR \&.\&.\&.] [@\fIarg\-file\fR \&.\&.\&.]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
JARファイルへの索引の追加
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjar\fR \fIi\fR \fIjarfile\fR [\-J\fIoption\fR \&.\&.\&.] [@\fIarg\-file\fR \&.\&.\&.]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "説明"
|
||||
.SH "名前"
|
||||
jar \- Java Archive (JAR)ファイルを操作します。
|
||||
.SH "概要"
|
||||
.PP
|
||||
\fIjar\fRコマンドは、ZIPおよびZLIB圧縮形式に基づく汎用のアーカイブおよび圧縮ツールです。ただし、\fIjar\fRコマンドは、主にいくつかのJavaアプレットやアプリケーションを単一のアーカイブにパッケージ化するように設計されました。アプレットやアプリケーションのコンポーネント(ファイル、イメージ、およびサウンド)が1つのアーカイブに結合されていると、Javaエージェント(ブラウザなど)は、それらのコンポーネントを1回のHTTPトランザクションでダウンロードすることができ、コンポーネントごとに新しい接続が不要になります。これにより、ダウンロード時間が大幅に短縮されます。また、\fIjar\fRコマンドはファイルの圧縮も行うため、ダウンロード時間がさらに短縮されます。また、\fIjar\fRコマンドによって、ファイル内の個々のエントリにアプレット作成者による署名を書き込めるため、配布元の認証が可能になります。JARファイルは、圧縮されているかどうかにかかわらず、クラス・パスのエントリとして使用できます。
|
||||
JARファイルの作成
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBjar c\fR[\fBefmMnv0\fR] [\fIentrypoint\fR] [\fIjarfile\fR] [\fImanifest\fR] [\fB\-C\fR \fIdir\fR] \fIfile\fR \&.\&.\&. [\-J\fIoption\fR \&.\&.\&.] [@\fIarg\-file\fR \&.\&.\&.]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fIjar\fRコマンドの構文は、\fItar\fRコマンドの構文に似ています。必須の\fI操作の引数\fRの1つで定義された複数の操作モードがあります。他の引数は、操作の動作を変更する\fIオプション\fR、または操作を実行するために必要な\fIオペランド\fRを使用します。
|
||||
.SH "操作の引数"
|
||||
JARファイルの更新
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBjar u\fR[\fBefmMnv0\fR] [\fIentrypoint\fR] [\fIjarfile\fR] [\fImanifest\fR] [\fB\-C\fR \fIdir\fR] \fIfile\fR \&.\&.\&. [\-J\fIoption\fR \&.\&.\&.] [@\fIarg\-file\fR \&.\&.\&.]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fIjar\fRコマンドを使用する場合は、次の操作の引数のいずれかを指定して実行される操作を選択する必要があります。コマンドラインで他の1文字のオプションと混在させることができますが、通常、操作の引数は指定される最初の引数です。
|
||||
JARファイルの抽出
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBjar\fR \fBx\fR[\fBvf\fR] [\fIjarfile\fR] \fIfile\fR \&.\&.\&. [\-J\fIoption\fR \&.\&.\&.] [@\fIarg\-file\fR \&.\&.\&.]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
JARファイルのコンテンツのリスト
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBjar\fR \fBt\fR[\fBvf\fR] [\fIjarfile\fR] \fIfile\fR \&.\&.\&. [\-J\fIoption\fR \&.\&.\&.] [@\fIarg\-file\fR \&.\&.\&.]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
JARファイルへの索引の追加
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBjar\fR \fBi\fR \fIjarfile\fR [\-J\fIoption\fR \&.\&.\&.] [@\fIarg\-file\fR \&.\&.\&.]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fBjar\fRコマンドは、ZIPおよびZLIB圧縮形式に基づく汎用のアーカイブおよび圧縮ツールです。ただし、\fBjar\fRコマンドは、主にいくつかのJavaアプレットやアプリケーションを単一のアーカイブにパッケージ化するように設計されました。アプレットやアプリケーションのコンポーネント(ファイル、イメージ、およびサウンド)が1つのアーカイブに結合されていると、Javaエージェント(ブラウザなど)は、それらのコンポーネントを1回のHTTPトランザクションでダウンロードすることができ、コンポーネントごとに新しい接続が不要になります。これにより、ダウンロード時間が大幅に短縮されます。また、\fBjar\fRコマンドはファイルの圧縮も行うため、ダウンロード時間がさらに短縮されます。また、\fBjar\fRコマンドによって、ファイル内の個々のエントリにアプレット作成者による署名を書き込めるため、配布元の認証が可能になります。JARファイルは、圧縮されているかどうかにかかわらず、クラス・パスのエントリとして使用できます。
|
||||
.PP
|
||||
\fBjar\fRコマンドの構文は、\fBtar\fRコマンドの構文に似ています。必須の\fI操作の引数\fRの1つで定義された複数の操作モードがあります。他の引数は、操作の動作を変更する\fIオプション\fR、または操作を実行するために必要な\fIオペランド\fRを使用します。
|
||||
.SH "操作の引数"
|
||||
.PP
|
||||
\fBjar\fRコマンドを使用する場合は、次の操作の引数のいずれかを指定して実行される操作を選択する必要があります。コマンド行で他の1文字のオプションと混在させることができますが、通常、操作の引数は指定される最初の引数です。
|
||||
.PP
|
||||
c
|
||||
.RS 4
|
||||
新しいJARアーカイブを作成します。
|
||||
新しいJARアーカイブを作成します。
|
||||
.RE
|
||||
.PP
|
||||
i
|
||||
.RS 4
|
||||
JARアーカイブの索引情報を生成します。
|
||||
JARアーカイブの索引情報を生成します。
|
||||
.RE
|
||||
.PP
|
||||
t
|
||||
.RS 4
|
||||
JARアーカイブのコンテンツをリストします。
|
||||
JARアーカイブのコンテンツをリストします。
|
||||
.RE
|
||||
.PP
|
||||
u
|
||||
.RS 4
|
||||
JARアーカイブを更新します。
|
||||
JARアーカイブを更新します。
|
||||
.RE
|
||||
.PP
|
||||
x
|
||||
.RS 4
|
||||
JARアーカイブからファイルを抽出します。
|
||||
JARアーカイブからファイルを抽出します。
|
||||
.RE
|
||||
.SH "オプション"
|
||||
.SH "オプション"
|
||||
.PP
|
||||
次のオプションを使用して、JARファイルを作成、更新、抽出または表示する方法をカスタマイズします。
|
||||
次のオプションを使用して、JARファイルを作成、更新、抽出または表示する方法をカスタマイズします。
|
||||
.PP
|
||||
e
|
||||
.RS 4
|
||||
\fIentrypoint\fRオペランドで指定されるクラスを、実行可能JARファイルにバンドルされるスタンドアロンJavaアプリケーションのエントリ・ポイントに設定します。このオプションを使用すると、マニフェスト・ファイル内の\fIMain\-Class\fR属性値が作成またはオーバーライドされます。\fIe\fRオプションは、JARファイルの作成時(\fIc\fR)または更新時(\fIu\fR)に使用できます。
|
||||
\fIentrypoint\fRオペランドで指定されるクラスを、実行可能JARファイルにバンドルされるスタンドアロンJavaアプリケーションのエントリ・ポイントに設定します。このオプションを使用すると、マニフェスト・ファイル内の\fBMain\-Class\fR属性値が作成またはオーバーライドされます。\fBe\fRオプションは、JARファイルの作成時(\fBc\fR)または更新時(\fBu\fR)に使用できます。
|
||||
.sp
|
||||
たとえば、次のコマンドでは、\fIMain\&.jar\fRアーカイブが\fIMain\&.class\fRファイルとともに作成されますが、その際、マニフェスト内の\fIMain\-Class\fR属性値は\fIMain\fRに設定されます。
|
||||
たとえば、次のコマンドでは、\fBMain\&.jar\fRアーカイブが\fBMain\&.class\fRファイルとともに作成されますが、その際、マニフェスト内の\fBMain\-Class\fR属性値は\fBMain\fRに設定されます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jar cfe Main\&.jar Main Main\&.class
|
||||
\fBjar cfe Main\&.jar Main Main\&.class\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
Java Runtime Environment (JRE)は、次のコマンドを実行して、このアプリケーションを直接呼び出すことができます。
|
||||
Java Runtime Environment (JRE)は、次のコマンドを実行して、このアプリケーションを直接呼び出すことができます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
java \-jar Main\&.jar
|
||||
\fBjava \-jar Main\&.jar\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
あるパッケージ内にエントリ・ポイントのクラス名が含まれている場合、ドット(\&.)またはスラッシュ(/)のいずれかを区切り文字として使用できます。たとえば、\fIMain\&.class\fRが\fImydir\fRという名前のパッケージに含まれている場合、エントリ・ポイントは次のいずれかの方法で指定できます。
|
||||
あるパッケージ内にエントリ・ポイントのクラス名が含まれている場合、ドット(\&.)またはスラッシュ(/)のいずれかを区切り文字として使用できます。たとえば、\fBMain\&.class\fRが\fBmydir\fRという名前のパッケージに含まれている場合、エントリ・ポイントは次のいずれかの方法で指定できます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jar \-cfe Main\&.jar mydir/Main mydir/Main\&.class
|
||||
jar \-cfe Main\&.jar mydir\&.Main mydir/Main\&.class
|
||||
\fBjar \-cfe Main\&.jar mydir/Main mydir/Main\&.class\fR
|
||||
\fBjar \-cfe Main\&.jar mydir\&.Main mydir/Main\&.class\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -190,15 +200,15 @@ jar \-cfe Main\&.jar mydir\&.Main mydir/Main\&.class
|
||||
.nr an-break-flag 1
|
||||
.br
|
||||
.ps +1
|
||||
\fBNote\fR
|
||||
\fB注記\fR
|
||||
.ps -1
|
||||
.br
|
||||
.TS
|
||||
allbox tab(:);
|
||||
l.
|
||||
T{
|
||||
注意
|
||||
特定のマニフェストにも\fIMain\-Class\fR属性が含まれている場合に\fIm\fRオプションと\fIe\fRオプションの両方を同時に指定すると、\fIMain\-Class\fRの指定があいまいになります。このあいまいさによってエラーが発生し、\fIjar\fRコマンドの作成や更新の操作が終了します。
|
||||
注意
|
||||
特定のマニフェストにも\fBMain\-Class\fR属性が含まれている場合に\fBm\fRオプションと\fBe\fRオプションの両方を同時に指定すると、\fBMain\-Class\fRの指定があいまいになります。このあいまいさによってエラーが発生し、\fBjar\fRコマンドの作成や更新の操作が終了します。
|
||||
T}
|
||||
.TE
|
||||
.sp 1
|
||||
@ -208,75 +218,77 @@ T}
|
||||
.PP
|
||||
f
|
||||
.RS 4
|
||||
\fIjarfile\fRオペランドで指定されたファイルを、作成(\fIc\fR)、更新(\fIu\fR)、抽出(\fIx\fR)または表示(\fIt\fR)されるJARファイルの名前に設定します。\fIf\fRオプションおよび\fIjarfile\fRオペランドを省略すると、\fIjar\fRコマンドに、\fIstdin\fRからのJARファイル名を受け入れるか(\fIx\fRおよび\fIt\fRの場合)、JARファイルを\fIstdout\fRに送信すること(\fIc\fRおよび\fIu\fRの場合)が指示されます。
|
||||
\fIjarfile\fRオペランドで指定されたファイルを、作成(\fBc\fR)、更新(\fBu\fR)、抽出(\fBx\fR)または表示(\fBt\fR)されるJARファイルの名前に設定します。\fBf\fRオプションおよび\fIjarfile\fRオペランドを省略すると、\fBjar\fRコマンドに、\fBstdin\fRからのJARファイル名を受け入れるか(\fBx\fRおよび\fBt\fRの場合)、JARファイルを\fBstdout\fRに送信すること(\fBc\fRおよび\fBu\fRの場合)が指示されます。
|
||||
.RE
|
||||
.PP
|
||||
m
|
||||
.RS 4
|
||||
(\fIMETA\-INF/MANIFEST\&.MF\fRのアーカイブにある)
|
||||
\fIjar\fRコマンドのマニフェスト・ファイルの\fImanifest\fRオペランドで指定されたファイルから、属性の名前と値のペアを含めます。\fIjar\fRコマンドは、同じ名前のエントリがすでに存在する場合を除き、属性の名前と値をJARファイルに追加します。同じ名前のエントリがすでに存在する場合、\fIjar\fRコマンドは属性の値を更新します。\fIm\fRオプションは、JARファイルの作成時(\fIc\fR)または更新時(\fIu\fR)に使用できます。
|
||||
(\fBMETA\-INF/MANIFEST\&.MF\fRのアーカイブにある)
|
||||
\fBjar\fRコマンドのマニフェスト・ファイルの\fBmanifest\fRオペランドで指定されたファイルから、属性の名前と値のペアを含めます。\fBjar\fRコマンドは、同じ名前のエントリがすでに存在する場合を除き、属性の名前と値をJARファイルに追加します。同じ名前のエントリがすでに存在する場合、\fBjar\fRコマンドは属性の値を更新します。\fBm\fRオプションは、JARファイルの作成時(\fBc\fR)または更新時(\fBu\fR)に使用できます。
|
||||
.sp
|
||||
デフォルトのマニフェスト・ファイルには含まれないマニフェストに、特別な目的の名前\-値の属性ペアを追加できます。たとえば、ベンダー情報、リリース情報、パッケージ・シーリングを指定する属性、またはJARにバンドルされたアプリケーションを実行可能にするための属性を追加できます。\fIm\fRオプションの使用例は、http://docs\&.oracle\&.com/javase/tutorial/deployment/jar/index\&.htmlにある
|
||||
プログラムのパッケージ化に関する項を参照してください。
|
||||
デフォルトのマニフェスト・ファイルには含まれないマニフェストに、特別な目的の名前\-値の属性ペアを追加できます。たとえば、ベンダー情報、リリース情報、パッケージ・シーリングを指定する属性、またはJARにバンドルされたアプリケーションを実行可能にするための属性を追加できます。\fBm\fRオプションの使用例は、http://docs\&.oracle\&.com/javase/tutorial/deployment/jar/index\&.htmlにある
|
||||
プログラムのパッケージ化に関する項を参照してください。
|
||||
.RE
|
||||
.PP
|
||||
M
|
||||
.RS 4
|
||||
マニフェスト・ファイル・エントリを作成しない(\fIc\fRおよび\fIu\fRの場合)か、またはマニフェスト・ファイル・エントリが存在する場合は削除します(\fIu\fRの場合)。\fIM\fRオプションは、JARファイルの作成時(\fIc\fR)または更新時(\fIu\fR)に使用できます。
|
||||
マニフェスト・ファイル・エントリを作成しない(\fBc\fRおよび\fBu\fRの場合)か、またはマニフェスト・ファイル・エントリが存在する場合は削除します(\fBu\fRの場合)。\fBM\fRオプションは、JARファイルの作成時(\fBc\fR)または更新時(\fBu\fR)に使用できます。
|
||||
.RE
|
||||
.PP
|
||||
n
|
||||
.RS 4
|
||||
JARファイルの作成(\fIc\fR)時に、このオプションは、コンテンツがpack200(1)コマンドのパックおよびアンパック操作の影響を受けないようにアーカイブを正規化します。この正規化を使用しない場合、署名付きJARの署名は無効になります。
|
||||
JARファイルの作成(\fBc\fR)時に、このオプションは、コンテンツがpack200(1)コマンドのパックおよびアンパック操作の影響を受けないようにアーカイブを正規化します。この正規化を使用しない場合、署名付きJARの署名は無効になります。
|
||||
.RE
|
||||
.PP
|
||||
v
|
||||
.RS 4
|
||||
詳細な出力を標準出力に生成します。例を参照してください。
|
||||
詳細な出力を標準出力に生成します。例を参照してください。
|
||||
.RE
|
||||
.PP
|
||||
0
|
||||
.RS 4
|
||||
(ゼロ) ZIP圧縮を使用しないでJARファイルを作成(\fIc\fR)または更新(\fIu\fR)します。
|
||||
(ゼロ) ZIP圧縮を使用しないでJARファイルを作成(\fBc\fR)または更新(\fBu\fR)します。
|
||||
.RE
|
||||
.PP
|
||||
\-C \fIdir\fR
|
||||
.RS 4
|
||||
JARファイルの作成(\fIc\fR)または更新(\fIu\fR)時に、このオプションは\fIfile\fRオペランドで指定されたファイルの処理中にディレクトリを一時的に変更します。この操作は、UNIX
|
||||
\fItar\fRユーティリティの\fI\-C\fRオプションと同様になることを目的としています。たとえば、次のコマンドによって、\fIclasses\fRディレクトリに変更され、そのディレクトリから\fImy\&.jar\fRに\fIBar\&.class\fRファイルが追加されます。
|
||||
JARファイルの作成(\fBc\fR)または更新(\fBu\fR)時に、このオプションは\fIfile\fRオペランドで指定されたファイルの処理中にディレクトリを一時的に変更します。この操作は、\fBtar\fRユーティリティの\fB\-C\fRオプションと同様になることを目的としています。たとえば、次のコマンドによって、\fBclasses\fRディレクトリに変更され、そのディレクトリから\fBmy\&.jar\fRに\fBBar\&.class\fRファイルが追加されます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jar uf my\&.jar \-C classes Bar\&.class
|
||||
\fBjar uf my\&.jar \-C classes Bar\&.class\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
次のコマンドでは、\fIclasses\fRディレクトリに移動し、classesディレクトリ内のすべてのファイルを\fImy\&.jar\fRに追加します(JARファイルには\fIclasses\fRディレクトリを作成しません)。次に元のディレクトリに戻ってから、\fIbin\fRディレクトリに移動し、\fIXyz\&.class\fRを\fImy\&.jar\fRに追加します。
|
||||
次のコマンドでは、\fBclasses\fRディレクトリに移動し、classesディレクトリ内のすべてのファイルを\fBmy\&.jar\fRに追加します(JARファイルには\fBclasses\fRディレクトリを作成しません)。次に元のディレクトリに戻ってから、\fBbin\fRディレクトリに移動し、\fBXyz\&.class\fRを\fBmy\&.jar\fRに追加します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jar uf my\&.jar \-C classes \&. \-C bin Xyz\&.class
|
||||
\fBjar uf my\&.jar \-C classes \&. \-C bin Xyz\&.class\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
\fIclasses\fRに\fIbar1\fRファイルと\fIbar2\fRファイルが含まれている場合、前述のコマンドを実行した後、JARファイルには次のものが含まれます。
|
||||
\fBclasses\fRに\fBbar1\fRファイルと\fBbar2\fRファイルが含まれている場合、前述のコマンドを実行した後、JARファイルには次のものが含まれます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
% \fIjar tf my\&.jar\fR
|
||||
META\-INF/
|
||||
META\-INF/MANIFEST\&.MF
|
||||
bar1
|
||||
bar2
|
||||
Xyz\&.class
|
||||
\fB% \fR\fB\fBjar tf my\&.jar\fR\fR
|
||||
\fBMETA\-INF/\fR
|
||||
\fBMETA\-INF/MANIFEST\&.MF\fR
|
||||
\fBbar1\fR
|
||||
\fBbar2\fR
|
||||
\fBXyz\&.class\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -285,156 +297,162 @@ Xyz\&.class
|
||||
.PP
|
||||
\-J\fIoption\fR
|
||||
.RS 4
|
||||
指定したJVMオプションを、JREがJARファイルを実行する際に使用するように設定します。JVMオプションは、java(1)コマンドのリファレンス・ページで説明されています。たとえば、\fI\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。
|
||||
指定したJVMオプションを、JREがJARファイルを実行する際に使用するように設定します。JVMオプションは、java(1)コマンドのリファレンス・ページで説明されています。たとえば、\fB\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。
|
||||
.RE
|
||||
.SH "オペランド"
|
||||
.SH "オペランド"
|
||||
.PP
|
||||
次のオペランドは、\fIjar\fRコマンドで認識されます。
|
||||
次のオペランドは、\fBjar\fRコマンドで認識されます。
|
||||
.PP
|
||||
\fIfile\fR
|
||||
.RS 4
|
||||
JARファイルの作成(\fIc\fR)または更新(\fIu\fR)時に、\fIfile\fRオペランドは、アーカイブに追加する必要のあるファイルまたはディレクトリのパスと名前を定義します。JARファイルの抽出(\fIx\fR)またはコンテンツのリスト(\fIt\fR)時に、\fIfile\fRオペランドは抽出またはリストするファイルのパスと名前を定義します。少なくとも1つの有効なファイルまたはディレクトリを指定する必要があります。複数の\fIfile\fRオペランドを空白で区切ります。\fIentrypoint\fR、\fIjarfile\fRまたは\fImanifest\fRオペランドが使用される場合は、その後に\fIfile\fRオペランドを指定する必要があります。
|
||||
JARファイルの作成(\fBc\fR)または更新(\fBu\fR)時に、\fIfile\fRオペランドは、アーカイブに追加する必要のあるファイルまたはディレクトリのパスと名前を定義します。JARファイルの抽出(\fBx\fR)またはコンテンツのリスト(\fBt\fR)時に、\fIfile\fRオペランドは抽出またはリストするファイルのパスと名前を定義します。少なくとも1つの有効なファイルまたはディレクトリを指定する必要があります。複数の\fIfile\fRオペランドを空白で区切ります。\fIentrypoint\fR、\fIjarfile\fRまたは\fImanifest\fRオペランドが使用される場合は、その後に\fIfile\fRオペランドを指定する必要があります。
|
||||
.RE
|
||||
.PP
|
||||
\fIentrypoint\fR
|
||||
.RS 4
|
||||
JARファイルの作成(\fIc\fR)または更新(\fIu\fR)時に、\fIentrypoint\fRオペランドは、実行可能JARファイルにバンドルされているスタンドアロンJavaアプリケーションのエントリ・ポイントとなるクラスの名前を定義します。\fIe\fRオプションが存在する場合は\fIentrypoint\fRオペランドを指定する必要があります。
|
||||
JARファイルの作成(\fBc\fR)または更新(\fBu\fR)時に、\fIentrypoint\fRオペランドは、実行可能JARファイルにバンドルされているスタンドアロンJavaアプリケーションのエントリ・ポイントとなるクラスの名前を定義します。\fBe\fRオプションが存在する場合は\fIentrypoint\fRオペランドを指定する必要があります。
|
||||
.RE
|
||||
.PP
|
||||
\fIjarfile\fR
|
||||
.RS 4
|
||||
作成(\fIc\fR)、更新(\fIu\fR)、抽出(\fIx\fR)または表示(\fIt\fR)するファイルの名前を定義します。\fIf\fRオプションが存在する場合は\fIjarfile\fRオペランドを指定する必要があります。\fIf\fRオプションおよび\fIjarfile\fRオペランドを省略すると、\fIjar\fRコマンドに、\fIstdin\fRからのJARファイル名を受け入れるか(\fIx\fRおよび\fIt\fRの場合)、JARファイルを\fIstdout\fRに送信すること(\fIc\fRおよび\fIu\fRの場合)が指示されます。
|
||||
作成(\fBc\fR)、更新(\fBu\fR)、抽出(\fBx\fR)または表示(\fBt\fR)するファイルの名前を定義します。\fBf\fRオプションが存在する場合は\fIjarfile\fRオペランドを指定する必要があります。\fBf\fRオプションおよび\fIjarfile\fRオペランドを省略すると、\fBjar\fRコマンドに、\fBstdin\fRからのJARファイル名を受け入れるか(\fBx\fRおよび\fBt\fRの場合)、JARファイルを\fBstdout\fRに送信すること(\fBc\fRおよび\fBu\fRの場合)が指示されます。
|
||||
.sp
|
||||
JARファイルを索引付け(\fIi\fR)する場合は、\fIf\fRオプションを指定しないで\fIjarfile\fRオペランドを指定します。
|
||||
JARファイルを索引付け(\fBi\fR)する場合は、\fBf\fRオプションを指定しないで\fIjarfile\fRオペランドを指定します。
|
||||
.RE
|
||||
.PP
|
||||
\fImanifest\fR
|
||||
.RS 4
|
||||
JARファイルの作成(\fIc\fR)または更新(\fIu\fR)時に、\fImanifest\fRオペランドはJARファイルの\fIMANIFEST\&.MF\fRに含める属性の名前と値を持つ既存のマニフェスト・ファイルを定義します。\fIf\fRオプションが存在する場合は\fImanifest\fRオペランドを指定する必要があります。
|
||||
JARファイルの作成(\fBc\fR)または更新(\fBu\fR)時に、\fImanifest\fRオペランドはJARファイルの\fBMANIFEST\&.MF\fRに含める属性の名前と値を持つ既存のマニフェスト・ファイルを定義します。\fBf\fRオプションが存在する場合は\fImanifest\fRオペランドを指定する必要があります。
|
||||
.RE
|
||||
.PP
|
||||
\fI@arg\-file\fR
|
||||
.RS 4
|
||||
\fIjar\fRコマンドを短縮または簡素化するには、別のテキスト・ファイル内の引数を指定し、接頭辞としてアットマーク(@)を付けて\fIjar\fRコマンドに渡すことができます。\fIjar\fRコマンドは、アットマーク文字で始まる引数を見つけると、そのファイルの内容を展開して引数リストに挿入します。
|
||||
\fBjar\fRコマンドを短縮または簡素化するには、別のテキスト・ファイル内の引数を指定し、接頭辞としてアットマーク(@)を付けて\fBjar\fRコマンドに渡すことができます。\fBjar\fRコマンドは、アットマーク文字で始まる引数を見つけると、そのファイルの内容を展開して引数リストに挿入します。
|
||||
.sp
|
||||
引数ファイルには、\fIjar\fRコマンドのオプションと引数(引数ファイルをサポートしない起動ツールに渡される\fI\-J\fRオプションを除く)を含めることができます。ファイル内の引数は、空白または改行文字で区切ることができます。引数ファイル内のファイル名は、\fIjar\fRコマンドを実行できる現在のディレクトリに対して相対的であり、引数ファイルの場所に対しては相対的ではありません。通常はオペレーティング・システム・シェルによって展開されるアスタリスク(*)などのワイルドカードは展開されません。
|
||||
引数ファイルには、\fBjar\fRコマンドのオプションと引数(引数ファイルをサポートしない起動ツールに渡される\fB\-J\fRオプションを除く)を含めることができます。ファイル内の引数は、空白または改行文字で区切ることができます。引数ファイル内のファイル名は、\fBjar\fRコマンドを実行できる現在のディレクトリに対して相対的であり、引数ファイルの場所に対しては相対的ではありません。通常はオペレーティング・システム・シェルによって展開されるアスタリスク(*)などのワイルドカードは展開されません。
|
||||
.sp
|
||||
次の例は、\fIfind\fRコマンドによる現在のディレクトリ出力からのファイル名で\fIclasses\&.list\fRファイルを作成する方法を示します。
|
||||
次の例は、\fBfind\fRコマンドによる現在のディレクトリ出力からのファイル名で\fBclasses\&.list\fRファイルを作成する方法を示します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
find \&. \-name \*(Aq*\&.class\*(Aq \-print > classes\&.list
|
||||
\fBfind \&. \-name \*(Aq*\&.class\*(Aq \-print > classes\&.list\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
\fIjar\fRコマンドを実行し、\fI@arg\-file\fR構文を使用して\fIclasses\&.list\fRファイルを渡すことができます。
|
||||
\fBjar\fRコマンドを実行し、\fI@arg\-file\fR構文を使用して\fBclasses\&.list\fRファイルを渡すことができます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jar cf my\&.jar @classes\&.list
|
||||
\fBjar cf my\&.jar @classes\&.list\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
引数ファイルはパスを指定できますが、相対パスが記述された引数ファイル内のすべてのファイル名は、渡されたパスに対して相対的ではなく、\fIjar\fRコマンドの現在の作業ディレクトリに相対的となります。たとえば、次のようになります。
|
||||
引数ファイルはパスを指定できますが、相対パスが記述された引数ファイル内のすべてのファイル名は、渡されたパスに対して相対的ではなく、\fBjar\fRコマンドの現在の作業ディレクトリに相対的となります。たとえば、次のようになります。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jar @dir/classes\&.list
|
||||
\fBjar @dir/classes\&.list\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.RE
|
||||
.SH "注意"
|
||||
.SH "注意"
|
||||
.PP
|
||||
\fIe\fR、\fIf\fRおよび\fIm\fRオプションは、\fIentrypoint\fR、\fIjarfile\fRおよび\fImanifest\fRオペランドと同じ順序でコマンドラインに出現する必要があります。
|
||||
\fBe\fR、\fBf\fRおよび\fBm\fRオプションは、\fIentrypoint\fR、\fIjarfile\fRおよび\fImanifest\fRオペランドと同じ順序でコマンド行に出現する必要があります。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jar cmef myManifestFile MyMainClass myFile\&.jar *\&.class
|
||||
\fBjar cmef myManifestFile MyMainClass myFile\&.jar *\&.class\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "例"
|
||||
.SH "例"
|
||||
.PP
|
||||
\fBExample 1\fR, 冗長な出力による現在のディレクトリからのすべてのファイルの追加
|
||||
\fB例 1 \fR冗長な出力による現在のディレクトリからのすべてのファイルの追加
|
||||
.RS 4
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
% ls
|
||||
1\&.au Animator\&.class monkey\&.jpg
|
||||
2\&.au Wave\&.class spacemusic\&.au
|
||||
3\&.au at_work\&.gif
|
||||
|
||||
% jar cvf bundle\&.jar *
|
||||
added manifest
|
||||
adding: 1\&.au(in = 2324) (out= 67)(deflated 97%)
|
||||
adding: 2\&.au(in = 6970) (out= 90)(deflated 98%)
|
||||
adding: 3\&.au(in = 11616) (out= 108)(deflated 99%)
|
||||
adding: Animator\&.class(in = 2266) (out= 66)(deflated 97%)
|
||||
adding: Wave\&.class(in = 3778) (out= 81)(deflated 97%)
|
||||
adding: at_work\&.gif(in = 6621) (out= 89)(deflated 98%)
|
||||
adding: monkey\&.jpg(in = 7667) (out= 91)(deflated 98%)
|
||||
adding: spacemusic\&.au(in = 3079) (out= 73)(deflated 97%)
|
||||
\fB% ls\fR
|
||||
\fB1\&.au Animator\&.class monkey\&.jpg\fR
|
||||
\fB2\&.au Wave\&.class spacemusic\&.au\fR
|
||||
\fB3\&.au at_work\&.gif\fR
|
||||
|
||||
\fB% jar cvf bundle\&.jar *\fR
|
||||
\fBadded manifest\fR
|
||||
\fBadding: 1\&.au(in = 2324) (out= 67)(deflated 97%)\fR
|
||||
\fBadding: 2\&.au(in = 6970) (out= 90)(deflated 98%)\fR
|
||||
\fBadding: 3\&.au(in = 11616) (out= 108)(deflated 99%)\fR
|
||||
\fBadding: Animator\&.class(in = 2266) (out= 66)(deflated 97%)\fR
|
||||
\fBadding: Wave\&.class(in = 3778) (out= 81)(deflated 97%)\fR
|
||||
\fBadding: at_work\&.gif(in = 6621) (out= 89)(deflated 98%)\fR
|
||||
\fBadding: monkey\&.jpg(in = 7667) (out= 91)(deflated 98%)\fR
|
||||
\fBadding: spacemusic\&.au(in = 3079) (out= 73)(deflated 97%)\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.RE
|
||||
.PP
|
||||
\fBExample 2\fR, サブディレクトリからのファイルの追加
|
||||
\fB例 2 \fRサブディレクトリからのファイルの追加
|
||||
.RS 4
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
% ls \-F
|
||||
audio/ classes/ images/
|
||||
% jar cvf bundle\&.jar audio classes images
|
||||
added manifest
|
||||
adding: audio/(in = 0) (out= 0)(stored 0%)
|
||||
adding: audio/1\&.au(in = 2324) (out= 67)(deflated 97%)
|
||||
adding: audio/2\&.au(in = 6970) (out= 90)(deflated 98%)
|
||||
adding: audio/3\&.au(in = 11616) (out= 108)(deflated 99%)
|
||||
adding: audio/spacemusic\&.au(in = 3079) (out= 73)(deflated 97%)
|
||||
adding: classes/(in = 0) (out= 0)(stored 0%)
|
||||
adding: classes/Animator\&.class(in = 2266) (out= 66)(deflated 97%)
|
||||
adding: classes/Wave\&.class(in = 3778) (out= 81)(deflated 97%)
|
||||
adding: images/(in = 0) (out= 0)(stored 0%)
|
||||
adding: images/monkey\&.jpg(in = 7667) (out= 91)(deflated 98%)
|
||||
adding: images/at_work\&.gif(in = 6621) (out= 89)(deflated 98%)
|
||||
|
||||
% ls \-F
|
||||
audio/ bundle\&.jar classes/ images/
|
||||
\fB% ls \-F\fR
|
||||
\fBaudio/ classes/ images/\fR
|
||||
\fB% jar cvf bundle\&.jar audio classes images\fR
|
||||
\fBadded manifest\fR
|
||||
\fBadding: audio/(in = 0) (out= 0)(stored 0%)\fR
|
||||
\fBadding: audio/1\&.au(in = 2324) (out= 67)(deflated 97%)\fR
|
||||
\fBadding: audio/2\&.au(in = 6970) (out= 90)(deflated 98%)\fR
|
||||
\fBadding: audio/3\&.au(in = 11616) (out= 108)(deflated 99%)\fR
|
||||
\fBadding: audio/spacemusic\&.au(in = 3079) (out= 73)(deflated 97%)\fR
|
||||
\fBadding: classes/(in = 0) (out= 0)(stored 0%)\fR
|
||||
\fBadding: classes/Animator\&.class(in = 2266) (out= 66)(deflated 97%)\fR
|
||||
\fBadding: classes/Wave\&.class(in = 3778) (out= 81)(deflated 97%)\fR
|
||||
\fBadding: images/(in = 0) (out= 0)(stored 0%)\fR
|
||||
\fBadding: images/monkey\&.jpg(in = 7667) (out= 91)(deflated 98%)\fR
|
||||
\fBadding: images/at_work\&.gif(in = 6621) (out= 89)(deflated 98%)\fR
|
||||
|
||||
\fB% ls \-F\fR
|
||||
\fBaudio/ bundle\&.jar classes/ images/\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.RE
|
||||
.PP
|
||||
\fBExample 3\fR, JARのコンテンツのリスト
|
||||
\fB例 3 \fRJARのコンテンツのリスト
|
||||
.RS 4
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
% jar tf bundle\&.jar
|
||||
\fB% jar tf bundle\&.jar\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -444,51 +462,54 @@ audio/ bundle\&.jar classes/ images/
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
META\-INF/
|
||||
META\-INF/MANIFEST\&.MF
|
||||
audio/1\&.au
|
||||
audio/2\&.au
|
||||
audio/3\&.au
|
||||
audio/spacemusic\&.au
|
||||
classes/Animator\&.class
|
||||
classes/Wave\&.class
|
||||
images/monkey\&.jpg
|
||||
images/at_work\&.gif
|
||||
\fBMETA\-INF/\fR
|
||||
\fBMETA\-INF/MANIFEST\&.MF\fR
|
||||
\fBaudio/1\&.au\fR
|
||||
\fBaudio/2\&.au\fR
|
||||
\fBaudio/3\&.au\fR
|
||||
\fBaudio/spacemusic\&.au\fR
|
||||
\fBclasses/Animator\&.class\fR
|
||||
\fBclasses/Wave\&.class\fR
|
||||
\fBimages/monkey\&.jpg\fR
|
||||
\fBimages/at_work\&.gif\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.RE
|
||||
.PP
|
||||
\fBExample 4\fR, 索引の追加
|
||||
\fB例 4 \fR索引の追加
|
||||
.RS 4
|
||||
株式取引のアプリケーションの相互依存クラスを、\fImain\&.jar\fR、\fIbuy\&.jar\fRおよび\fIsell\&.jar\fRの3つのJARファイルに分割する場合、\fIi\fRオプションを使用します。\fImain\&.jar\fRマニフェスト内の\fIClass\-Path\fR属性を指定する場合、\fIi\fRオプションを使用して、アプリケーションのクラス・ロードの速度を向上できます。
|
||||
株式取引のアプリケーションの相互依存クラスを、\fBmain\&.jar\fR、\fBbuy\&.jar\fRおよび\fBsell\&.jar\fRの3つのJARファイルに分割する場合、\fBi\fRオプションを使用します。\fBmain\&.jar\fRマニフェスト内の\fBClass\-Path\fR属性を指定する場合、\fBi\fRオプションを使用して、アプリケーションのクラス・ロードの速度を向上できます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
Class\-Path: buy\&.jar sell\&.jar
|
||||
jar i main\&.jar
|
||||
\fBClass\-Path: buy\&.jar sell\&.jar\fR
|
||||
\fBjar i main\&.jar\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
\fIINDEX\&.LIST\fRファイルが\fIMETA\-INF\fRディレクトリに挿入されます。これにより、アプリケーションのクラス・ローダーによってクラスまたはリソースの検索が行われるときに、指定したJARファイルがダウンロードされるようになります。
|
||||
\fBINDEX\&.LIST\fRファイルが\fBMETA\-INF\fRディレクトリに挿入されます。これにより、アプリケーションのクラス・ローダーによってクラスまたはリソースの検索が行われるときに、指定したJARファイルがダウンロードされるようになります。
|
||||
.sp
|
||||
アプリケーションのクラス・ローダーは、このファイルに格納されている情報を使用して、効率的にクラスをロードします。ディレクトリをコピーするには、最初に\fIdir1\fR内のファイルを\fIstdout\fRに圧縮してから、\fIstdin\fRから\fIdir2\fRにパイプラインを作成して抽出します(\fI\-f\fRオプションは両方の\fIjar\fRコマンドで省略します)。
|
||||
アプリケーションのクラス・ローダーは、このファイルに格納されている情報を使用して、効率的にクラスをロードします。ディレクトリをコピーするには、最初に\fBdir1\fR内のファイルを\fBstdout\fRに圧縮してから、\fBstdin\fRから\fBdir2\fRにパイプラインを作成して抽出します(\fB\-f\fRオプションは両方の\fBjar\fRコマンドで省略します)。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
(cd dir1; jar c \&.) | (cd dir2; jar x)
|
||||
\fB(cd dir1; jar c \&.) | (cd dir2; jar x)\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.RE
|
||||
.SH "関連項目"
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
@ -509,8 +530,8 @@ pack200(1)\&.
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
http://docs\&.oracle\&.com/javase/tutorial/deployment/jar/index\&.htmlにある
|
||||
JavaチュートリアルのJARに関する項
|
||||
http://docs\&.oracle\&.com/javase/tutorial/deployment/jar/index\&.htmlにある
|
||||
JavaチュートリアルのJARに関する項
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: javah
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: 基本ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 1994, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "javah" "1" "2013年11月21日" "JDK 8" "基本ツール"
|
||||
.\" Title: javah
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: 基本ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "javah" "1" "2013年11月21日" "JDK 8" "基本ツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
javah \- JavaクラスからCヘッダーとソース・ファイルを生成します。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
javah \- JavaクラスからCヘッダーとソース・ファイルを生成します。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjavah\fR [ \fIoptions\fR ] f\fIully\-qualified\-class\-name \&.\&.\&.\fR
|
||||
\fBjavah\fR [ \fIoptions\fR ] f\fIully\-qualified\-class\-name \&.\&.\&.\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,102 +66,102 @@ javah \- JavaクラスからCヘッダーとソース・ファイルを生成し
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
コマンドライン・オプション。オプションを参照してください。
|
||||
コマンド行オプション。オプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIfully\-qualified\-class\-name\fR
|
||||
.RS 4
|
||||
Cヘッダーとソース・ファイルに変換されるクラスの完全修飾された場所。
|
||||
Cヘッダーとソース・ファイルに変換されるクラスの完全修飾された場所。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIjavah\fRコマンドは、ネイティブ・メソッドを実装するために必要なCヘッダーとソース・ファイルを生成します。作成されたヘッダーとソース・ファイルは、ネイティブ・ソース・コードからオブジェクトのインスタンス変数を参照するためにCプログラムによって使用されます。\fI\&.h\fRファイルは、対応するクラスと一致する配置を持つ\fIstruct\fR定義を含みます。\fIstruct\fRのフィールドは、クラスのインスタンス変数に対応します。
|
||||
\fBjavah\fRコマンドは、ネイティブ・メソッドを実装するために必要なCヘッダーとソース・ファイルを生成します。作成されたヘッダーとソース・ファイルは、ネイティブ・ソース・コードからオブジェクトのインスタンス変数を参照するためにCプログラムによって使用されます。\fB\&.h\fRファイルは、対応するクラスと一致する配置を持つ\fBstruct\fR定義を含みます。\fBstruct\fRのフィールドは、クラスのインスタンス変数に対応します。
|
||||
.PP
|
||||
ヘッダー・ファイルとその中で宣言される構造体の名前はクラスの名前から派生します。\fIjavah\fRコマンドに渡されるクラスがパッケージの中にある場合、パッケージ名はヘッダー・ファイル名と構造体名の両方の先頭に付加されます。下線(_)が名前の区切り文字として使用されます。
|
||||
ヘッダー・ファイルとその中で宣言される構造体の名前はクラスの名前から派生します。\fBjavah\fRコマンドに渡されるクラスがパッケージの中にある場合、パッケージ名はヘッダー・ファイル名と構造体名の両方の先頭に付加されます。アンダースコア(_)が名前の区切り文字として使用されます。
|
||||
.PP
|
||||
デフォルトでは\fIjavah\fRコマンドは、コマンドラインにリストされる各クラスのヘッダー・ファイルを作成し、現在のディレクトリにファイルを置きます。ソース・ファイルを作成するには、\fI\-stubs\fRオプションを使用してください。1つのファイルの中に、リストされたすべてのクラスの結果を連結するには、\fI\-o\fRオプションを使用してください。
|
||||
デフォルトでは\fBjavah\fRコマンドは、コマンド行にリストされる各クラスのヘッダー・ファイルを作成し、現在のディレクトリにファイルを置きます。ソース・ファイルを作成するには、\fB\-stubs\fRオプションを使用してください。1つのファイルの中に、リストされたすべてのクラスの結果を連結するには、\fB\-o\fRオプションを使用してください。
|
||||
.PP
|
||||
Java Native Interface (JNI)はヘッダー情報またはスタブ・ファイルを必要としません。\fIjavah\fRコマンドは引き続きJNI形式のネイティブ・メソッドに必要なネイティブ・メソッド関数プロトタイプの生成に使用できます。\fIjavah\fRコマンドはデフォルトでJNI形式の出力を生成し、その結果を\fI\&.h\fRファイルに格納します。
|
||||
.SH "オプション"
|
||||
Java Native Interface (JNI)はヘッダー情報またはスタブ・ファイルを必要としません。\fBjavah\fRコマンドは引き続きJNI形式のネイティブ・メソッドに必要なネイティブ・メソッド関数プロトタイプの生成に使用できます。\fBjavah\fRコマンドはデフォルトでJNI形式の出力を生成し、その結果を\fB\&.h\fRファイルに格納します。
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\-o \fIoutputfile\fR
|
||||
.RS 4
|
||||
コマンドラインにリストされたすべてのクラスに対して、結果のヘッダーまたはソース・ファイルを連結して出力ファイルに格納します。\fI\-o\fRまたは\fI\-d\fRのどちらかのみ使用できます。
|
||||
コマンド行にリストされたすべてのクラスに対して、結果のヘッダーまたはソース・ファイルを連結して出力ファイルに格納します。\fB\-o\fRまたは\fB\-d\fRのどちらかのみ使用できます。
|
||||
.RE
|
||||
.PP
|
||||
\-d \fIdirectory\fR
|
||||
.RS 4
|
||||
\fIjavah\fRがヘッダー・ファイルまたはスタブ・ファイルを保存する、ディレクトリを設定します。\fI\-d\fRまたは\fI\-o\fRのどちらかのみ使用できます。
|
||||
\fBjavah\fRがヘッダー・ファイルまたはスタブ・ファイルを保存する、ディレクトリを設定します。\fB\-d\fRまたは\fB\-o\fRのどちらかのみ使用できます。
|
||||
.RE
|
||||
.PP
|
||||
\-stubs
|
||||
.RS 4
|
||||
\fIjavah\fRコマンドが、Javaオブジェクト・ファイルからC宣言を生成します。
|
||||
\fBjavah\fRコマンドが、Javaオブジェクト・ファイルからC宣言を生成します。
|
||||
.RE
|
||||
.PP
|
||||
\-verbose
|
||||
.RS 4
|
||||
詳細出力を指定し、作成ファイルの状態に関するメッセージを、\fIjavah\fRコマンドが\fI標準出力\fRに出力します。
|
||||
詳細出力を指定し、作成ファイルの状態に関するメッセージを、\fBjavah\fRコマンドが\fB標準出力\fRに出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-help
|
||||
.RS 4
|
||||
\fIjavah\fRの使用方法についてのヘルプ・メッセージを出力します。
|
||||
\fBjavah\fRの使用方法についてのヘルプ・メッセージを出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-version
|
||||
.RS 4
|
||||
\fIjavah\fRコマンドのリリース情報を出力します。
|
||||
\fBjavah\fRコマンドのリリース情報を出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-jni
|
||||
.RS 4
|
||||
JNI形式のネイティブ・メソッド機能プロトタイプを含む出力ファイルを、\fIjavah\fRコマンドが作成します。これは標準出力であるため、\fI\-jni\fRの使用はオプションです。
|
||||
JNI形式のネイティブ・メソッド機能プロトタイプを含む出力ファイルを、\fBjavah\fRコマンドが作成します。これは標準出力であるため、\fB\-jni\fRの使用はオプションです。
|
||||
.RE
|
||||
.PP
|
||||
\-classpath \fIpath\fR
|
||||
.RS 4
|
||||
クラスを探すために\fIjavah\fRコマンドが使用するパスを指定します。デフォルトまたは\fICLASSPATH\fR環境変数の設定をオーバーライドします。ディレクトリはOracle Solarisの場合はコロンで、Windowsの場合はセミコロンで区切られます。パスの一般的な形式は次のようになります。
|
||||
クラスを探すために\fBjavah\fRコマンドが使用するパスを指定します。デフォルトまたは\fBCLASSPATH\fR環境変数の設定をオーバーライドします。ディレクトリはOracle Solarisの場合はコロンで、Windowsの場合はセミコロンで区切られます。パスの一般的な形式は次のようになります。
|
||||
.sp
|
||||
\fBOracle Solaris\fRの場合:
|
||||
\fBOracle Solaris\fRの場合:
|
||||
.sp
|
||||
\&.:\fIyour\-path\fR
|
||||
.sp
|
||||
例:
|
||||
\fI\&.:/home/avh/classes:/usr/local/java/classes\fR
|
||||
例:
|
||||
\fB\&.:/home/avh/classes:/usr/local/java/classes\fR
|
||||
.sp
|
||||
\fBWindows\fRの場合:
|
||||
\fBWindows\fRの場合:
|
||||
.sp
|
||||
\&.;\fIyour\-path\fR
|
||||
.sp
|
||||
例:
|
||||
\fI\&.;C:\eusers\edac\eclasses;C:\etools\ejava\eclasses\fR
|
||||
例:
|
||||
\fB\&.;C:\eusers\edac\eclasses;C:\etools\ejava\eclasses\fR
|
||||
.sp
|
||||
便宜上、*のベース名を含むクラス・パス要素は、\fI\&.jar\fRまたは\fI\&.JAR\fRを拡張子に持つディレクトリ内のすべてのファイルのリストを指定するのと同等とみなされます。
|
||||
便宜上、*のベース名を含むクラス・パス要素は、\fB\&.jar\fRまたは\fB\&.JAR\fRを拡張子に持つディレクトリ内のすべてのファイルのリストを指定するのと同等とみなされます。
|
||||
.sp
|
||||
たとえば、ディレクトリ\fImydir\fRに\fIa\&.jar\fRと\fIb\&.JAR\fRが含まれている場合、クラス・パス要素\fImydir/*\fRは\fIA\fR\fI\&.jar:b\&.JAR\fRに展開されますが、JARファイルの順番は未指定となります。このリストには、隠しファイルも含め、指定されたディレクトリ内のすべてのJARファイルが含まれます。*からなるクラス・パス・エントリは、現在のディレクトリ内のすべてのJARファイルのリストに展開されます。\fICLASSPATH\fR環境変数も、定義時には同様に展開されます。クラス・パスのワイルドカードの展開は、Java仮想マシン(JVM)の開始前に行われます。Javaプログラムは、環境を問い合せる場合を除き、展開されていないワイルドカードを参照しません。たとえば、\fISystem\&.getenv("CLASSPATH")\fRをコールして問い合せる場合です。
|
||||
たとえば、ディレクトリ\fBmydir\fRに\fBa\&.jar\fRと\fBb\&.JAR\fRが含まれている場合、クラス・パス要素\fBmydir/*\fRは\fBA\fR\fB\&.jar:b\&.JAR\fRに展開されますが、JARファイルの順番は未指定となります。このリストには、隠しファイルも含め、指定されたディレクトリ内のすべてのJARファイルが含まれます。*からなるクラス・パス・エントリは、現在のディレクトリ内のすべてのJARファイルのリストに展開されます。\fBCLASSPATH\fR環境変数も、定義時には同様に展開されます。クラス・パスのワイルドカードの展開は、Java Virtual Machine (JVM)の開始前に行われます。Javaプログラムは、環境を問い合せる場合を除き、展開されていないワイルドカードを参照しません。たとえば、\fBSystem\&.getenv("CLASSPATH")\fRをコールして問い合せる場合です。
|
||||
.RE
|
||||
.PP
|
||||
\-bootclasspath \fIpath\fR
|
||||
.RS 4
|
||||
ブートストラップ・クラスをロードするパスを指定します。ブートストラップ・クラスは、デフォルトでは\fIjre\elib\ert\&.jar\fRおよび他のいくつかのJARファイルにある、コアJavaプラットフォームを実装するクラスです。
|
||||
ブートストラップ・クラスをロードするパスを指定します。ブートストラップ・クラスは、デフォルトでは\fBjre\elib\ert\&.jar\fRおよび他のいくつかのJARファイルにある、コアJavaプラットフォームを実装するクラスです。
|
||||
.RE
|
||||
.PP
|
||||
\-old
|
||||
.RS 4
|
||||
古いJDK 1\&.0形式のヘッダー・ファイルを生成するように指定します。
|
||||
古いJDK 1\&.0形式のヘッダー・ファイルを生成するように指定します。
|
||||
.RE
|
||||
.PP
|
||||
\-force
|
||||
.RS 4
|
||||
出力ファイルが常に書き込まれるように指定します。
|
||||
出力ファイルが常に書き込まれるように指定します。
|
||||
.RE
|
||||
.PP
|
||||
\-J\fIoption\fR
|
||||
.RS 4
|
||||
Java仮想マシンに\fIoption\fRを渡します。\fIoption\fRには、Javaアプリケーション起動ツールのリファレンス・ページに記載されているオプションを1つ指定します。たとえば、\fI\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。java(1)を参照してください。
|
||||
Java Virtual Machineに\fBoption\fRを渡します。\fBoption\fRには、Javaアプリケーション起動ツールのリファレンス・ページに記載されているオプションを1つ指定します。たとえば、\fB\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。java(1)を参照してください。
|
||||
.RE
|
||||
.SH "関連項目"
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: javap
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: 基本ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 1994, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "javap" "1" "2013年11月21日" "JDK 8" "基本ツール"
|
||||
.\" Title: javap
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2014年8月8日
|
||||
.\" SectDesc: 基本ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "javap" "1" "2014年8月8日" "JDK 8" "基本ツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
javap \- 1つ以上のクラス・ファイルを逆アセンブルします。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
javap \- 1つ以上のクラス・ファイルを逆アセンブルします。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjavap\fR [\fIoptions\fR] \fIclassfile\fR\&.\&.\&.
|
||||
\fBjavap\fR [\fIoptions\fR] \fIclassfile\fR\&.\&.\&.
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,237 +66,236 @@ javap \- 1つ以上のクラス・ファイルを逆アセンブルします。
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
コマンドライン・オプション。オプションを参照してください。
|
||||
コマンド行オプション。オプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIclassfile\fR
|
||||
.RS 4
|
||||
注釈の処理対象となる、空白で区切った1つ以上のクラス(DocFooter\&.classなど)。クラス・パスで検出できるクラスを、ファイル名またはURL(\fIfile:///home/user/myproject/src/DocFooter\&.class\fRなど)で指定できます。
|
||||
注釈の処理対象となる、空白で区切った1つ以上のクラス(DocFooter\&.classなど)。クラス・パスで検出できるクラスを、ファイル名またはURL(\fBfile:///home/user/myproject/src/DocFooter\&.class\fRなど)で指定できます。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIjavap\fRコマンドは、1つまたは複数のクラス・ファイルを逆アセンブルします。その出力は指定するオプションにより異なります。オプションを指定しない場合、\fIjavap\fRコマンドは、そのパッケージ、渡されたクラスのprotectedおよびpublicのフィールドとメソッドを出力します。\fIjavap\fRコマンドはその出力を\fI標準出力\fRに表示します。
|
||||
.SH "オプション"
|
||||
\fBjavap\fRコマンドは、1つまたは複数のクラス・ファイルを逆アセンブルします。その出力は指定するオプションにより異なります。オプションを指定しない場合、\fBjavap\fRコマンドは、そのパッケージ、渡されたクラスのprotectedおよびpublicのフィールドとメソッドを出力します。\fBjavap\fRコマンドはその出力を\fB標準出力\fRに表示します。
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\-help, \-\-help, \-?
|
||||
\-help
|
||||
.br
|
||||
\-\-help
|
||||
.br
|
||||
\-?
|
||||
.RS 4
|
||||
\fIjavap\fRコマンドについてのヘルプ・メッセージを出力します。
|
||||
\fBjavap\fRコマンドについてのヘルプ・メッセージを出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-version
|
||||
.RS 4
|
||||
リリース情報を出力します。
|
||||
リリース情報を出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-l
|
||||
.RS 4
|
||||
行番号とローカル変数表を出力します。
|
||||
行番号とローカル変数表を出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-public
|
||||
.RS 4
|
||||
publicクラスおよびメンバーのみ表示します。
|
||||
publicクラスおよびメンバーのみ表示します。
|
||||
.RE
|
||||
.PP
|
||||
\-protected
|
||||
.RS 4
|
||||
protectedおよびpublicのクラスとメンバーのみを表示します。
|
||||
protectedおよびpublicのクラスとメンバーのみを表示します。
|
||||
.RE
|
||||
.PP
|
||||
\-private, \-p
|
||||
\-private
|
||||
.br
|
||||
\-p
|
||||
.RS 4
|
||||
すべてのクラスとメンバーを表示します。
|
||||
すべてのクラスとメンバーを表示します。
|
||||
.RE
|
||||
.PP
|
||||
\-J\fIoption\fR
|
||||
.RS 4
|
||||
指定されたオプションをJVMに渡します。次に例を示します。
|
||||
指定されたオプションをJVMに渡します。次に例を示します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
javap \-J\-version
|
||||
javap \-J\-Djava\&.security\&.manager \-J\-Djava\&.security\&.policy=MyPolicy MyClassName
|
||||
\fBjavap \-J\-version\fR
|
||||
\fBjavap \-J\-Djava\&.security\&.manager \-J\-Djava\&.security\&.policy=MyPolicy MyClassName\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
JVMオプションの詳細は、コマンドのマニュアルを参照してください。
|
||||
JVMオプションの詳細は、コマンドのマニュアルを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\-s
|
||||
.RS 4
|
||||
内部の型シグニチャを出力します。
|
||||
内部の型シグニチャを出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-sysinfo
|
||||
.RS 4
|
||||
処理中のクラスのシステム情報(パス、サイズ、日付、MD5ハッシュ)を表示します。
|
||||
処理中のクラスのシステム情報(パス、サイズ、日付、MD5ハッシュ)を表示します。
|
||||
.RE
|
||||
.PP
|
||||
\-constants
|
||||
.RS 4
|
||||
\fIstatic final\fR定数を表示します。
|
||||
\fBstatic final\fR定数を表示します。
|
||||
.RE
|
||||
.PP
|
||||
\-c
|
||||
.RS 4
|
||||
クラスの各メソッドのために逆アセンブルされるコード、すなわちJavaバイトコードからなる命令を表示します。
|
||||
クラスの各メソッドのために逆アセンブルされるコード、すなわちJavaバイトコードからなる命令を表示します。
|
||||
.RE
|
||||
.PP
|
||||
\-verbose
|
||||
.RS 4
|
||||
メソッドのスタック・サイズ、localsとargumentsの数を出力します。
|
||||
メソッドのスタック・サイズ、localsとargumentsの数を出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-classpath \fIpath\fR
|
||||
.RS 4
|
||||
クラスを探すために\fIjavap\fRコマンドが使用するパスを指定します。デフォルトまたは\fICLASSPATH\fR環境変数の設定をオーバーライドします。
|
||||
クラスを探すために\fBjavap\fRコマンドが使用するパスを指定します。デフォルトまたは\fBCLASSPATH\fR環境変数の設定をオーバーライドします。
|
||||
.RE
|
||||
.PP
|
||||
\-bootclasspath \fIpath\fR
|
||||
.RS 4
|
||||
ブートストラップ・クラスをロードするパスを指定します。ブートストラップ・クラスは、デフォルトでは\fIjre/lib/rt\&.jar\fRおよび他のいくつかのJARファイルにある、コアJavaプラットフォームを実装するクラスです。
|
||||
ブートストラップ・クラスをロードするパスを指定します。ブートストラップ・クラスは、デフォルトでは\fBjre/lib/rt\&.jar\fRおよび他のいくつかのJARファイルにある、コアJavaプラットフォームを実装するクラスです。
|
||||
.RE
|
||||
.PP
|
||||
\-extdir \fIdirs\fR
|
||||
.RS 4
|
||||
インストールされた拡張機能を検索する場所をオーバーライドします。拡張機能のデフォルト位置は\fIjava\&.ext\&.dirs\fRです。
|
||||
インストールされた拡張機能を検索する場所をオーバーライドします。拡張機能のデフォルト位置は\fBjava\&.ext\&.dirs\fRです。
|
||||
.RE
|
||||
.SH "例"
|
||||
.SH "例"
|
||||
.PP
|
||||
次の\fIDocFooter\fRクラスをコンパイルします。
|
||||
次の\fBDocFooter\fRクラスをコンパイルします。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
import java\&.awt\&.*;
|
||||
import java\&.applet\&.*;
|
||||
\fBimport java\&.awt\&.*;\fR
|
||||
\fBimport java\&.applet\&.*;\fR
|
||||
\fB \fR
|
||||
\fBpublic class DocFooter extends Applet {\fR
|
||||
\fB String date;\fR
|
||||
\fB String email;\fR
|
||||
\fB \fR
|
||||
\fB public void init() {\fR
|
||||
\fB resize(500,100);\fR
|
||||
\fB date = getParameter("LAST_UPDATED");\fR
|
||||
\fB email = getParameter("EMAIL");\fR
|
||||
\fB }\fR
|
||||
\fB \fR
|
||||
\fB public void paint(Graphics g) {\fR
|
||||
\fB g\&.drawString(date + " by ",100, 15);\fR
|
||||
\fB g\&.drawString(email,290,15);\fR
|
||||
\fB }\fR
|
||||
\fB}\fR
|
||||
|
||||
public class DocFooter extends Applet {
|
||||
String date;
|
||||
String email;
|
||||
|
||||
public void init() {
|
||||
resize(500,100);
|
||||
date = getParameter("LAST_UPDATED");
|
||||
email = getParameter("EMAIL");
|
||||
}
|
||||
|
||||
public void paint(Graphics g) {
|
||||
g\&.drawString(date + " by ",100, 15);
|
||||
g\&.drawString(email,290,15);
|
||||
}
|
||||
}
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fIjavap DocFooter\&.class\fRコマンドからの出力は次を生成します。
|
||||
\fBjavap DocFooter\&.class\fRコマンドからの出力は次を生成します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
Compiled from "DocFooter\&.java"
|
||||
public class DocFooter extends java\&.applet\&.Applet {
|
||||
java\&.lang\&.String date;
|
||||
java\&.lang\&.String email;
|
||||
public DocFooter();
|
||||
public void init();
|
||||
public void paint(java\&.awt\&.Graphics);
|
||||
}
|
||||
\fBCompiled from "DocFooter\&.java"\fR
|
||||
\fBpublic class DocFooter extends java\&.applet\&.Applet {\fR
|
||||
\fB java\&.lang\&.String date;\fR
|
||||
\fB java\&.lang\&.String email;\fR
|
||||
\fB public DocFooter();\fR
|
||||
\fB public void init();\fR
|
||||
\fB public void paint(java\&.awt\&.Graphics);\fR
|
||||
\fB}\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fIjavap \-c DocFooter\&.class\fRコマンドからの出力は次を生成します。
|
||||
\fBjavap \-c DocFooter\&.class\fRコマンドからの出力は次を生成します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
Compiled from "DocFooter\&.java"
|
||||
public class DocFooter extends java\&.applet\&.Applet {
|
||||
java\&.lang\&.String date;
|
||||
java\&.lang\&.String email;
|
||||
|
||||
public DocFooter();
|
||||
Code:
|
||||
0: aload_0
|
||||
1: invokespecial #1 // Method
|
||||
java/applet/Applet\&."<init>":()V
|
||||
4: return
|
||||
|
||||
public void init();
|
||||
Code:
|
||||
0: aload_0
|
||||
1: sipush 500
|
||||
4: bipush 100
|
||||
6: invokevirtual #2 // Method resize:(II)V
|
||||
9: aload_0
|
||||
10: aload_0
|
||||
11: ldc #3 // String LAST_UPDATED
|
||||
13: invokevirtual #4 // Method
|
||||
getParameter:(Ljava/lang/String;)Ljava/lang/String;
|
||||
16: putfield #5 // Field date:Ljava/lang/String;
|
||||
19: aload_0
|
||||
20: aload_0
|
||||
21: ldc #6 // String EMAIL
|
||||
23: invokevirtual #4 // Method
|
||||
getParameter:(Ljava/lang/String;)Ljava/lang/String;
|
||||
26: putfield #7 // Field email:Ljava/lang/String;
|
||||
29: return
|
||||
|
||||
public void paint(java\&.awt\&.Graphics);
|
||||
Code:
|
||||
0: aload_1
|
||||
1: new #8 // class java/lang/StringBuilder
|
||||
4: dup
|
||||
5: invokespecial #9 // Method
|
||||
java/lang/StringBuilder\&."<init>":()V
|
||||
8: aload_0
|
||||
9: getfield #5 // Field date:Ljava/lang/String;
|
||||
12: invokevirtual #10 // Method
|
||||
java/lang/StringBuilder\&.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
15: ldc #11 // String by
|
||||
17: invokevirtual #10 // Method
|
||||
java/lang/StringBuilder\&.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
20: invokevirtual #12 // Method
|
||||
java/lang/StringBuilder\&.toString:()Ljava/lang/String;
|
||||
23: bipush 100
|
||||
25: bipush 15
|
||||
27: invokevirtual #13 // Method
|
||||
java/awt/Graphics\&.drawString:(Ljava/lang/String;II)V
|
||||
30: aload_1
|
||||
31: aload_0
|
||||
32: getfield #7 // Field email:Ljava/lang/String;
|
||||
35: sipush 290
|
||||
38: bipush 15
|
||||
40: invokevirtual #13 // Method
|
||||
java/awt/Graphics\&.drawString:(Ljava/lang/String;II)V
|
||||
43: return
|
||||
}
|
||||
\fBCompiled from "DocFooter\&.java"\fR
|
||||
\fBpublic class DocFooter extends java\&.applet\&.Applet {\fR
|
||||
\fB java\&.lang\&.String date;\fR
|
||||
\fB java\&.lang\&.String email;\fR
|
||||
|
||||
\fB public DocFooter();\fR
|
||||
\fB Code:\fR
|
||||
\fB 0: aload_0 \fR
|
||||
\fB 1: invokespecial #1 // Method\fR
|
||||
\fBjava/applet/Applet\&."<init>":()V\fR
|
||||
\fB 4: return \fR
|
||||
|
||||
\fB public void init();\fR
|
||||
\fB Code:\fR
|
||||
\fB 0: aload_0 \fR
|
||||
\fB 1: sipush 500\fR
|
||||
\fB 4: bipush 100\fR
|
||||
\fB 6: invokevirtual #2 // Method resize:(II)V\fR
|
||||
\fB 9: aload_0 \fR
|
||||
\fB 10: aload_0 \fR
|
||||
\fB 11: ldc #3 // String LAST_UPDATED\fR
|
||||
\fB 13: invokevirtual #4 // Method\fR
|
||||
\fB getParameter:(Ljava/lang/String;)Ljava/lang/String;\fR
|
||||
\fB 16: putfield #5 // Field date:Ljava/lang/String;\fR
|
||||
\fB 19: aload_0 \fR
|
||||
\fB 20: aload_0 \fR
|
||||
\fB 21: ldc #6 // String EMAIL\fR
|
||||
\fB 23: invokevirtual #4 // Method\fR
|
||||
\fB getParameter:(Ljava/lang/String;)Ljava/lang/String;\fR
|
||||
\fB 26: putfield #7 // Field email:Ljava/lang/String;\fR
|
||||
\fB 29: return \fR
|
||||
|
||||
\fB public void paint(java\&.awt\&.Graphics);\fR
|
||||
\fB Code:\fR
|
||||
\fB 0: aload_1 \fR
|
||||
\fB 1: new #8 // class java/lang/StringBuilder\fR
|
||||
\fB 4: dup \fR
|
||||
\fB 5: invokespecial #9 // Method\fR
|
||||
\fB java/lang/StringBuilder\&."<init>":()V\fR
|
||||
\fB 8: aload_0 \fR
|
||||
\fB 9: getfield #5 // Field date:Ljava/lang/String;\fR
|
||||
\fB 12: invokevirtual #10 // Method\fR
|
||||
\fB java/lang/StringBuilder\&.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;\fR
|
||||
\fB 15: ldc #11 // String by \fR
|
||||
\fB 17: invokevirtual #10 // Method\fR
|
||||
\fB java/lang/StringBuilder\&.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;\fR
|
||||
\fB 20: invokevirtual #12 // Method\fR
|
||||
\fB java/lang/StringBuilder\&.toString:()Ljava/lang/String;\fR
|
||||
\fB 23: bipush 100\fR
|
||||
\fB 25: bipush 15\fR
|
||||
\fB 27: invokevirtual #13 // Method\fR
|
||||
\fB java/awt/Graphics\&.drawString:(Ljava/lang/String;II)V\fR
|
||||
\fB 30: aload_1 \fR
|
||||
\fB 31: aload_0 \fR
|
||||
\fB 32: getfield #7 // Field email:Ljava/lang/String;\fR
|
||||
\fB 35: sipush 290\fR
|
||||
\fB 38: bipush 15\fR
|
||||
\fB 40: invokevirtual #13 // Method\fR
|
||||
\fBjava/awt/Graphics\&.drawString:(Ljava/lang/String;II)V\fR
|
||||
\fB 43: return \fR
|
||||
\fB}\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
javac(1)
|
||||
.RE
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
@ -315,7 +316,18 @@ java(1)
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
jdb(1)
|
||||
javac(1)
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
javadoc(1)
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@ -337,7 +349,18 @@ javah(1)
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
javadoc(1)
|
||||
jdb(1)
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
jdeps(1)
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: javaws
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Java Web Startツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "javaws" "1" "2013年11月21日" "JDK 8" "Java Web Startツール"
|
||||
.\" Title: javaws
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Java Web Startツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "javaws" "1" "2013年11月21日" "JDK 8" "Java Web Startツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
javaws \- Java Web Startを起動します。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
javaws \- Java Web Startを起動します。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjavaws\fR [ \fIrun\-options\fR ] \fIjnlp\fR
|
||||
\fBjavaws\fR [ \fIrun\-options\fR ] \fIjnlp\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -66,7 +68,7 @@ javaws \- Java Web Startを起動します。
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjavaws\fR [ \fIcontrol\-options\fR ]
|
||||
\fBjavaws\fR [ \fIcontrol\-options\fR ]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -74,147 +76,147 @@ javaws \- Java Web Startを起動します。
|
||||
.PP
|
||||
\fIrun\-options\fR
|
||||
.RS 4
|
||||
コマンドライン\fI実行オプション\fR。\fI実行オプション\fRは任意の順序で指定できます。実行オプションを参照してください。
|
||||
コマンド行\fB実行オプション\fR。\fB実行オプション\fRは任意の順序で指定できます。実行オプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIjnlp\fR
|
||||
.RS 4
|
||||
JNLP (Java Network Launching Protocol)ファイルのパスまたはURL (Uniform Resource Locator)のどちらか。
|
||||
JNLP (Java Network Launching Protocol)ファイルのパスまたはURL (Uniform Resource Locator)のどちらか。
|
||||
.RE
|
||||
.PP
|
||||
\fI制御オプション\fR
|
||||
\fI制御オプション\fR
|
||||
.RS 4
|
||||
コマンドライン\fI制御オプション\fR。\fI制御オプション\fRは任意の順序で指定できます。制御オプションを参照してください。
|
||||
コマンド行\fB制御オプション\fR。\fB制御オプション\fRは任意の順序で指定できます。制御オプションを参照してください。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fB注意:\fR
|
||||
\fIjavaws\fRコマンドは、Oracle Solarisでは使用できません。
|
||||
\fB注意:\fR
|
||||
\fBjavaws\fRコマンドは、Oracle Solarisでは使用できません。
|
||||
.PP
|
||||
\fIjavaws\fRコマンドは、JNLPのリファレンス実装であるJava Web Startを起動します。Java Web Startは、ネットワーク上で動作するJavaアプリケーションおよびアプレットを起動します。
|
||||
\fBjavaws\fRコマンドは、JNLPのリファレンス実装であるJava Web Startを起動します。Java Web Startは、ネットワーク上で動作するJavaアプリケーションおよびアプレットを起動します。
|
||||
.PP
|
||||
JNLPファイルが指定されると、\fIjavaws\fRコマンドはJNLPファイルで指定したJavaアプリケーションまたはアプレットを起動します。
|
||||
JNLPファイルが指定されると、\fBjavaws\fRコマンドはJNLPファイルで指定したJavaアプリケーションまたはアプレットを起動します。
|
||||
.PP
|
||||
\fIjavaws\fR起動ツールには、現在のリリースでサポートされている1組のオプションがあります。ただし、これらのオプションは将来のリリースでは削除される可能性があります。
|
||||
.SH "実行オプション"
|
||||
\fBjavaws\fR起動ツールには、現在のリリースでサポートされている1組のオプションがあります。ただし、これらのオプションは将来のリリースでは削除される可能性があります。
|
||||
.SH "実行オプション"
|
||||
.PP
|
||||
\-offline
|
||||
.RS 4
|
||||
Java Web Startをオフライン・モードで実行します。
|
||||
Java Web Startをオフライン・モードで実行します。
|
||||
.RE
|
||||
.PP
|
||||
\-Xnosplash
|
||||
.RS 4
|
||||
初期スプラッシュ画面を表示しません。
|
||||
初期スプラッシュ画面を表示しません。
|
||||
.RE
|
||||
.PP
|
||||
\-open \fIarguments\fR
|
||||
.RS 4
|
||||
このオプションを指定すると、JNLPファイル内の引数が\fI\-open\fR
|
||||
\fIarguments\fRに置き換わります。
|
||||
このオプションを指定すると、JNLPファイル内の引数が\fB\-open\fR
|
||||
\fBarguments\fRに置き換わります。
|
||||
.RE
|
||||
.PP
|
||||
\-print \fIarguments\fR
|
||||
.RS 4
|
||||
このオプションを指定すると、JNLPファイル内の引数が\fI\-print\fR
|
||||
\fIarguments\fRに置き換わります。
|
||||
このオプションを指定すると、JNLPファイル内の引数が\fB\-print\fR
|
||||
\fBarguments\fRに置き換わります。
|
||||
.RE
|
||||
.PP
|
||||
\-online
|
||||
.RS 4
|
||||
オンライン・モードを使用します。これは、デフォルトの動作です。
|
||||
オンライン・モードを使用します。これは、デフォルトの動作です。
|
||||
.RE
|
||||
.PP
|
||||
\-wait
|
||||
.RS 4
|
||||
\fIjavaws\fRプロセスは、アプリケーションが終了するまで終了しません。Windowsプラットフォーム上では、このオプションは説明したとおりに機能しません。
|
||||
\fBjavaws\fRプロセスは、アプリケーションが終了するまで終了しません。Windowsプラットフォーム上では、このオプションは説明したとおりに機能しません。
|
||||
.RE
|
||||
.PP
|
||||
\-verbose
|
||||
.RS 4
|
||||
追加の出力を表示します。
|
||||
追加の出力を表示します。
|
||||
.RE
|
||||
.PP
|
||||
\-J\fIoption\fR
|
||||
.RS 4
|
||||
Java仮想マシンにoptionを渡します。\fIoption\fRには、Javaアプリケーション起動ツールのリファレンス・ページに記載されているオプションを1つ指定します。たとえば、\fI\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。java(1)を参照してください。
|
||||
Java Virtual Machineにoptionを渡します。\fBoption\fRには、Javaアプリケーション起動ツールのリファレンス・ページに記載されているオプションを1つ指定します。たとえば、\fB\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。java(1)を参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\-system
|
||||
.RS 4
|
||||
アプリケーションをシステム・キャッシュのみから実行します。
|
||||
アプリケーションをシステム・キャッシュのみから実行します。
|
||||
.RE
|
||||
.SH "制御オプション"
|
||||
.SH "制御オプション"
|
||||
.PP
|
||||
\-viewer
|
||||
.RS 4
|
||||
Javaコントロール・パネルでキャッシュ・ビューアを表示します。
|
||||
Javaコントロール・パネルでキャッシュ・ビューアを表示します。
|
||||
.RE
|
||||
.PP
|
||||
\-clearcache
|
||||
.RS 4
|
||||
インストールされていないすべてのアプリケーションをキャッシュから削除します。
|
||||
インストールされていないすべてのアプリケーションをキャッシュから削除します。
|
||||
.RE
|
||||
.PP
|
||||
\-userConfig \fIproperty\-name\fR
|
||||
.RS 4
|
||||
指定されたデプロイメント・プロパティをクリアします。
|
||||
指定されたデプロイメント・プロパティをクリアします。
|
||||
.RE
|
||||
.PP
|
||||
\-userConfig \fIproperty\-name property\-value\fR
|
||||
.RS 4
|
||||
指定されたデプロイメント・プロパティを指定された値に設定します。
|
||||
指定されたデプロイメント・プロパティを指定された値に設定します。
|
||||
.RE
|
||||
.PP
|
||||
\-uninstall
|
||||
.RS 4
|
||||
キャッシュからすべてのアプリケーションを削除します。
|
||||
キャッシュからすべてのアプリケーションを削除します。
|
||||
.RE
|
||||
.PP
|
||||
\-uninstall \fIjnlp\fR
|
||||
.RS 4
|
||||
キャッシュからアプリケーションを削除します。
|
||||
キャッシュからアプリケーションを削除します。
|
||||
.RE
|
||||
.PP
|
||||
\-print \fIimport\-options \fRjnlp
|
||||
.RS 4
|
||||
キャッシュにアプリケーションをインポートします。
|
||||
キャッシュにアプリケーションをインポートします。
|
||||
.RE
|
||||
.SH "インポート・オプション"
|
||||
.SH "インポート・オプション"
|
||||
.PP
|
||||
\-silent
|
||||
.RS 4
|
||||
サイレント・モードでインポートします(ユーザー・インタフェースは表示されません)。
|
||||
サイレント・モードでインポートします(ユーザー・インタフェースは表示されません)。
|
||||
.RE
|
||||
.PP
|
||||
\-system
|
||||
.RS 4
|
||||
システム・キャッシュにアプリケーションをインポートします。
|
||||
システム・キャッシュにアプリケーションをインポートします。
|
||||
.RE
|
||||
.PP
|
||||
\-codebase \fIurl\fR
|
||||
.RS 4
|
||||
指定したコードベースからリソースを取得します。
|
||||
指定したコードベースからリソースを取得します。
|
||||
.RE
|
||||
.PP
|
||||
\-shortcut
|
||||
.RS 4
|
||||
ユーザーがプロンプトを受け入れればショートカットをインストールします。このオプションは、
|
||||
\fI\-silent\fRオプションも使用しないと効果がありません。
|
||||
ユーザーがプロンプトを受け入れればショートカットをインストールします。このオプションは、
|
||||
\fB\-silent\fRオプションも使用しないと効果がありません。
|
||||
.RE
|
||||
.PP
|
||||
\-association
|
||||
.RS 4
|
||||
ユーザーがプロンプトを受け入れればアソシエーションをインストールします。このオプションは、
|
||||
\fI\-silent\fRオプションも使用しないと効果がありません。
|
||||
ユーザーがプロンプトを受け入れればアソシエーションをインストールします。このオプションは、
|
||||
\fB\-silent\fRオプションも使用しないと効果がありません。
|
||||
.RE
|
||||
.PP
|
||||
\fB注意:\fR\fIjavaws \-shortcut \-uninstall\fR
|
||||
.SH "ファイル"
|
||||
\fB注意:\fR\fBjavaws \-shortcut \-uninstall\fR
|
||||
.SH "ファイル"
|
||||
.PP
|
||||
ユーザーおよびシステム・キャッシュならびにdeployment\&.propertiesファイルの詳細は、構成ファイルおよびプロパティのデプロイメント
|
||||
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/deployment/deployment\-guide/properties\&.html)を参照してください
|
||||
.SH "関連項目"
|
||||
ユーザーおよびシステム・キャッシュならびにdeployment\&.propertiesファイルの詳細は、デプロイメント構成ファイルおよびプロパティ
|
||||
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/jweb/jcp/properties\&.html)を参照してください
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: jcmd
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: トラブルシューティング・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "jcmd" "1" "2013年11月21日" "JDK 8" "トラブルシューティング・ツール"
|
||||
.\" Title: jcmd
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: トラブルシューティング・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "jcmd" "1" "2013年11月21日" "JDK 8" "トラブルシューティング・ツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
jcmd \- 実行中のJava仮想マシン(JVM)に診断コマンド・リクエストを送信します。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
jcmd \- 実行中のJava Virtual Machine (JVM)に診断コマンド・リクエストを送信します。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjcmd\fR [\fI\-l\fR|\fI\-h\fR|\fI\-help\fR]
|
||||
\fBjcmd\fR [\fB\-l\fR|\fB\-h\fR|\fB\-help\fR]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -66,7 +68,7 @@ jcmd \- 実行中のJava仮想マシン(JVM)に診断コマンド・リクエス
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjcmd\fR \fIpid\fR|\fImain\-class\fR \fIPerfCounter\&.print\fR
|
||||
\fBjcmd\fR \fIpid\fR|\fImain\-class\fR \fBPerfCounter\&.print\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -76,7 +78,7 @@ jcmd \- 実行中のJava仮想マシン(JVM)に診断コマンド・リクエス
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjcmd\fR \fIpid\fR|\fImain\-class\fR \fI\-f\fR \fIfilename\fR
|
||||
\fBjcmd\fR \fIpid\fR|\fImain\-class\fR \fB\-f\fR \fIfilename\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -86,58 +88,60 @@ jcmd \- 実行中のJava仮想マシン(JVM)に診断コマンド・リクエス
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjcmd\fR \fIpid\fR|\fImain\-class\fR \fIcommand\fR[ \fIarguments\fR]
|
||||
\fBjcmd\fR \fIpid\fR|\fImain\-class\fR \fIcommand\fR[ \fIarguments\fR]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIjcmd\fRユーティリティは、JVMに診断コマンド・リクエストを送信するために使用されます。これはJVMが稼働しているのと同じマシンで使用し、JVMの起動に使用したものと同じ有効ユーザーおよびグループ識別子を持っている必要があります。
|
||||
\fBjcmd\fRユーティリティは、JVMに診断コマンド・リクエストを送信するために使用されます。これはJVMが稼働しているのと同じマシンで使用し、JVMの起動に使用したものと同じ有効ユーザーおよびグループ識別子を持っている必要があります。
|
||||
.PP
|
||||
\fB注意:\fR
|
||||
リモート・マシンから、または別の識別子で診断コマンドを起動するには、\fIcom\&.sun\&.management\&.DiagnosticCommandMBean\fRインタフェースを使用できます。\fIDiagnosticCommandMBean\fRインタフェースの詳細は、http://download\&.java\&.net/jdk8/docs/jre/api/management/extension/com/sun/management/DiagnosticCommandMBean\&.htmlにあるAPIドキュメントを参照してください。
|
||||
\fB注意:\fR
|
||||
リモート・マシンから、または別の識別子で診断コマンドを起動するには、\fBcom\&.sun\&.management\&.DiagnosticCommandMBean\fRインタフェースを使用できます。\fBDiagnosticCommandMBean\fRインタフェースの詳細は、http://docs\&.oracle\&.com/javase/8/docs/jre/api/management/extension/com/sun/management/DiagnosticCommandMBean\&.htmlにあるAPIドキュメントを参照してください。
|
||||
.PP
|
||||
\fIjcmd\fRを引数なしまたは\fI\- l\fRオプションを指定して実行した場合は、実行中のJavaプロセス識別子のリストが、メイン・クラスおよびプロセスの起動に使用されたコマンドライン引数とともに出力されます。\fI\-h\fRまたは\fI\-help\fRオプションを指定して\fIjcmd\fRを実行すると、ツールのヘルプ・メッセージが出力されます。
|
||||
\fBjcmd\fRを引数なしまたは\fB\- l\fRオプションを指定して実行した場合は、実行中のJavaプロセス識別子のリストが、メイン・クラスおよびプロセスの起動に使用されたコマンド行引数とともに出力されます。\fB\-h\fRまたは\fB\-help\fRオプションを指定して\fBjcmd\fRを実行すると、ツールのヘルプ・メッセージが出力されます。
|
||||
.PP
|
||||
プロセス識別子(\fIpid\fR)またはメイン・クラス(\fImain\-class\fR)を最初の引数として指定した場合、\fIjcmd\fRは、識別子を指定した場合はJavaプロセスに、メイン・クラスの名前を指定した場合はすべてのJavaプロセスに診断コマンド・リクエストを送信します。プロセス識別子として\fI0\fRを指定して、すべての使用可能なJavaプロセスに診断コマンド・リクエストを送信することもできます。診断コマンド・リクエストとして、次のいずれかを使用します。
|
||||
プロセス識別子(\fIpid\fR)またはメイン・クラス(\fImain\-class\fR)を最初の引数として指定した場合、\fBjcmd\fRは、識別子を指定した場合はJavaプロセスに、メイン・クラスの名前を指定した場合はすべてのJavaプロセスに診断コマンド・リクエストを送信します。プロセス識別子として\fB0\fRを指定して、すべての使用可能なJavaプロセスに診断コマンド・リクエストを送信することもできます。診断コマンド・リクエストとして、次のいずれかを使用します。
|
||||
.PP
|
||||
Perfcounter\&.print
|
||||
.RS 4
|
||||
指定したJavaプロセスで使用可能なパフォーマンス・カウンタが出力されます。パフォーマンス・カウンタのリストはJavaプロセスによって異なる場合があります。
|
||||
指定したJavaプロセスで使用可能なパフォーマンス・カウンタが出力されます。パフォーマンス・カウンタのリストはJavaプロセスによって異なる場合があります。
|
||||
.RE
|
||||
.PP
|
||||
\-f \fIfilename\fR
|
||||
.RS 4
|
||||
診断コマンドを読み取り、指定したJavaプロセスに送信するファイルの名前。\fI\-f\fRオプションでのみ使用します。ファイル内の各コマンドは、1行で記述する必要があります。番号記号(\fI#\fR)で始まる行は無視されます。すべての行が読み取られるか、\fIstop\fRキーワードを含む行が読み取られると、ファイルの処理が終了します。
|
||||
診断コマンドを読み取り、指定したJavaプロセスに送信するファイルの名前。\fB\-f\fRオプションでのみ使用します。ファイル内の各コマンドは、1行で記述する必要があります。番号記号(\fB#\fR)で始まる行は無視されます。すべての行が読み取られるか、\fBstop\fRキーワードを含む行が読み取られると、ファイルの処理が終了します。
|
||||
.RE
|
||||
.PP
|
||||
\fIcommand\fR [\fIarguments\fR]
|
||||
.RS 4
|
||||
指定されたJavaプロセスに送信するコマンド。指定したプロセスで使用できる診断コマンドのリストは、このプロセスに対して\fIhelp\fRコマンドを送信すれば表示されます。各診断コマンドに独自の引数セットがあります。コマンドの説明、構文および使用可能な引数のリストを表示するには、\fIhelp\fRコマンドの引数としてコマンド名を使用します。
|
||||
指定されたJavaプロセスに送信するコマンド。指定したプロセスで使用できる診断コマンドのリストは、このプロセスに対して\fBhelp\fRコマンドを送信すれば表示されます。各診断コマンドに独自の引数セットがあります。コマンドの説明、構文および使用可能な引数のリストを表示するには、\fBhelp\fRコマンドの引数としてコマンド名を使用します。
|
||||
.sp
|
||||
\fB注意:\fR
|
||||
引数にスペースが含まれている場合は、一重引用符または二重引用符(\fI\*(Aq\fRまたは\fI"\fR)で囲む必要があります。加えて、オペレーティング・システム・シェルが引用符を処理しないように、バックスラッシュ(\fI\e\fR)で一重引用符または二重引用符をエスケープする必要があります。または、これらの引数を一重引用符で囲んでから、二重引用符で囲むこともできます(または二重引用符で囲んでから、一重引用符で囲む)。
|
||||
\fB注意:\fR
|
||||
引数にスペースが含まれている場合は、一重引用符または二重引用符(\fB\*(Aq\fRまたは\fB"\fR)で囲む必要があります。加えて、オペレーティング・システム・シェルが引用符を処理しないように、バックスラッシュ(\fB\e\fR)で一重引用符または二重引用符をエスケープする必要があります。または、これらの引数を一重引用符で囲んでから、二重引用符で囲むこともできます(または二重引用符で囲んでから、一重引用符で囲む)。
|
||||
.RE
|
||||
.SH "オプション"
|
||||
.SH "オプション"
|
||||
.PP
|
||||
各オプションは互いに排他的です。
|
||||
各オプションは互いに排他的です。
|
||||
.PP
|
||||
\-f \fIfilename\fR
|
||||
.RS 4
|
||||
指定されたファイルからコマンドを読み取ります。このオプションは、最初の引数としてプロセス識別子またはメイン・クラスを指定する場合にのみ使用できます。ファイル内の各コマンドは、1行で記述する必要があります。番号記号(\fI#\fR)で始まる行は無視されます。すべての行が読み取られるか、\fIstop\fRキーワードを含む行が読み取られると、ファイルの処理が終了します。
|
||||
指定されたファイルからコマンドを読み取ります。このオプションは、最初の引数としてプロセス識別子またはメイン・クラスを指定する場合にのみ使用できます。ファイル内の各コマンドは、1行で記述する必要があります。番号記号(\fB#\fR)で始まる行は無視されます。すべての行が読み取られるか、\fBstop\fRキーワードを含む行が読み取られると、ファイルの処理が終了します。
|
||||
.RE
|
||||
.PP
|
||||
\-h, \-help
|
||||
\-h
|
||||
.br
|
||||
\-help
|
||||
.RS 4
|
||||
ヘルプ・メッセージが出力されます。
|
||||
ヘルプ・メッセージが出力されます。
|
||||
.RE
|
||||
.PP
|
||||
\-l
|
||||
.RS 4
|
||||
実行中のJavaプロセス識別子のリストをメイン・クラスおよびコマンドライン引数とともに出力します。
|
||||
実行中のJavaプロセス識別子のリストをメイン・クラスおよびコマンド行引数とともに出力します。
|
||||
.RE
|
||||
.SH "関連項目"
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: jconsole
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Javaトラブルシューティング、プロファイリング、モニタリングおよび管理ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "jconsole" "1" "2013年11月21日" "JDK 8" "Javaトラブルシューティング、プロファイリング、モニタリン"
|
||||
.\" Title: jconsole
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Javaトラブルシューティング、プロファイリング、モニタリングおよび管理ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "jconsole" "1" "2013年11月21日" "JDK 8" "Javaトラブルシューティング、プロファイリング、モニタリン"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
jconsole \- Javaアプリケーションを監視および管理するためのグラフィカル・コンソールを開始します。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
jconsole \- Javaアプリケーションをモニターおよび管理するためのグラフィカル・コンソールを開始します。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjconsole\fR [ \fIoptions\fR ] [ connection \&.\&.\&. ]
|
||||
\fBjconsole\fR [ \fIoptions\fR ] [ connection \&.\&.\&. ]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,56 +66,56 @@ jconsole \- Javaアプリケーションを監視および管理するための
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
コマンドライン・オプション。オプションを参照してください。
|
||||
コマンド行オプション。オプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
connection = \fIpid\fR | \fIhost\fR:\fIport\fR | \fIjmxURL\fR
|
||||
.RS 4
|
||||
\fIpid\fR値はローカルのJava仮想マシン(JVM)のプロセスIDです。JVMは\fIjconsole\fRコマンドを実行しているユーザーIDと同じユーザーIDで実行する必要があります。\fIhost:port\fR値はJVMが動作しているホスト・システムの名前と、JVMが開始したときにシステム・プロパティ\fIcom\&.sun\&.management\&.jmxremote\&.port\fRで指定したポート番号です。\fIjmxUrl\fR値は、JMXServiceURLで記述されている、接続されるJMXエージェントのアドレスです。
|
||||
\fBpid\fR値はローカルのJava Virtual Machine (JVM)のプロセスIDです。JVMは\fBjconsole\fRコマンドを実行しているユーザーIDと同じユーザーIDで実行する必要があります。\fBhost:port\fR値はJVMが動作しているホスト・システムの名前と、JVMが開始したときにシステム・プロパティ\fBcom\&.sun\&.management\&.jmxremote\&.port\fRで指定したポート番号です。\fBjmxUrl\fR値は、JMXServiceURLで記述されている、接続されるJMXエージェントのアドレスです。
|
||||
.sp
|
||||
\fIconnection\fRパラメータの詳細は、JMXテクノロジを使用したモニタリングおよび管理
|
||||
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/management/agent\&.html)を参照してください
|
||||
\fBconnection\fRパラメータの詳細は、JMXテクノロジを使用したモニタリングおよび管理
|
||||
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/management/agent\&.html)を参照してください
|
||||
.sp
|
||||
\fIJMXServiceURL\fRクラスの説明(
|
||||
http://docs\&.oracle\&.com/javase/8/docs/api/javax/management/remote/JMXServiceURL\&.html)も参照してください
|
||||
\fBJMXServiceURL\fRクラスの説明(
|
||||
http://docs\&.oracle\&.com/javase/8/docs/api/javax/management/remote/JMXServiceURL\&.html)も参照してください
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIjconsole\fRコマンドは、ローカル・マシンまたはリモート・マシン上のJavaアプリケーションと仮想マシンの監視と管理を行うグラフィカル・コンソール・ツールを起動します。
|
||||
\fBjconsole\fRコマンドは、ローカル・マシンまたはリモート・マシン上のJavaアプリケーションと仮想マシンのモニターと管理を行うグラフィカル・コンソール・ツールを起動します。
|
||||
.PP
|
||||
Windows上では、\fIjconsole\fRコマンドはコンソール・ウィンドウと関連付けられていません。ただし、\fIjconsole\fRコマンドが失敗すると、エラー情報を示すダイアログ・ボックスが表示されます。
|
||||
.SH "オプション"
|
||||
Windows上では、\fBjconsole\fRコマンドはコンソール・ウィンドウと関連付けられていません。ただし、\fBjconsole\fRコマンドが失敗すると、エラー情報を示すダイアログ・ボックスが表示されます。
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\-interval\fI=n\fR
|
||||
.RS 4
|
||||
更新間隔を\fIn\fR秒に設定します(デフォルトは4秒)。
|
||||
更新間隔を\fIn\fR秒に設定します(デフォルトは4秒)。
|
||||
.RE
|
||||
.PP
|
||||
\-notile
|
||||
.RS 4
|
||||
最初にウィンドウをタイリングしません(複数接続の場合)。
|
||||
最初にウィンドウをタイル表示しません(複数接続の場合)。
|
||||
.RE
|
||||
.PP
|
||||
\-pluginpath \fIplugins\fR
|
||||
.RS 4
|
||||
\fIJConsole\fRプラグインを検索するディレクトリまたはJARファイルのリストを指定します。\fIplugins\fRパスには\fIMETA\-INF/services/com\&.sun\&.tools\&.jconsole\&.JConsolePlugin\fRという名前のプロバイダ構成ファイルを含んでいる必要があり、これにはプラグインごとに1行が含まれています。その行は\fIcom\&.sun\&.tools\&.jconsole\&.JConsolePlugin\fRクラスを実装しているクラスの完全修飾クラス名を指定します。
|
||||
\fBJConsole\fRプラグインを検索するディレクトリまたはJARファイルのリストを指定します。\fIplugins\fRパスには\fBMETA\-INF/services/com\&.sun\&.tools\&.jconsole\&.JConsolePlugin\fRという名前のプロバイダ構成ファイルを含んでいる必要があり、これにはプラグインごとに1行が含まれています。その行は\fBcom\&.sun\&.tools\&.jconsole\&.JConsolePlugin\fRクラスを実装しているクラスの完全修飾クラス名を指定します。
|
||||
.RE
|
||||
.PP
|
||||
\-version
|
||||
.RS 4
|
||||
リリース情報を表示して終了します。
|
||||
リリース情報を表示して終了します。
|
||||
.RE
|
||||
.PP
|
||||
\-help
|
||||
.RS 4
|
||||
ヘルプ・メッセージを表示します。
|
||||
ヘルプ・メッセージを表示します。
|
||||
.RE
|
||||
.PP
|
||||
\-J\fIflag\fR
|
||||
.RS 4
|
||||
\fIjconsole\fRコマンドを実行したJVMに\fIflag\fRを渡します。
|
||||
\fBjconsole\fRコマンドを実行したJVMに\fBflag\fRを渡します。
|
||||
.RE
|
||||
.SH "関連項目"
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
@ -123,7 +125,7 @@ Windows上では、\fIjconsole\fRコマンドはコンソール・ウィンド
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
JConsoleの使用
|
||||
JConsoleの使用
|
||||
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/management/jconsole\&.html)
|
||||
.RE
|
||||
.sp
|
||||
@ -135,7 +137,7 @@ JConsoleの使用
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
JMXテクノロジを使用したモニタリングおよび管理
|
||||
JMXテクノロジを使用したモニタリングおよび管理
|
||||
|
||||
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/management/agent\&.html)
|
||||
.RE
|
||||
@ -148,7 +150,7 @@ JMXテクノロジを使用したモニタリングおよび管理
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
\fIJMXServiceURL\fRクラスの説明(
|
||||
\fBJMXServiceURL\fRクラスの説明(
|
||||
http://docs\&.oracle\&.com/javase/8/docs/api/javax/management/remote/JMXServiceURL\&.html)
|
||||
.RE
|
||||
.br
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: jdb
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: 基本ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 1995, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "jdb" "1" "2013年11月21日" "JDK 8" "基本ツール"
|
||||
.\" Title: jdb
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: 基本ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "jdb" "1" "2013年11月21日" "JDK 8" "基本ツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
jdb \- Javaプラットフォーム・プログラムの不具合を検出および修正します。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
jdb \- Javaプラットフォーム・プログラムのbugを検出および修正します。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjdb\fR [\fIoptions\fR] [\fIclassname\fR] [\fIarguments\fR]
|
||||
\fBjdb\fR [\fIoptions\fR] [\fIclassname\fR] [\fIarguments\fR]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,102 +66,106 @@ jdb \- Javaプラットフォーム・プログラムの不具合を検出およ
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
コマンドライン・オプション。オプションを参照してください。
|
||||
コマンド行オプション。オプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIclass\fRname
|
||||
.RS 4
|
||||
デバッグするメイン・クラスの名前。
|
||||
デバッグするメイン・クラスの名前。
|
||||
.RE
|
||||
.PP
|
||||
\fIarguments\fR
|
||||
.RS 4
|
||||
classの\fImain()\fRメソッドに渡す引数。
|
||||
classの\fBmain()\fRメソッドに渡す引数。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
Javaデバッガ(JDB)は、Javaクラス用の簡単なコマンドライン・デバッガです。\fIjdb\fRコマンドとそのオプションはJDBを呼び出します。\fIjdb\fRコマンドは、JDBA (Java Platform Debugger Architecture)を視覚的に実行し、ローカルまたはリモートのJava仮想マシン(JVM)の検査とデバッグを行うことができます。Java Platform Debugger Architecture (JDBA)
|
||||
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/jpda/index\&.html)を参照してください。
|
||||
.SS "JDBセッションの開始"
|
||||
Javaデバッガ(JDB)は、Javaクラス用の簡単なコマンド行デバッガです。\fBjdb\fRコマンドとそのオプションはJDBを呼び出します。\fBjdb\fRコマンドは、JDBA (Java Platform Debugger Architecture)を視覚的に実行し、ローカルまたはリモートのJava Virtual Machine (JVM)の検査とデバッグを行うことができます。Java Platform Debugger Architecture (JDBA)
|
||||
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/jpda/index\&.html)を参照してください。
|
||||
.SS "JDBセッションの開始"
|
||||
.PP
|
||||
JDBセッションを開始するには様々な方法があります。最も頻繁に使用されるのは、デバッグするアプリケーションのメイン・クラスを使用して、JDBから新しいJVMを起動する方法です。コマンドラインで、\fIjava\fRコマンドのかわりに\fIjdb\fRコマンドを入力します。たとえば、アプリケーションのメイン・クラスが\fIMyClass\fRの場合は、JDB環境でデバッグするときに次のコマンドを使用します。
|
||||
JDBセッションを開始するには様々な方法があります。最も頻繁に使用されるのは、デバッグするアプリケーションのメイン・クラスを使用して、JDBから新しいJVMを起動する方法です。コマンド行で、\fBjava\fRコマンドのかわりに\fBjdb\fRコマンドを入力します。たとえば、アプリケーションのメイン・クラスが\fBMyClass\fRの場合は、JDB環境でデバッグするときに次のコマンドを使用します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jdb MyClass
|
||||
\fBjdb MyClass\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
この方法で起動すると、\fIjdb\fRコマンドは、指定されたパラメータを使用して2つ目のJVMを呼び出します。次に、指定されたクラスをロードして、クラスの最初の命令を実行する前にJVMを停止させます。
|
||||
この方法で起動すると、\fBjdb\fRコマンドは、指定されたパラメータを使用して2つ目のJVMを呼び出します。次に、指定されたクラスをロードして、クラスの最初の命令を実行する前にJVMを停止させます。
|
||||
.PP
|
||||
\fIjdb\fRコマンドのもう1つの使用方法は、すでに実行中のJVMにjdbを接続することです。\fIjdb\fRコマンドが接続するVMを、その実行中に起動するための構文を次に示します。これは、インプロセス・デバッグ用ライブラリをロードし、接続の種類を指定します。
|
||||
\fBjdb\fRコマンドのもう1つの使用方法は、すでに実行中のJVMにjdbを接続することです。\fBjdb\fRコマンドが接続するVMを、その実行中に起動するための構文を次に示します。これは、インプロセス・デバッグ用ライブラリをロードし、接続の種類を指定します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
java \-agentlib:jdwp=transport=dt_socket,server=y,suspend=n MyClass
|
||||
\fBjava \-agentlib:jdwp=transport=dt_socket,server=y,suspend=n MyClass\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
次のコマンドを使用して、\fIjdb\fRコマンドをJVMに接続できます。
|
||||
次のコマンドを使用して、\fBjdb\fRコマンドをJVMに接続できます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jdb \-attach 8000
|
||||
\fBjdb \-attach 8000\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
この場合、\fIjdb\fRコマンドは新しいJVMを起動するかわりに既存のJVMに接続されるため、\fIjdb\fRコマンドラインに\fIMyClass\fR引数は指定しません。
|
||||
この場合、\fBjdb\fRコマンドは新しいJVMを起動するかわりに既存のJVMに接続されるため、\fBjdb\fRコマンド行に\fBMyClass\fR引数は指定しません。
|
||||
.PP
|
||||
デバッガをJVMに接続するには他にも様々な方法があり、すべて\fIjdb\fRコマンドでサポートされています。接続オプションについては、Java Platform Debugger Architectureのドキュメントを参照してください。
|
||||
.SS "基本jdbコマンド"
|
||||
デバッガをJVMに接続するには他にも様々な方法があり、すべて\fBjdb\fRコマンドでサポートされています。接続オプションについては、Java Platform Debugger Architectureのドキュメントを参照してください。
|
||||
.SS "基本jdbコマンド"
|
||||
.PP
|
||||
基本的な\fIjdb\fRコマンドの一覧を示します。JDBがサポートするコマンドはこれ以外にもあり、それらは\fI\-help\fRオプションを使用して表示できます。
|
||||
基本的な\fBjdb\fRコマンドの一覧を示します。JDBがサポートするコマンドはこれ以外にもあり、それらは\fB\-help\fRオプションを使用して表示できます。
|
||||
.PP
|
||||
helpまたは?
|
||||
helpまたは?
|
||||
.RS 4
|
||||
\fIhelp\fRまたは\fI?\fRコマンドは、認識されたコマンドのリストに簡潔な説明を付けて表示します。
|
||||
\fBhelp\fRまたは\fB?\fRコマンドは、認識されたコマンドのリストに簡潔な説明を付けて表示します。
|
||||
.RE
|
||||
.PP
|
||||
run
|
||||
.RS 4
|
||||
JDBを起動してブレークポイントを設定したあとに、\fIrun\fRコマンドを使用して、デバッグするアプリケーションの実行を開始できます。\fIrun\fRコマンドは、既存のVMに接続している場合とは異なり、デバッグするアプリケーションが\fIjdb\fRから起動したときにのみ使用できます。
|
||||
JDBを起動してブレークポイントを設定したあとに、\fBrun\fRコマンドを使用して、デバッグするアプリケーションの実行を開始できます。\fBrun\fRコマンドは、既存のVMに接続している場合とは異なり、デバッグするアプリケーションが\fBjdb\fRから起動したときにのみ使用できます。
|
||||
.RE
|
||||
.PP
|
||||
cont
|
||||
.RS 4
|
||||
ブレークポイント、例外、またはステップ実行の後で、デバッグするアプリケーションの実行を継続します。
|
||||
ブレークポイント、例外、またはステップ実行の後で、デバッグするアプリケーションの実行を継続します。
|
||||
.RE
|
||||
.PP
|
||||
print
|
||||
.RS 4
|
||||
Javaオブジェクトおよびプリミティブ値を表示します。プリミティブ型の変数またはフィールドの場合には、実際の値が出力されます。オブジェクトの場合には、短い説明が出力されます。オブジェクトの詳細を取得する方法を探すには、dumpコマンドを参照してください。
|
||||
Javaオブジェクトおよびプリミティブ値を表示します。プリミティブ型の変数またはフィールドの場合には、実際の値が出力されます。オブジェクトの場合には、短い説明が出力されます。オブジェクトの詳細を取得する方法を探すには、dumpコマンドを参照してください。
|
||||
.sp
|
||||
\fB注意:\fR
|
||||
ローカル変数を表示するには、含んでいるクラスが\fIjavac \-g\fRオプションを使用してコンパイルされている必要があります。
|
||||
\fB注意:\fR
|
||||
ローカル変数を表示するには、含んでいるクラスが\fBjavac \-g\fRオプションを使用してコンパイルされている必要があります。
|
||||
.sp
|
||||
\fIprint\fRコマンドは、次に示すような、メソッド呼出しを使用したものなど、多くの簡単なJava式をサポートします。
|
||||
\fBprint\fRコマンドは、次に示すような、メソッド呼出しを使用したものなど、多くの簡単なJava式をサポートします。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
print MyClass\&.myStaticField
|
||||
print myObj\&.myInstanceField
|
||||
print i + j + k (i, j, k are primities and either fields or local variables)
|
||||
print myObj\&.myMethod() (if myMethod returns a non\-null)
|
||||
print new java\&.lang\&.String("Hello")\&.length()
|
||||
\fBprint MyClass\&.myStaticField\fR
|
||||
\fBprint myObj\&.myInstanceField\fR
|
||||
\fBprint i + j + k (i, j, k are primities and either fields or local variables)\fR
|
||||
\fBprint myObj\&.myMethod() (if myMethod returns a non\-null)\fR
|
||||
\fBprint new java\&.lang\&.String("Hello")\&.length()\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -168,18 +174,19 @@ print new java\&.lang\&.String("Hello")\&.length()
|
||||
.PP
|
||||
dump
|
||||
.RS 4
|
||||
プリミティブ値の場合、\fIdump\fRコマンドは\fIprint\fRコマンドと同一です。オブジェクトの場合、\fIdump\fRコマンドでは、オブジェクト内に定義されている各フィールドの現在の値が出力されます。staticフィールドとinstanceフィールドが出力されます。\fIdump\fRコマンドでは、\fIprint\fRコマンドと同じ式がサポートされます。
|
||||
プリミティブ値の場合、\fBdump\fRコマンドは\fBprint\fRコマンドと同一です。オブジェクトの場合、\fBdump\fRコマンドでは、オブジェクト内に定義されている各フィールドの現在の値が出力されます。staticフィールドとinstanceフィールドが出力されます。\fBdump\fRコマンドでは、\fBprint\fRコマンドと同じ式がサポートされます。
|
||||
.RE
|
||||
.PP
|
||||
threads
|
||||
.RS 4
|
||||
現在実行中のスレッドを一覧表示します。スレッドごとに、名前と現在の状態、および他のコマンドに使用できるインデックスが出力されます。この例では、スレッド・インデックスは4であり、スレッドは\fIjava\&.lang\&.Thread\fRのインスタンスで、スレッドの名前は\fImain\fRであり、現在実行中です。
|
||||
現在実行中のスレッドを一覧表示します。スレッドごとに、名前と現在の状態、および他のコマンドに使用できるインデックスが出力されます。この例では、スレッド・インデックスは4であり、スレッドは\fBjava\&.lang\&.Thread\fRのインスタンスで、スレッドの名前は\fBmain\fRであり、現在実行中です。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
4\&. (java\&.lang\&.Thread)0x1 main running
|
||||
\fB4\&. (java\&.lang\&.Thread)0x1 main running\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -188,20 +195,20 @@ threads
|
||||
.PP
|
||||
thread
|
||||
.RS 4
|
||||
現在のスレッドにするスレッドを選択します。多くの\fIjdb\fRコマンドは、現在のスレッドの設定に基づいて実行されます。スレッドは、threadsコマンドで説明したスレッド・インデックスとともに指定します。
|
||||
現在のスレッドにするスレッドを選択します。多くの\fBjdb\fRコマンドは、現在のスレッドの設定に基づいて実行されます。スレッドは、threadsコマンドで説明したスレッド・インデックスとともに指定します。
|
||||
.RE
|
||||
.PP
|
||||
where
|
||||
.RS 4
|
||||
引数を指定しないで\fIwhere\fRコマンドを実行すると、現在のスレッドのスタックがダンプされます。\fIwhere\fR
|
||||
\fIall\fRコマンドは、現在のスレッド・グループにあるスレッドのスタックをすべてダンプします。\fIwhere\fR
|
||||
\fIthreadindex\fRコマンドは、指定されたスレッドのスタックをダンプします。
|
||||
引数を指定しないで\fBwhere\fRコマンドを実行すると、現在のスレッドのスタックがダンプされます。\fBwhere\fR
|
||||
\fBall\fRコマンドは、現在のスレッド・グループにあるスレッドのスタックをすべてダンプします。\fBwhere\fR
|
||||
\fBthreadindex\fRコマンドは、指定されたスレッドのスタックをダンプします。
|
||||
.sp
|
||||
現在のスレッドが(ブレークポイントか\fIsuspend\fRコマンドによって)中断している場合は、ローカル変数とフィールドは\fIprint\fRコマンドと\fIdump\fRコマンドで表示できます。\fIup\fRコマンドと\fIdown\fRコマンドで、どのスタック・フレームを現在のスタック・フレームにするかを選ぶことができます。
|
||||
現在のスレッドが(ブレークポイントか\fBsuspend\fRコマンドによって)中断している場合は、ローカル変数とフィールドは\fBprint\fRコマンドと\fBdump\fRコマンドで表示できます。\fBup\fRコマンドと\fBdown\fRコマンドで、どのスタック・フレームを現在のスタック・フレームにするかを選ぶことができます。
|
||||
.RE
|
||||
.SS "ブレークポイント"
|
||||
.SS "ブレークポイント"
|
||||
.PP
|
||||
ブレークポイントは、行番号またはメソッドの最初の命令でJDBに設定できます。次に例を示します。
|
||||
ブレークポイントは、行番号またはメソッドの最初の命令でJDBに設定できます。次に例を示します。
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
@ -211,7 +218,7 @@ where
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
コマンド\fIstop at MyClass:22\fRは、\fIMyClass\fRが含まれるソース・ファイルの22行目の最初の命令にブレークポイントを設定します。
|
||||
コマンド\fBstop at MyClass:22\fRは、\fBMyClass\fRが含まれるソース・ファイルの22行目の最初の命令にブレークポイントを設定します。
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@ -222,7 +229,7 @@ where
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
コマンド\fIstop in java\&.lang\&.String\&.length\fRは、メソッド\fIjava\&.lang\&.String\&.length\fRの先頭にブレークポイントを設定します。
|
||||
コマンド\fBstop in java\&.lang\&.String\&.length\fRは、メソッド\fBjava\&.lang\&.String\&.length\fRの先頭にブレークポイントを設定します。
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@ -233,106 +240,106 @@ where
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
コマンド\fIstop in MyClass\&.<clinit>\fRは、\fI<clinit>\fRを使用して\fIMyClass\fRの静的初期化コードを特定します。
|
||||
コマンド\fBstop in MyClass\&.<clinit>\fRは、\fB<clinit>\fRを使用して、\fBMyClass\fRの静的初期化コードを特定します。
|
||||
.RE
|
||||
.PP
|
||||
メソッドがオーバーロードされている場合には、メソッドの引数の型も指定して、ブレークポイントに対して適切なメソッドが選択されるようにする必要があります。たとえば、\fIMyClass\&.myMethod(int,java\&.lang\&.String)\fRまたは\fIMyClass\&.myMethod()\fRと指定します。
|
||||
メソッドがオーバーロードされている場合には、メソッドの引数の型も指定して、ブレークポイントに対して適切なメソッドが選択されるようにする必要があります。たとえば、\fBMyClass\&.myMethod(int,java\&.lang\&.String)\fRまたは\fBMyClass\&.myMethod()\fRと指定します。
|
||||
.PP
|
||||
\fIclear\fRコマンドは、\fIclear MyClass:45\fRのような構文を使用してブレークポイントを削除します。\fIclear\fRを使用するか、引数を指定しないで\fIstop\fRコマンドを使用すると、現在設定されているすべてのブレークポイントが表示されます。\fIcont\fRコマンドは実行を継続します。
|
||||
.SS "ステップ実行"
|
||||
\fBclear\fRコマンドは、\fBclear MyClass:45\fRのような構文を使用してブレークポイントを削除します。\fBclear\fRを使用するか、引数を指定しないで\fBstop\fRコマンドを使用すると、現在設定されているすべてのブレークポイントが表示されます。\fBcont\fRコマンドは実行を継続します。
|
||||
.SS "ステップ実行"
|
||||
.PP
|
||||
\fIstep\fRコマンドは、現在のスタック・フレームまたは呼び出されたメソッド内で、次の行を実行します。\fInext\fRコマンドは、現在のスタック・フレームの次の行を実行します。
|
||||
.SS "例外"
|
||||
\fBstep\fRコマンドは、現在のスタック・フレームまたは呼び出されたメソッド内で、次の行を実行します。\fBnext\fRコマンドは、現在のスタック・フレームの次の行を実行します。
|
||||
.SS "例外"
|
||||
.PP
|
||||
スローしているスレッドの呼出しスタック上のどこにも\fIcatch\fR文がない場合に例外が発生すると、JVMは通常、例外トレースを出力して終了します。ただし、JDB環境で実行している場合は、違反のスロー時にJDBに制御が戻ります。次に、\fIjdb\fRコマンドを使用して例外の原因を診断します。
|
||||
スローしているスレッドの呼出しスタック上のどこにも\fBcatch\fR文がない場合に例外が発生すると、JVMは通常、例外トレースを出力して終了します。ただし、JDB環境で実行している場合は、違反のスロー時にJDBに制御が戻ります。次に、\fBjdb\fRコマンドを使用して例外の原因を診断します。
|
||||
.PP
|
||||
たとえば、\fIcatch java\&.io\&.FileNotFoundException\fRまたは\fIcatch\fR
|
||||
\fImypackage\&.BigTroubleException\fRのように\fIcatch\fRコマンドを使用すると、デバッグされたアプリケーションは、他の例外がスローされたときに停止します。例外が特定のクラスまたはサブクラスのインスタンスの場合は、アプリケーションは例外がスローされた場所で停止します。
|
||||
たとえば、\fBcatch java\&.io\&.FileNotFoundException\fRまたは\fBcatch\fR
|
||||
\fBmypackage\&.BigTroubleException\fRのように\fBcatch\fRコマンドを使用すると、デバッグされたアプリケーションは、他の例外がスローされたときに停止します。例外が特定のクラスまたはサブクラスのインスタンスの場合は、アプリケーションは例外がスローされた場所で停止します。
|
||||
.PP
|
||||
\fIignore\fRコマンドを使用すると、以前の\fIcatch\fRコマンドの効果が無効になります。\fIignore\fRコマンドでは、デバッグされるJVMは特定の例外を無視せず、デバッガのみを無視します。
|
||||
.SH "オプション"
|
||||
\fBignore\fRコマンドを使用すると、以前の\fBcatch\fRコマンドの効果が無効になります。\fBignore\fRコマンドでは、デバッグされるJVMは特定の例外を無視せず、デバッガのみを無視します。
|
||||
.SH "オプション"
|
||||
.PP
|
||||
コマンドラインで\fIjava\fRコマンドのかわりに\fIjdb\fRコマンドを使用する場合、\fIjdb\fRコマンドは、\fI\-D\fR、\fI\-classpath\fR、\fI\-X\fRなど、\fIjava\fRコマンドと同じ数のオプションを受け入れます。\fIjdb\fRコマンドは、その他に次のリストにあるオプションを受け入れます。
|
||||
コマンド行で\fBjava\fRコマンドのかわりに\fBjdb\fRコマンドを使用する場合、\fBjdb\fRコマンドは、\fB\-D\fR、\fB\-classpath\fR、\fB\-X\fRなど、\fBjava\fRコマンドと同じ数のオプションを受け入れます。\fBjdb\fRコマンドは、その他に次のリストにあるオプションを受け入れます。
|
||||
.PP
|
||||
デバッグを行うJVMにデバッガを接続するための代替機構を提供するために、その他のオプションがサポートされています。これらの接続の代替に関する詳細なドキュメントは、Java Platform Debugger Architecture (JPDA)
|
||||
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/jpda/index\&.html)を参照してください
|
||||
デバッグを行うJVMにデバッガを接続するための代替機構を提供するために、その他のオプションがサポートされています。これらの接続の代替に関する詳細なドキュメントは、Java Platform Debugger Architecture (JPDA)
|
||||
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/jpda/index\&.html)を参照してください
|
||||
.PP
|
||||
\-help
|
||||
.RS 4
|
||||
ヘルプ・メッセージを表示します。
|
||||
ヘルプ・メッセージを表示します。
|
||||
.RE
|
||||
.PP
|
||||
\-sourcepath \fIdir1:dir2: \&. \&. \&.\fR
|
||||
.RS 4
|
||||
指定されたパスを使用して、ソース・ファイルを検索します。このオプションが指定されていない場合は、デフォルト・パスのドット(\&.)が使用されます。
|
||||
指定されたパスを使用して、ソース・ファイルを検索します。このオプションが指定されていない場合は、デフォルト・パスのドット(\&.)が使用されます。
|
||||
.RE
|
||||
.PP
|
||||
\-attach \fIaddress\fR
|
||||
.RS 4
|
||||
デフォルトの接続機構を使用して、実行中のJVMにデバッガを接続します。
|
||||
デフォルトの接続機構を使用して、実行中のJVMにデバッガを接続します。
|
||||
.RE
|
||||
.PP
|
||||
\-listen \fIaddress\fR
|
||||
.RS 4
|
||||
実行中のJVMが標準のコネクタを使用して指定されたアドレスに接続するのを待機します。
|
||||
実行中のJVMが標準のコネクタを使用して指定されたアドレスに接続するのを待機します。
|
||||
.RE
|
||||
.PP
|
||||
\-launch
|
||||
.RS 4
|
||||
デバッグするアプリケーションをJDBの起動後ただちに起動します。\fI\-launch\fRオプションにより、\fIrun\fRコマンドが必要なくなります。デバッグするアプリケーションは、起動後、初期アプリケーション・クラスがロードされる直前に停止します。その時点で、必要なブレークポイントを設定し、\fIcont\fRコマンドを使用して実行を継続できます。
|
||||
デバッグするアプリケーションをJDBの起動後ただちに起動します。\fB\-launch\fRオプションにより、\fBrun\fRコマンドが必要なくなります。デバッグするアプリケーションは、起動後、初期アプリケーション・クラスがロードされる直前に停止します。その時点で、必要なブレークポイントを設定し、\fBcont\fRコマンドを使用して実行を継続できます。
|
||||
.RE
|
||||
.PP
|
||||
\-listconnectors
|
||||
.RS 4
|
||||
このJVMで利用できるコネクタを一覧表示します。
|
||||
このJVMで利用できるコネクタを一覧表示します。
|
||||
.RE
|
||||
.PP
|
||||
\-connect connector\-name:\fIname1=value1\fR
|
||||
.RS 4
|
||||
一覧表示された引数の値と指定のコネクタを使用してターゲットJVMに接続します。
|
||||
一覧表示された引数の値と指定のコネクタを使用してターゲットJVMに接続します。
|
||||
.RE
|
||||
.PP
|
||||
\-dbgtrace [\fIflags\fR]
|
||||
.RS 4
|
||||
\fIjdb\fRコマンドのデバッグの情報を出力します。
|
||||
\fBjdb\fRコマンドのデバッグの情報を出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-tclient
|
||||
.RS 4
|
||||
Java HotSpot VMクライアント内でアプリケーションを実行します。
|
||||
Java HotSpot VMクライアント内でアプリケーションを実行します。
|
||||
.RE
|
||||
.PP
|
||||
\-tserver
|
||||
.RS 4
|
||||
Java HotSpot VMサーバー内でアプリケーションを実行します。
|
||||
Java HotSpot VMサーバー内でアプリケーションを実行します。
|
||||
.RE
|
||||
.PP
|
||||
\-J\fIoption\fR
|
||||
.RS 4
|
||||
JVMに\fIoption\fRを渡します。optionには、Javaアプリケーション起動ツールのリファレンス・ページに記載されているオプションを1つ指定します。たとえば、\fI\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。java(1)を参照してください。
|
||||
JVMに\fBoption\fRを渡します。optionには、Javaアプリケーション起動ツールのリファレンス・ページに記載されているオプションを1つ指定します。たとえば、\fB\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。java(1)を参照してください。
|
||||
.RE
|
||||
.SH "デバッグ対象のプロセスに転送されるオプション"
|
||||
.SH "デバッガ・プロセスに転送されるオプション"
|
||||
.PP
|
||||
\-v \-verbose[:\fIclass\fR|gc|jni]
|
||||
.RS 4
|
||||
冗長モードにします。
|
||||
冗長モードにします。
|
||||
.RE
|
||||
.PP
|
||||
\-D\fIname\fR=\fIvalue\fR
|
||||
.RS 4
|
||||
システム・プロパティを設定します。
|
||||
システム・プロパティを設定します。
|
||||
.RE
|
||||
.PP
|
||||
\-classpath \fIdir\fR
|
||||
.RS 4
|
||||
クラスを検索するための、コロンで区切って指定されたディレクトリのリスト。
|
||||
クラスを検索するための、コロンで区切って指定されたディレクトリのリスト。
|
||||
.RE
|
||||
.PP
|
||||
\-X\fIoption\fR
|
||||
.RS 4
|
||||
非標準ターゲットJVMオプションです。
|
||||
非標準ターゲットJVMオプションです。
|
||||
.RE
|
||||
.SH "関連項目"
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: jdeps
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: 基本ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "jdeps" "1" "2013年11月21日" "JDK 8" "基本ツール"
|
||||
.\" Title: jdeps
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: 基本ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "jdeps" "1" "2013年11月21日" "JDK 8" "基本ツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
jdeps \- Javaクラス依存性アナライザ。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
jdeps \- Javaクラス依存性アナライザ。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjdeps\fR [\fIoptions\fR] \fIclasses\fR \&.\&.\&.
|
||||
\fBjdeps\fR [\fIoptions\fR] \fIclasses\fR \&.\&.\&.
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,293 +66,318 @@ jdeps \- Javaクラス依存性アナライザ。
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
コマンドライン・オプション。オプションを参照してください。
|
||||
コマンド行オプション。オプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIclasses\fR
|
||||
.RS 4
|
||||
分析するクラスの名前。クラス・パスで検出できるクラスを、ファイル名、ディレクトリまたはJARファイルで指定できます。
|
||||
分析するクラスの名前。クラス・パスで検出できるクラスを、ファイル名、ディレクトリまたはJARファイルで指定できます。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIjdeps\fRコマンドは、Javaクラス・ファイルのパッケージレベルまたはクラスレベルの依存性を示します。入力クラスには、\fI\&.class\fRファイルのパス名、ディレクトリ、JARファイル、またはすべてのクラス・ファイルを分析するための完全修飾クラス名を指定できます。オプションにより出力が決定します。デフォルトでは、\fIjdeps\fRはシステム出力に依存関係を出力します。DOT言語で依存関係を生成できます(\fI\-dotoutput\fRオプションを参照)。
|
||||
.SH "オプション"
|
||||
\fBjdeps\fRコマンドは、Javaクラス・ファイルのパッケージレベルまたはクラスレベルの依存性を示します。入力クラスには、\fB\&.class\fRファイルのパス名、ディレクトリ、JARファイル、またはすべてのクラス・ファイルを分析するための完全修飾クラス名を指定できます。オプションにより出力が決定します。デフォルトでは、\fBjdeps\fRはシステム出力に依存関係を出力します。DOT言語で依存関係を生成できます(\fB\-dotoutput\fRオプションを参照)。
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\-dotoutput <\fIdir\fR>
|
||||
.RS 4
|
||||
DOTファイル出力の宛先ディレクトリ。指定した場合は\fIjdeps\fRは<\fIarchive\-file\-name\fR>\&.dotという名前の分析済みアーカイブごとに依存関係をリストする1つのdotファイルを生成し、アーカイブ間の依存関係をリストするsummary\&.dotという名前のサマリー・ファイルも生成します。
|
||||
DOTファイル出力の宛先ディレクトリ。指定した場合、\fBjdeps\fRは<\fIarchive\-file\-name\fR>\&.dotという名前の分析済アーカイブごとに依存関係をリストする1つのdotファイルを生成し、アーカイブ間の依存関係をリストするsummary\&.dotという名前のサマリー・ファイルも生成します。
|
||||
.RE
|
||||
.PP
|
||||
\-s, \-summary
|
||||
\-s
|
||||
.br
|
||||
\-summary
|
||||
.RS 4
|
||||
依存関係のサマリーのみを出力します。
|
||||
依存関係のサマリーのみを出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-v, \-verbose
|
||||
\-v
|
||||
.br
|
||||
\-verbose
|
||||
.RS 4
|
||||
すべてのクラスレベルの依存関係を出力します。
|
||||
すべてのクラスレベルの依存関係を出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-verbose:package
|
||||
.RS 4
|
||||
同じアーカイブ内の依存関係を除き、パッケージレベルの依存関係を出力します。
|
||||
同じアーカイブ内の依存関係を除き、パッケージレベルの依存関係を出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-verbose:class
|
||||
.RS 4
|
||||
同じアーカイブ内の依存関係を除き、クラスレベルの依存関係を出力します。
|
||||
同じアーカイブ内の依存関係を除き、クラスレベルの依存関係を出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-cp <\fIpath\fR>, \-classpath <\fIpath\fR>
|
||||
\-cp <\fIpath\fR>
|
||||
.br
|
||||
\-classpath <\fIpath\fR>
|
||||
.RS 4
|
||||
クラス・ファイルの検索場所を指定します。
|
||||
クラス・ファイルの検索場所を指定します。
|
||||
.sp
|
||||
Setting the Class Path も参照してください。
|
||||
クラス・パスの設定 も参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\-p <\fIpkg name\fR>, \-package <\fIpkg name\fR>
|
||||
\-p <\fIpkg name\fR>
|
||||
.br
|
||||
\-package <\fIpkg name\fR>
|
||||
.RS 4
|
||||
指定したパッケージの依存関係を検出します。異なるパッケージに対してこのオプションを複数回指定できます。\fI\-p\fRオプションと\fI\-e\fRオプションを同時に指定することはできません。
|
||||
指定したパッケージの依存関係を検出します。異なるパッケージに対してこのオプションを複数回指定できます。\fB\-p\fRオプションと\fB\-e\fRオプションを同時に指定することはできません。
|
||||
.RE
|
||||
.PP
|
||||
\-e <\fIregex\fR>, \-regex <\fIregex\fR>
|
||||
\-e <\fIregex\fR>
|
||||
.br
|
||||
\-regex <\fIregex\fR>
|
||||
.RS 4
|
||||
指定した正規表現パターンと一致するパッケージの依存関係を検出します。\fI\-p\fRオプションと\fI\-e\fRオプションを同時に指定することはできません。
|
||||
指定した正規表現パターンと一致するパッケージの依存関係を検出します。\fB\-p\fRオプションと\fB\-e\fRオプションを同時に指定することはできません。
|
||||
.RE
|
||||
.PP
|
||||
\-include <\fIregex\fR>
|
||||
.RS 4
|
||||
分析をパターンに一致するクラスに制限します。このオプションは、分析するクラスのリストをフィルタします。依存関係にパターンを適用する\fI\-p\fRおよび\fI\-e\fRとともに使用できます。
|
||||
分析をパターンに一致するクラスに制限します。このオプションは、分析するクラスのリストをフィルタします。依存関係にパターンを適用する\fB\-p\fRおよび\fB\-e\fRとともに使用できます。
|
||||
.RE
|
||||
.PP
|
||||
\-jdkinternals
|
||||
.RS 4
|
||||
JDKの内部APIのクラスレベルの依存関係を検出します。デフォルトでは、\fI\-include\fRオプションを指定しないかぎり、\fI\-classpath\fRオプションおよび入力ファイルに指定されたすべてのクラスを分析します。このオプションは、\fI\-p\fRオプション、\fI\-e\fRオプションおよび\fI\-s\fRオプションとともに使用できません。
|
||||
JDKの内部APIのクラスレベルの依存関係を検出します。デフォルトでは、\fB\-include\fRオプションを指定しないかぎり、\fB\-classpath\fRオプションおよび入力ファイルに指定されたすべてのクラスを分析します。このオプションは、\fB\-p\fRオプション、\fB\-e\fRオプションおよび\fB\-s\fRオプションとともに使用できません。
|
||||
.sp
|
||||
\fB警告\fR: JDKの内部APIは、今後のリリースでアクセスできなくなる可能性があります。
|
||||
\fB警告\fR: JDKの内部APIは、今後のリリースでアクセスできなくなる可能性があります。
|
||||
.RE
|
||||
.PP
|
||||
\-P, \-profile
|
||||
\-P
|
||||
.br
|
||||
\-profile
|
||||
.RS 4
|
||||
パッケージを含むプロファイルまたはファイルを表示します。
|
||||
パッケージを含むプロファイルまたはファイルを表示します。
|
||||
.RE
|
||||
.PP
|
||||
\-apionly
|
||||
.RS 4
|
||||
フィールド・タイプ、メソッド・パラメータ・タイプ、戻りタイプ、チェックされた例外タイプを含むパブリック・クラスの\fIpublic\fRおよび\fIprotected\fRメンバーの署名からの依存関係など、分析をAPIに制限します。
|
||||
フィールド・タイプ、メソッド・パラメータ・タイプ、戻りタイプ、チェックされた例外タイプを含むパブリック・クラスの\fBpublic\fRおよび\fBprotected\fRメンバーの署名からの依存関係など、分析をAPIに制限します。
|
||||
.RE
|
||||
.PP
|
||||
\-R, \-recursive
|
||||
\-R
|
||||
.br
|
||||
\-recursive
|
||||
.RS 4
|
||||
すべての依存関係を再帰的に走査します。
|
||||
すべての依存関係を再帰的に走査します。
|
||||
.RE
|
||||
.PP
|
||||
\-version
|
||||
.RS 4
|
||||
バージョン情報を出力します。
|
||||
バージョン情報を出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-h, \-?, \-help
|
||||
\-h
|
||||
.br
|
||||
\-?
|
||||
.br
|
||||
\-help
|
||||
.RS 4
|
||||
\fIjdeps\fRに関するヘルプ・メッセージを出力します。
|
||||
\fBjdeps\fRに関するヘルプ・メッセージを出力します。
|
||||
.RE
|
||||
.SH "例"
|
||||
.SH "例"
|
||||
.PP
|
||||
Notepad\&.jarの依存関係の分析。
|
||||
Notepad\&.jarの依存関係の分析。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
$ jdeps demo/jfc/Notepad/Notepad\&.jar
|
||||
\fB$ jdeps demo/jfc/Notepad/Notepad\&.jar\fR
|
||||
\fB \fR
|
||||
\fBdemo/jfc/Notepad/Notepad\&.jar \-> /usr/java/jre/lib/rt\&.jar\fR
|
||||
\fB <unnamed> (Notepad\&.jar)\fR
|
||||
\fB \-> java\&.awt \fR
|
||||
\fB \-> java\&.awt\&.event \fR
|
||||
\fB \-> java\&.beans \fR
|
||||
\fB \-> java\&.io \fR
|
||||
\fB \-> java\&.lang \fR
|
||||
\fB \-> java\&.net \fR
|
||||
\fB \-> java\&.util \fR
|
||||
\fB \-> java\&.util\&.logging \fR
|
||||
\fB \-> javax\&.swing \fR
|
||||
\fB \-> javax\&.swing\&.border \fR
|
||||
\fB \-> javax\&.swing\&.event \fR
|
||||
\fB \-> javax\&.swing\&.text \fR
|
||||
\fB \-> javax\&.swing\&.tree \fR
|
||||
\fB \-> javax\&.swing\&.undo \fR
|
||||
|
||||
demo/jfc/Notepad/Notepad\&.jar \-> /usr/java/jre/lib/rt\&.jar
|
||||
<unnamed> (Notepad\&.jar)
|
||||
\-> java\&.awt
|
||||
\-> java\&.awt\&.event
|
||||
\-> java\&.beans
|
||||
\-> java\&.io
|
||||
\-> java\&.lang
|
||||
\-> java\&.net
|
||||
\-> java\&.util
|
||||
\-> java\&.util\&.logging
|
||||
\-> javax\&.swing
|
||||
\-> javax\&.swing\&.border
|
||||
\-> javax\&.swing\&.event
|
||||
\-> javax\&.swing\&.text
|
||||
\-> javax\&.swing\&.tree
|
||||
\-> javax\&.swing\&.undo
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\-Pまたは\-profileオプションを使用して、メモ帳が依存するプロファイルを表示します。
|
||||
\-Pまたは\-profileオプションを使用して、メモ帳が依存するプロファイルを表示します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
$ jdeps \-profile demo/jfc/Notepad/Notepad\&.jar
|
||||
demo/jfc/Notepad/Notepad\&.jar \-> /usr/java/jre/lib/rt\&.jar (Full JRE)
|
||||
<unnamed> (Notepad\&.jar)
|
||||
\-> java\&.awt Full JRE
|
||||
\-> java\&.awt\&.event Full JRE
|
||||
\-> java\&.beans Full JRE
|
||||
\-> java\&.io compact1
|
||||
\-> java\&.lang compact1
|
||||
\-> java\&.net compact1
|
||||
\-> java\&.util compact1
|
||||
\-> java\&.util\&.logging compact1
|
||||
\-> javax\&.swing Full JRE
|
||||
\-> javax\&.swing\&.border Full JRE
|
||||
\-> javax\&.swing\&.event Full JRE
|
||||
\-> javax\&.swing\&.text Full JRE
|
||||
\-> javax\&.swing\&.tree Full JRE
|
||||
\-> javax\&.swing\&.undo Full JRE
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
tools\&.jarファイル内の\fIcom\&.sun\&.tools\&.jdeps\&.Main\fRクラスなど、特定のクラスパス内の特定のクラスの直接依存関係の分析。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
$ jdeps \-cp lib/tools\&.jar com\&.sun\&.tools\&.jdeps\&.Main
|
||||
lib/tools\&.jar \-> /usr/java/jre/lib/rt\&.jar
|
||||
com\&.sun\&.tools\&.jdeps (tools\&.jar)
|
||||
\-> java\&.io
|
||||
\-> java\&.lang
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fI\-verbose:class\fRオプションを使用して、クラスレベル依存関係を検索するか\fI\-v\fRまたは\fI\-verbose\fRオプションを使用して同じJARファイルからの依存関係を含めます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
$ jdeps \-verbose:class \-cp lib/tools\&.jar com\&.sun\&.tools\&.jdeps\&.Main
|
||||
\fB$ jdeps \-profile demo/jfc/Notepad/Notepad\&.jar \fR
|
||||
\fBdemo/jfc/Notepad/Notepad\&.jar \-> /usr/java/jre/lib/rt\&.jar (Full JRE)\fR
|
||||
\fB <unnamed> (Notepad\&.jar)\fR
|
||||
\fB \-> java\&.awt Full JRE\fR
|
||||
\fB \-> java\&.awt\&.event Full JRE\fR
|
||||
\fB \-> java\&.beans Full JRE\fR
|
||||
\fB \-> java\&.io compact1\fR
|
||||
\fB \-> java\&.lang compact1\fR
|
||||
\fB \-> java\&.net compact1\fR
|
||||
\fB \-> java\&.util compact1\fR
|
||||
\fB \-> java\&.util\&.logging compact1\fR
|
||||
\fB \-> javax\&.swing Full JRE\fR
|
||||
\fB \-> javax\&.swing\&.border Full JRE\fR
|
||||
\fB \-> javax\&.swing\&.event Full JRE\fR
|
||||
\fB \-> javax\&.swing\&.text Full JRE\fR
|
||||
\fB \-> javax\&.swing\&.tree Full JRE\fR
|
||||
\fB \-> javax\&.swing\&.undo Full JRE\fR
|
||||
|
||||
lib/tools\&.jar \-> /usr/java/jre/lib/rt\&.jar
|
||||
com\&.sun\&.tools\&.jdeps\&.Main (tools\&.jar)
|
||||
\-> java\&.io\&.PrintWriter
|
||||
\-> java\&.lang\&.Exception
|
||||
\-> java\&.lang\&.Object
|
||||
\-> java\&.lang\&.String
|
||||
\-> java\&.lang\&.System
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fI\-R\fRまたは\fI\-recursive\fRオプションを使用して、\fIcom\&.sun\&.tools\&.jdeps\&.Main\fRクラスの推移的な依存関係を分析します。
|
||||
tools\&.jarファイル内の\fBcom\&.sun\&.tools\&.jdeps\&.Main\fRクラスなど、特定のクラスパス内の特定のクラスの直接依存関係の分析。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
$ jdeps \-R \-cp lib/tools\&.jar com\&.sun\&.tools\&.jdeps\&.Main
|
||||
lib/tools\&.jar \-> /usr/java/jre/lib/rt\&.jar
|
||||
com\&.sun\&.tools\&.classfile (tools\&.jar)
|
||||
\-> java\&.io
|
||||
\-> java\&.lang
|
||||
\-> java\&.lang\&.reflect
|
||||
\-> java\&.nio\&.charset
|
||||
\-> java\&.nio\&.file
|
||||
\-> java\&.util
|
||||
\-> java\&.util\&.regex
|
||||
com\&.sun\&.tools\&.jdeps (tools\&.jar)
|
||||
\-> java\&.io
|
||||
\-> java\&.lang
|
||||
\-> java\&.nio\&.file
|
||||
\-> java\&.nio\&.file\&.attribute
|
||||
\-> java\&.text
|
||||
\-> java\&.util
|
||||
\-> java\&.util\&.jar
|
||||
\-> java\&.util\&.regex
|
||||
\-> java\&.util\&.zip
|
||||
/usr/java/jre/lib/jce\&.jar \-> /usr/java/jre/lib/rt\&.jar
|
||||
javax\&.crypto (jce\&.jar)
|
||||
\-> java\&.io
|
||||
\-> java\&.lang
|
||||
\-> java\&.lang\&.reflect
|
||||
\-> java\&.net
|
||||
\-> java\&.nio
|
||||
\-> java\&.security
|
||||
\-> java\&.security\&.cert
|
||||
\-> java\&.security\&.spec
|
||||
\-> java\&.util
|
||||
\-> java\&.util\&.concurrent
|
||||
\-> java\&.util\&.jar
|
||||
\-> java\&.util\&.regex
|
||||
\-> java\&.util\&.zip
|
||||
\-> javax\&.security\&.auth
|
||||
\-> sun\&.security\&.jca JDK internal API (rt\&.jar)
|
||||
\-> sun\&.security\&.util JDK internal API (rt\&.jar)
|
||||
javax\&.crypto\&.spec (jce\&.jar)
|
||||
\-> java\&.lang
|
||||
\-> java\&.security\&.spec
|
||||
\-> java\&.util
|
||||
/usr/java/jre/lib/rt\&.jar \-> /usr/java/jre/lib/jce\&.jar
|
||||
java\&.security (rt\&.jar)
|
||||
\-> javax\&.crypto
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
メモ帳デモの依存関係のdotファイルを生成します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
$ jdeps \-dotoutput dot demo/jfc/Notepad/Notepad\&.jar
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fIjdeps\fRは、\fI\-dotoutput\fRオプションで指定されたdotディレクトリに<\fIfilename\fR>\&.dotという名前のdotファイルを特定のJARファイルごとに作成し、JARファイル間の依存関係をリストするsummary\&.dotという名前のサマリー・ファイルも作成します
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
$ cat dot/Notepad\&.jar\&.dot
|
||||
digraph "Notepad\&.jar" {
|
||||
// Path: demo/jfc/Notepad/Notepad\&.jar
|
||||
"<unnamed>" \-> "java\&.awt";
|
||||
"<unnamed>" \-> "java\&.awt\&.event";
|
||||
"<unnamed>" \-> "java\&.beans";
|
||||
"<unnamed>" \-> "java\&.io";
|
||||
"<unnamed>" \-> "java\&.lang";
|
||||
"<unnamed>" \-> "java\&.net";
|
||||
"<unnamed>" \-> "java\&.util";
|
||||
"<unnamed>" \-> "java\&.util\&.logging";
|
||||
"<unnamed>" \-> "javax\&.swing";
|
||||
"<unnamed>" \-> "javax\&.swing\&.border";
|
||||
"<unnamed>" \-> "javax\&.swing\&.event";
|
||||
"<unnamed>" \-> "javax\&.swing\&.text";
|
||||
"<unnamed>" \-> "javax\&.swing\&.tree";
|
||||
"<unnamed>" \-> "javax\&.swing\&.undo";
|
||||
}
|
||||
\fB$ jdeps \-cp lib/tools\&.jar com\&.sun\&.tools\&.jdeps\&.Main\fR
|
||||
\fBlib/tools\&.jar \-> /usr/java/jre/lib/rt\&.jar\fR
|
||||
\fB com\&.sun\&.tools\&.jdeps (tools\&.jar)\fR
|
||||
\fB \-> java\&.io \fR
|
||||
\fB \-> java\&.lang \fR
|
||||
|
||||
$ cat dot/summary\&.dot
|
||||
digraph "summary" {
|
||||
"Notepad\&.jar" \-> "rt\&.jar";
|
||||
}
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "関連項目"
|
||||
.PP
|
||||
\fB\-verbose:class\fRオプションを使用して、クラスレベル依存関係を検索するか\fB\-v\fRまたは\fB\-verbose\fRオプションを使用して同じJARファイルからの依存関係を含めます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fB$ jdeps \-verbose:class \-cp lib/tools\&.jar com\&.sun\&.tools\&.jdeps\&.Main\fR
|
||||
\fB \fR
|
||||
\fBlib/tools\&.jar \-> /usr/java/jre/lib/rt\&.jar\fR
|
||||
\fB com\&.sun\&.tools\&.jdeps\&.Main (tools\&.jar)\fR
|
||||
\fB \-> java\&.io\&.PrintWriter \fR
|
||||
\fB \-> java\&.lang\&.Exception \fR
|
||||
\fB \-> java\&.lang\&.Object \fR
|
||||
\fB \-> java\&.lang\&.String \fR
|
||||
\fB \-> java\&.lang\&.System \fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fB\-R\fRまたは\fB\-recursive\fRオプションを使用して、\fBcom\&.sun\&.tools\&.jdeps\&.Main\fRクラスの推移的な依存関係を分析します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fB$ jdeps \-R \-cp lib/tools\&.jar com\&.sun\&.tools\&.jdeps\&.Main\fR
|
||||
\fBlib/tools\&.jar \-> /usr/java/jre/lib/rt\&.jar\fR
|
||||
\fB com\&.sun\&.tools\&.classfile (tools\&.jar)\fR
|
||||
\fB \-> java\&.io \fR
|
||||
\fB \-> java\&.lang \fR
|
||||
\fB \-> java\&.lang\&.reflect \fR
|
||||
\fB \-> java\&.nio\&.charset \fR
|
||||
\fB \-> java\&.nio\&.file \fR
|
||||
\fB \-> java\&.util \fR
|
||||
\fB \-> java\&.util\&.regex \fR
|
||||
\fB com\&.sun\&.tools\&.jdeps (tools\&.jar)\fR
|
||||
\fB \-> java\&.io \fR
|
||||
\fB \-> java\&.lang \fR
|
||||
\fB \-> java\&.nio\&.file \fR
|
||||
\fB \-> java\&.nio\&.file\&.attribute \fR
|
||||
\fB \-> java\&.text \fR
|
||||
\fB \-> java\&.util \fR
|
||||
\fB \-> java\&.util\&.jar \fR
|
||||
\fB \-> java\&.util\&.regex \fR
|
||||
\fB \-> java\&.util\&.zip \fR
|
||||
\fB/usr/java/jre/lib/jce\&.jar \-> /usr/java/jre/lib/rt\&.jar\fR
|
||||
\fB javax\&.crypto (jce\&.jar)\fR
|
||||
\fB \-> java\&.io \fR
|
||||
\fB \-> java\&.lang \fR
|
||||
\fB \-> java\&.lang\&.reflect \fR
|
||||
\fB \-> java\&.net \fR
|
||||
\fB \-> java\&.nio \fR
|
||||
\fB \-> java\&.security \fR
|
||||
\fB \-> java\&.security\&.cert \fR
|
||||
\fB \-> java\&.security\&.spec \fR
|
||||
\fB \-> java\&.util \fR
|
||||
\fB \-> java\&.util\&.concurrent \fR
|
||||
\fB \-> java\&.util\&.jar \fR
|
||||
\fB \-> java\&.util\&.regex \fR
|
||||
\fB \-> java\&.util\&.zip \fR
|
||||
\fB \-> javax\&.security\&.auth \fR
|
||||
\fB \-> sun\&.security\&.jca JDK internal API (rt\&.jar)\fR
|
||||
\fB \-> sun\&.security\&.util JDK internal API (rt\&.jar)\fR
|
||||
\fB javax\&.crypto\&.spec (jce\&.jar)\fR
|
||||
\fB \-> java\&.lang \fR
|
||||
\fB \-> java\&.security\&.spec \fR
|
||||
\fB \-> java\&.util \fR
|
||||
\fB/usr/java/jre/lib/rt\&.jar \-> /usr/java/jre/lib/jce\&.jar\fR
|
||||
\fB java\&.security (rt\&.jar)\fR
|
||||
\fB \-> javax\&.crypto\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
メモ帳デモの依存関係のdotファイルを生成します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fB$ jdeps \-dotoutput dot demo/jfc/Notepad/Notepad\&.jar\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fBjdeps\fRは、\fB\-dotoutput\fRオプションで指定されたdotディレクトリに<\fIfilename\fR>\&.dotという名前のdotファイルを特定のJARファイルごとに作成し、JARファイル間の依存関係をリストするsummary\&.dotという名前のサマリー・ファイルも作成します
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fB$ cat dot/Notepad\&.jar\&.dot \fR
|
||||
\fBdigraph "Notepad\&.jar" {\fR
|
||||
\fB // Path: demo/jfc/Notepad/Notepad\&.jar\fR
|
||||
\fB "<unnamed>" \-> "java\&.awt";\fR
|
||||
\fB "<unnamed>" \-> "java\&.awt\&.event";\fR
|
||||
\fB "<unnamed>" \-> "java\&.beans";\fR
|
||||
\fB "<unnamed>" \-> "java\&.io";\fR
|
||||
\fB "<unnamed>" \-> "java\&.lang";\fR
|
||||
\fB "<unnamed>" \-> "java\&.net";\fR
|
||||
\fB "<unnamed>" \-> "java\&.util";\fR
|
||||
\fB "<unnamed>" \-> "java\&.util\&.logging";\fR
|
||||
\fB "<unnamed>" \-> "javax\&.swing";\fR
|
||||
\fB "<unnamed>" \-> "javax\&.swing\&.border";\fR
|
||||
\fB "<unnamed>" \-> "javax\&.swing\&.event";\fR
|
||||
\fB "<unnamed>" \-> "javax\&.swing\&.text";\fR
|
||||
\fB "<unnamed>" \-> "javax\&.swing\&.tree";\fR
|
||||
\fB "<unnamed>" \-> "javax\&.swing\&.undo";\fR
|
||||
\fB}\fR
|
||||
\fB \fR
|
||||
\fB$ cat dot/summary\&.dot\fR
|
||||
\fBdigraph "summary" {\fR
|
||||
\fB "Notepad\&.jar" \-> "rt\&.jar";\fR
|
||||
\fB}\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: jhat
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: トラブルシューティング・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "jhat" "1" "2013年11月21日" "JDK 8" "トラブルシューティング・ツール"
|
||||
.\" Title: jhat
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: トラブルシューティング・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "jhat" "1" "2013年11月21日" "JDK 8" "トラブルシューティング・ツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
jhat \- Javaヒープを分析します。このコマンドは試験的なもので、サポートされていません。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
jhat \- Javaヒープを分析します。このコマンドは試験的なもので、サポートされていません。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjhat\fR [ \fIoptions\fR ] \fIheap\-dump\-file\fR
|
||||
\fBjhat\fR [ \fIoptions\fR ] \fIheap\-dump\-file\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,18 +66,18 @@ jhat \- Javaヒープを分析します。このコマンドは試験的なも
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
コマンドライン・オプション。オプションを参照してください。
|
||||
コマンド行オプション。オプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIheap\-dump\-file\fR
|
||||
.RS 4
|
||||
ブラウズ対象となるJavaバイナリ・ヒープ・ダンプ・ファイル。複数のヒープ・ダンプを含むダンプ・ファイルの場合、\fImyfile\&.hprof#3\fRのようにファイル名の後に\fI#<number>\fRを付加することで、ファイル内の特定のダンプを指定できます。
|
||||
ブラウズ対象となるJavaバイナリ・ヒープ・ダンプ・ファイル。複数のヒープ・ダンプを含むダンプ・ファイルの場合、\fBmyfile\&.hprof#3\fRのようにファイル名の後に\fB#<number>\fRを付加することで、ファイル内の特定のダンプを指定できます。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIjhat\fRコマンドはJavaヒープ・ダンプ・ファイルを解析し、Webサーバーを開始します。\fIjhat\fRコマンドを使用して、お気に入りのブラウザでヒープ・ダンプを参照できます。\fIjhat\fRコマンドは、既知のクラス\fIMyClass\fRのすべてのインスタンスを表示するなどの事前設計済の問合せやObject Query Language (OQL)をサポートします。ヒープ・ダンプの問合せを除き、OQLはSQLに似ています。OQLのヘルプには、\fIjhat\fRコマンドによって表示されるOQLヘルプ・ページからアクセスできます。デフォルト・ポートを使用する場合、OQLのヘルプはhttp://localhost:7000/oqlhelp/で利用可能です。
|
||||
\fBjhat\fRコマンドはJavaヒープ・ダンプ・ファイルを解析し、Webサーバーを開始します。\fBjhat\fRコマンドを使用して、お気に入りのブラウザでヒープ・ダンプを参照できます。\fBjhat\fRコマンドは、既知のクラス\fBMyClass\fRのすべてのインスタンスを表示するなどの事前設計済の問合せやObject Query Language (OQL)をサポートします。ヒープ・ダンプの問合せを除き、OQLはSQLに似ています。OQLのヘルプには、\fBjhat\fRコマンドによって表示されるOQLヘルプ・ページからアクセスできます。デフォルト・ポートを使用する場合、OQLのヘルプはhttp://localhost:7000/oqlhelp/で利用可能です。
|
||||
.PP
|
||||
Javaのヒープ・ダンプを生成するには、次のいくつかの方法があります。
|
||||
Javaのヒープ・ダンプを生成するには、次のいくつかの方法があります。
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
@ -85,7 +87,7 @@ Javaのヒープ・ダンプを生成するには、次のいくつかの方法
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
\fIjmap \-dump\fRオプションを使用して実行時にヒープ・ダンプを取得します。jmap(1)を参照してください。
|
||||
\fBjmap \-dump\fRオプションを使用して実行時にヒープ・ダンプを取得します。jmap(1)を参照してください。
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@ -96,8 +98,8 @@ Javaのヒープ・ダンプを生成するには、次のいくつかの方法
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
\fIjconsole\fRオプションを使用して\fIHotSpotDiagnosticMXBean\fR経由で実行時にヒープ・ダンプを取得します。jconsole(1)および\fIHotSpotDiagnosticMXBean\fRのインタフェースの説明(
|
||||
http://docs\&.oracle\&.com/javase/8/docs/jre/api/management/extension/com/sun/management/HotSpotDiagnosticMXBean\&.html)を参照してください。
|
||||
\fBjconsole\fRオプションを使用して\fBHotSpotDiagnosticMXBean\fR経由で実行時にヒープ・ダンプを取得します。jconsole(1)および\fBHotSpotDiagnosticMXBean\fRのインタフェースの説明(
|
||||
http://docs\&.oracle\&.com/javase/8/docs/jre/api/management/extension/com/sun/management/HotSpotDiagnosticMXBean\&.html)を参照してください。
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@ -108,8 +110,8 @@ http://docs\&.oracle\&.com/javase/8/docs/jre/api/management/extension/com/sun/ma
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
ヒープ・ダンプは、\fI\-XX:+HeapDumpOnOutOfMemoryError\fR
|
||||
Java仮想マシン(JVM)オプションを指定することで、\fIOutOfMemoryError\fRがスローされたときに生成されます。
|
||||
ヒープ・ダンプは、\fB\-XX:+HeapDumpOnOutOfMemoryError\fR
|
||||
Java Virtual Machine (JVM)オプションを指定することで、\fBOutOfMemoryError\fRがスローされたときに生成されます。
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@ -120,61 +122,61 @@ Java仮想マシン(JVM)オプションを指定することで、\fIOutOfMemory
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
\fIhprof\fRコマンドを使用します。HPROF: Heap/CPUプロファイリング・ツール
|
||||
(http://docs\&.oracle\&.com/javase/8/docs/technotes/samples/hprof\&.html)を参照してください
|
||||
\fBhprof\fRコマンドを使用します。HPROF: Heap/CPUプロファイリング・ツール
|
||||
(http://docs\&.oracle\&.com/javase/8/docs/technotes/samples/hprof\&.html)を参照してください
|
||||
.RE
|
||||
.SH "オプション"
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\-stack false|true
|
||||
.RS 4
|
||||
オブジェクト割当呼出しスタックの追跡を無効にします。ヒープ・ダンプ内で割当サイト情報が使用できない場合、このフラグを\fIfalse\fRに設定する必要があります。デフォルトは\fItrue\fRです。
|
||||
オブジェクト割当呼出しスタックの追跡を無効にします。ヒープ・ダンプ内で割当サイト情報が使用できない場合、このフラグを\fBfalse\fRに設定する必要があります。デフォルトは\fBtrue\fRです。
|
||||
.RE
|
||||
.PP
|
||||
\-refs false|true
|
||||
.RS 4
|
||||
オブジェクトへの参照の追跡を無効にします。デフォルトは\fItrue\fRです。デフォルトでは、ヒープ内のすべてのオブジェクトについて、バックポインタ(指定されたオブジェクトをポイントしているオブジェクト。参照者または受信参照とも呼ばれる)が計算されます。
|
||||
オブジェクトへの参照の追跡を無効にします。デフォルトは\fBtrue\fRです。デフォルトでは、ヒープ内のすべてのオブジェクトについて、バックポインタ(指定されたオブジェクトをポイントしているオブジェクト。参照者または受信参照とも呼ばれる)が計算されます。
|
||||
.RE
|
||||
.PP
|
||||
\-port \fIport\-number\fR
|
||||
.RS 4
|
||||
\fIjhat\fRのHTTPサーバーのポートを設定します。デフォルトは7000です。
|
||||
\fBjhat\fRのHTTPサーバーのポートを設定します。デフォルトは7000です。
|
||||
.RE
|
||||
.PP
|
||||
\-exclude \fIexclude\-file\fR
|
||||
.RS 4
|
||||
到達可能なオブジェクトの問合せから除外する必要があるデータ・メンバーの一覧を含むファイルを指定します。たとえば、このファイルに\fIjava\&.lang\&.String\&.value\fRが含まれていた場合、特定のオブジェクト\fIo\fRから到達可能なオブジェクトのリストを計算する際に、\fIjava\&.lang\&.String\&.value\fRフィールドに関連する参照パスが考慮されなくなります。
|
||||
到達可能なオブジェクトの問合せから除外する必要があるデータ・メンバーの一覧を含むファイルを指定します。たとえば、このファイルに\fBjava\&.lang\&.String\&.value\fRが含まれていた場合、特定のオブジェクト\fBo\fRから到達可能なオブジェクトのリストを計算する際に、\fBjava\&.lang\&.String\&.value\fRフィールドに関連する参照パスが考慮されなくなります。
|
||||
.RE
|
||||
.PP
|
||||
\-baseline \fIexclude\-file\fR
|
||||
.RS 4
|
||||
ベースラインとなるヒープ・ダンプを指定します。両方のヒープ・ダンプ内で同じオブジェクトIDを持つオブジェクトは新規ではないとしてマークされます。他のオブジェクトは新規としてマークされます。これは、異なる2つのヒープ・ダンプを比較する際に役立ちます。
|
||||
ベースラインとなるヒープ・ダンプを指定します。両方のヒープ・ダンプ内で同じオブジェクトIDを持つオブジェクトは新規ではないとしてマークされます。他のオブジェクトは新規としてマークされます。これは、異なる2つのヒープ・ダンプを比較する際に役立ちます。
|
||||
.RE
|
||||
.PP
|
||||
\-debug \fIint\fR
|
||||
.RS 4
|
||||
このツールのデバッグ・レベルを設定します。レベル0はデバッグ出力がないことを意味します。より大きな値を設定すると、より冗長なモードになります。
|
||||
このツールのデバッグ・レベルを設定します。レベル0はデバッグ出力がないことを意味します。より大きな値を設定すると、より冗長なモードになります。
|
||||
.RE
|
||||
.PP
|
||||
\-version
|
||||
.RS 4
|
||||
リリース番号をレポートして終了します
|
||||
リリース番号をレポートして終了します
|
||||
.RE
|
||||
.PP
|
||||
\-h
|
||||
.RS 4
|
||||
ヘルプ・メッセージを表示して終了します。
|
||||
ヘルプ・メッセージを表示して終了します。
|
||||
.RE
|
||||
.PP
|
||||
\-help
|
||||
.RS 4
|
||||
ヘルプ・メッセージを表示して終了します。
|
||||
ヘルプ・メッセージを表示して終了します。
|
||||
.RE
|
||||
.PP
|
||||
\-J\fIflag\fR
|
||||
.RS 4
|
||||
\fIjhat\fRコマンドを実行しているJava仮想マシンに\fIflag\fRを渡します。たとえば、512Mバイトの最大ヒープ・サイズを使用するには、\fI\-J\-Xmx512m\fRとします。
|
||||
\fBjhat\fRコマンドを実行しているJava Virtual Machineに\fBflag\fRを渡します。たとえば、512Mバイトの最大ヒープ・サイズを使用するには、\fB\-J\-Xmx512m\fRとします。
|
||||
.RE
|
||||
.SH "関連項目"
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
@ -206,7 +208,7 @@ jconsole(1)
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
HPROF: Heap/CPUプロファイリング・ツール
|
||||
HPROF: Heap/CPUプロファイリング・ツール
|
||||
(http://docs\&.oracle\&.com/javase/8/docs/technotes/samples/hprof\&.html)
|
||||
.RE
|
||||
.br
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: jinfo
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: トラブルシューティング・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "jinfo" "1" "2013年11月21日" "JDK 8" "トラブルシューティング・ツール"
|
||||
.\" Title: jinfo
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: トラブルシューティング・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "jinfo" "1" "2013年11月21日" "JDK 8" "トラブルシューティング・ツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
jinfo \- 構成情報を生成します。このコマンドは試験的なもので、サポートされていません。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
jinfo \- 構成情報を生成します。このコマンドは試験的なもので、サポートされていません。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjinfo\fR [ \fIoption\fR ] \fIpid\fR
|
||||
\fBjinfo\fR [ \fIoption\fR ] \fIpid\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -66,7 +68,7 @@ jinfo \- 構成情報を生成します。このコマンドは試験的なも
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjinfo\fR [ \fIoption \fR] \fIexecutable core\fR
|
||||
\fBjinfo\fR [ \fIoption \fR] \fIexecutable core\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -76,89 +78,89 @@ jinfo \- 構成情報を生成します。このコマンドは試験的なも
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjinfo\fR [ \fIoption \fR] \fI[ servier\-id ] remote\-hostname\-or\-IP\fR
|
||||
\fBjinfo\fR [ \fIoption \fR] \fI[ servier\-id ] remote\-hostname\-or\-IP\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fIオプション\fR
|
||||
\fIオプション\fR
|
||||
.RS 4
|
||||
コマンドライン・オプション。オプションを参照してください。
|
||||
コマンド行オプション。オプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIpid\fR
|
||||
.RS 4
|
||||
構成情報が出力されるプロセスID。プロセスはJavaプロセスである必要があります。マシン上で実行しているJavaプロセスの一覧を取得するには、jps(1)コマンドを使用します。
|
||||
構成情報が出力されるプロセスID。プロセスはJavaプロセスである必要があります。マシン上で実行しているJavaプロセスの一覧を取得するには、jps(1)コマンドを使用します。
|
||||
.RE
|
||||
.PP
|
||||
\fI実行可能ファイル\fR
|
||||
\fI実行可能ファイル\fR
|
||||
.RS 4
|
||||
コア・ダンプの作成元のJava実行可能ファイル。
|
||||
コア・ダンプの作成元のJava実行可能ファイル。
|
||||
.RE
|
||||
.PP
|
||||
\fIコア\fR
|
||||
\fIコア\fR
|
||||
.RS 4
|
||||
構成情報が出力されるコア・ファイル。
|
||||
構成情報が出力されるコア・ファイル。
|
||||
.RE
|
||||
.PP
|
||||
\fIremote\-hostname\-or\-IP\fR
|
||||
.RS 4
|
||||
リモート・デバッグ・サーバーの\fIホスト名\fRまたは\fIIP\fRアドレス。jsadebugd(1)を参照してください。
|
||||
リモート・デバッグ・サーバーの\fBホスト名\fRまたは\fBIP\fRアドレス。jsadebugd(1)を参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIserver\-id\fR
|
||||
.RS 4
|
||||
複数のデバッグ・サーバーが同一のリモート・ホストで実行している場合の、オプション固有のID。
|
||||
複数のデバッグ・サーバーが同一のリモート・ホストで実行している場合の、オプション固有のID。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIjinfo\fRコマンドは、指定されたJavaプロセスやコア・ファイルまたはリモート・デバッグ・サーバーのJava構成情報を出力します。構成情報には、Javaシステム・プロパティとJava仮想マシン(JVM)のコマンドライン・フラグが含まれています。指定されたプロセスが64ビットJVM上で実行されている場合、\fI\-J\-d64\fRオプションを指定する必要がある場合があります。次に例を示します。\fIjinfo\fR
|
||||
\fI\-J\-d64 \-sysprops pid\fR。
|
||||
\fBjinfo\fRコマンドは、指定されたJavaプロセスやコア・ファイルまたはリモート・デバッグ・サーバーのJava構成情報を出力します。構成情報には、Javaシステム・プロパティとJava仮想マシン(JVM)のコマンド行フラグが含まれています。指定されたプロセスが64ビットJVM上で実行されている場合、\fB\-J\-d64\fRオプションを指定する必要がある場合があります。次に例を示します。\fBjinfo\fR
|
||||
\fB\-J\-d64 \-sysprops pid\fR。
|
||||
.PP
|
||||
このユーティリティはサポート対象外であり、将来のJDKのリリースでは利用できなくなる可能性があります。\fIdbgeng\&.dll\fRが存在していないWindowsシステムでは、Debugging Tools For Windowsをインストールしないとこれらのツールが正常に動作しません。\fIPATH\fR環境変数には、ターゲット・プロセスによって使用されるjvm\&.dllの場所、またはクラッシュ・ダンプ・ファイルが生成された場所が含まれるようにしてください。たとえば、\fIset PATH=%JDK_HOME%\ejre\ebin\eclient;%PATH%\fRです。
|
||||
.SH "オプション"
|
||||
このユーティリティはサポート対象外であり、将来のJDKのリリースでは利用できなくなる可能性があります。\fBdbgeng\&.dll\fRが存在していないWindowsシステムでは、Debugging Tools For Windowsをインストールしないとこれらのツールが正常に動作しません。\fBPATH\fR環境変数には、ターゲット・プロセスによって使用されるjvm\&.dllの場所、またはクラッシュ・ダンプ・ファイルが生成された場所が含まれるようにしてください。たとえば、\fBset PATH=%JDK_HOME%\ejre\ebin\eclient;%PATH%\fRです。
|
||||
.SH "オプション"
|
||||
.PP
|
||||
no\-option
|
||||
.RS 4
|
||||
コマンドライン・フラグを、システム・プロパティ名と値のペアとともに出力します。
|
||||
コマンド行フラグを、システム・プロパティ名と値のペアとともに出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-flag \fIname\fR
|
||||
.RS 4
|
||||
指定されたコマンドライン・フラグの名前と値を出力します。
|
||||
指定されたコマンド行フラグの名前と値を出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-flag \fI[+|\-]name\fR
|
||||
.RS 4
|
||||
指定されたブール型のコマンドライン・フラグを有効または無効にします。
|
||||
指定されたブール型のコマンド行フラグを有効または無効にします。
|
||||
.RE
|
||||
.PP
|
||||
\-flag \fIname=value\fR
|
||||
.RS 4
|
||||
指定されたコマンドライン・フラグを指定された値に設定します。
|
||||
指定されたコマンド行フラグを指定された値に設定します。
|
||||
.RE
|
||||
.PP
|
||||
\-flags
|
||||
.RS 4
|
||||
JVMに渡されるコマンドライン・フラグを出力します。
|
||||
JVMに渡されるコマンド行フラグを出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-sysprops
|
||||
.RS 4
|
||||
Javaシステム・プロパティを名前と値のペアとして出力します。
|
||||
Javaシステム・プロパティを名前と値のペアとして出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-h
|
||||
.RS 4
|
||||
ヘルプ・メッセージが出力されます。
|
||||
ヘルプ・メッセージが出力されます。
|
||||
.RE
|
||||
.PP
|
||||
\-help
|
||||
.RS 4
|
||||
ヘルプ・メッセージが出力されます。
|
||||
ヘルプ・メッセージが出力されます。
|
||||
.RE
|
||||
.SH "関連項目"
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: jjs
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: 基本ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 1994, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "jjs" "1" "2013年11月21日" "JDK 8" "基本ツール"
|
||||
.\" Title: jjs
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2015年3月3日
|
||||
.\" SectDesc: 基本ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "jjs" "1" "2015年3月3日" "JDK 8" "基本ツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
jjs \- Nashornエンジンを呼び出します。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
jjs \- Nashornエンジンを呼び出します。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjjs\fR [\fIoptions\fR] [\fIscript\-files\fR] [\-\- \fIarguments\fR]
|
||||
\fB\fBjjs\fR\fR\fB [\fR\fB\fIoptions\fR\fR\fB] [\fR\fB\fIscript\-files\fR\fR\fB] [\-\- \fR\fB\fIarguments\fR\fR\fB]\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,331 +66,369 @@ jjs \- Nashornエンジンを呼び出します。
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
空白文字で区切られた、\fIjjs\fRコマンドの1つ以上のオプション。詳細は、オプションを参照してください。
|
||||
空白文字で区切られた、\fBjjs\fRコマンドの1つ以上のオプション。詳細は、オプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIscript\-files\fR
|
||||
.RS 4
|
||||
空白文字で区切られた、Nashornを使用して解釈する1つ以上のスクリプト・ファイル。ファイルが指定されない場合は、対話型シェルが起動されます。
|
||||
空白文字で区切られた、Nashornを使用して解釈する1つ以上のスクリプト・ファイル。ファイルが指定されない場合は、対話型シェルが起動されます。
|
||||
.RE
|
||||
.PP
|
||||
\fIarguments\fR
|
||||
.RS 4
|
||||
二重ハイフン・マーカー(\fI\-\-\fR)の後のすべての値が、引数としてスクリプトまたは対話型シェルに渡されます。これらの値には\fIarguments\fRプロパティを使用してアクセスできます(Example 3を参照してください)。
|
||||
二重ハイフン・マーカー(\fB\-\-\fR)の後のすべての値が、引数としてスクリプトまたは対話型シェルに渡されます。これらの値には\fBarguments\fRプロパティを使用してアクセスできます(Example 3を参照してください)。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIjjs\fRコマンドライン・ツールを使用してNashornエンジンを呼び出します。これを使用して、1つまたは複数のスクリプト・ファイルを解釈したり、対話型シェルを実行することができます。
|
||||
.SH "オプション"
|
||||
\fBjjs\fRコマンド行ツールを使用してNashornエンジンを呼び出します。これを使用して、1つまたは複数のスクリプト・ファイルを解釈したり、対話型シェルを実行することができます。
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\fIjjs\fRコマンドのオプションはスクリプトがNashornによって解釈される条件を制御します。
|
||||
\fBjjs\fRコマンドのオプションはスクリプトがNashornによって解釈される条件を制御します。
|
||||
.PP
|
||||
\-ccs=\fIsize\fR, \-\-class\-cache\-size=\fIsize\fR
|
||||
\-ccs=\fIsize\fR
|
||||
.br
|
||||
\-\-class\-cache\-size=\fIsize\fR
|
||||
.RS 4
|
||||
クラス・キャッシュ・サイズをバイト単位で設定します。キロバイト(KB)を示すために\fIk\fRまたは\fIK\fRの文字を追加し、メガバイト(MB)を示すために\fIm\fRまたは\fIM\fRの文字を追加し、ギガバイト(GB)を示すために\fIg\fRまたは\fIG\fRを追加します。デフォルトでは、クラス・キャッシュ・サイズは50バイトに設定されます。次の例は、1024バイト(1 KB)に設定する方法を示します。
|
||||
クラス・キャッシュ・サイズをバイト単位で設定します。キロバイト(KB)を示すために\fBk\fRまたは\fBK\fRの文字を追加し、メガバイト(MB)を示すために\fBm\fRまたは\fBM\fRの文字を追加し、ギガバイト(GB)を示すために\fBg\fRまたは\fBG\fRを追加します。デフォルトでは、クラス・キャッシュ・サイズは50バイトに設定されます。次の例は、1024バイト(1 KB)に設定する方法を示します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\-css=100
|
||||
\-css=1k
|
||||
\fB\-css=100\fR
|
||||
\fB\-css=1k\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.RE
|
||||
.PP
|
||||
\-co, \-\-compile\-only
|
||||
\-co
|
||||
.br
|
||||
\-\-compile\-only
|
||||
.RS 4
|
||||
スクリプトを実行せずにコンパイルします。
|
||||
スクリプトを実行せずにコンパイルします。
|
||||
.RE
|
||||
.PP
|
||||
\-cp \fIpath\fR, \-\-classpath \fIpath\fR
|
||||
\-cp \fIpath\fR
|
||||
.br
|
||||
\-classpath \fIpath\fR
|
||||
.RS 4
|
||||
サポートするクラスへのパスを指定します。複数のパスを設定するには、このオプションを繰り返すか、または各パスをコロン(:)で区切ります。
|
||||
サポートするクラスへのパスを指定します。複数のパスを設定するには、このオプションを繰り返すか、または各パスをコロン(:)で区切ります。
|
||||
.RE
|
||||
.PP
|
||||
\-D\fIname\fR=\fIvalue\fR
|
||||
.RS 4
|
||||
プロパティ名に値を割り当てることで、スクリプトに渡すシステム・プロパティを設定します。次の例で、対話型モードでNashornを呼び出して、\fImyValue\fRを\fImyKey\fRという名前のプロパティに割り当てる方法を示します。
|
||||
プロパティ名に値を割り当てることで、スクリプトに渡すシステム・プロパティを設定します。次の例で、対話型モードでNashornを呼び出して、\fBmyValue\fRを\fBmyKey\fRという名前のプロパティに割り当てる方法を示します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
>> \fBjjs \-DmyKey=myValue\fR
|
||||
jjs> \fBjava\&.lang\&.System\&.getProperty("myKey")\fR
|
||||
myValue
|
||||
jjs>
|
||||
\fB>> \fR\fB\fBjjs \-DmyKey=myValue\fR\fR
|
||||
\fBjjs> \fR\fB\fBjava\&.lang\&.System\&.getProperty("myKey")\fR\fR
|
||||
\fBmyValue\fR
|
||||
\fBjjs>\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
このオプションを繰り返し使用すると、複数のプロパティを設定できます。
|
||||
このオプションを繰り返し使用すると、複数のプロパティを設定できます。
|
||||
.RE
|
||||
.PP
|
||||
\-d=\fIpath\fR, \-\-dump\-debug\-dir=\fIpath\fR
|
||||
\-d=\fIpath\fR
|
||||
.br
|
||||
\-\-dump\-debug\-dir=\fIpath\fR
|
||||
.RS 4
|
||||
クラス・ファイルをダンプするディレクトリへのパスを指定します。
|
||||
クラス・ファイルをダンプするディレクトリへのパスを指定します。
|
||||
.RE
|
||||
.PP
|
||||
\-\-debug\-lines
|
||||
.RS 4
|
||||
クラス・ファイル内の行番号表を生成します。デフォルトでは、このオプションは有効になっています。無効にするには\fI\-\-debug\-lines=false\fRを指定します。
|
||||
クラス・ファイル内の行番号表を生成します。デフォルトでは、このオプションは有効になっています。無効にするには\fB\-\-debug\-lines=false\fRを指定します。
|
||||
.RE
|
||||
.PP
|
||||
\-\-debug\-locals
|
||||
.RS 4
|
||||
クラス・ファイル内のローカル変数を生成します。
|
||||
クラス・ファイル内のローカル変数を生成します。
|
||||
.RE
|
||||
.PP
|
||||
\-doe, \-\-dump\-on\-error
|
||||
\-doe
|
||||
.br
|
||||
\-\-dump\-on\-error
|
||||
.RS 4
|
||||
エラーが発生したときに、フル・スタック・トレースを提供します。デフォルトでは、簡単なエラー・メッセージのみが出力されます。
|
||||
エラーが発生したときに、フル・スタック・トレースを提供します。デフォルトでは、簡単なエラー・メッセージのみが出力されます。
|
||||
.RE
|
||||
.PP
|
||||
\-\-early\-lvalue\-error
|
||||
.RS 4
|
||||
無効な左辺値式が早期エラーとして(つまり、コードが解析されるときに)報告されます。デフォルトでは、このオプションは有効になっています。無効にするには\fI\-\-early\-lvalue\-error=false\fRを指定します。無効な場合、無効な左辺値式はコードが実行されるまで報告されません。
|
||||
無効な左辺値式が早期エラーとして(つまり、コードが解析されるときに)報告されます。デフォルトでは、このオプションは有効になっています。無効にするには\fB\-\-early\-lvalue\-error=false\fRを指定します。無効な場合、無効な左辺値式はコードが実行されるまで報告されません。
|
||||
.RE
|
||||
.PP
|
||||
\-\-empty\-statements
|
||||
.RS 4
|
||||
空の文をJavaの抽象構文ツリーに保存します。
|
||||
空の文をJavaの抽象構文ツリーに保存します。
|
||||
.RE
|
||||
.PP
|
||||
\-fv, \-\-fullversion
|
||||
\-fv
|
||||
.br
|
||||
\-\-fullversion
|
||||
.RS 4
|
||||
完全なNashornバージョン文字列を出力します。
|
||||
完全なNashornバージョン文字列を出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-\-function\-statement\-error
|
||||
.RS 4
|
||||
関数の宣言が文として使用されるとエラー・メッセージが出力されます。
|
||||
関数の宣言が文として使用されるとエラー・メッセージが出力されます。
|
||||
.RE
|
||||
.PP
|
||||
\-\-function\-statement\-warning
|
||||
.RS 4
|
||||
関数の宣言が文として使用されると警告メッセージが出力されます。
|
||||
関数の宣言が文として使用されると警告メッセージが出力されます。
|
||||
.RE
|
||||
.PP
|
||||
\-fx
|
||||
.RS 4
|
||||
スクリプトをJavaFXアプリケーションとして起動します。
|
||||
スクリプトをJavaFXアプリケーションとして起動します。
|
||||
.RE
|
||||
.PP
|
||||
\-h, \-help
|
||||
\-h
|
||||
.br
|
||||
\-help
|
||||
.RS 4
|
||||
オプションのリストとその説明を出力します。
|
||||
オプションのリストとその説明を出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-J\fIoption\fR
|
||||
.RS 4
|
||||
指定した\fIjava\fR起動オプションをJVMに渡します。次の例で、対話型モードでNashornを呼び出して、JVMによって使用される最大メモリーを4 GBに設定する方法を示します。
|
||||
指定した\fBjava\fR起動オプションをJVMに渡します。次の例で、対話型モードでNashornを呼び出して、JVMによって使用される最大メモリーを4 GBに設定する方法を示します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
>> \fBjjs \-J\-Xmx4g\fR
|
||||
jjs> \fBjava\&.lang\&.Runtime\&.getRuntime()\&.maxMemory()\fR
|
||||
3817799680
|
||||
jjs>
|
||||
\fB>> \fR\fB\fBjjs \-J\-Xmx4g\fR\fR
|
||||
\fBjjs> \fR\fB\fBjava\&.lang\&.Runtime\&.getRuntime()\&.maxMemory()\fR\fR
|
||||
\fB3817799680\fR
|
||||
\fBjjs>\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
このオプションを繰り返し使用すると、複数の\fIjava\fRコマンド・オプションを渡すことができます。
|
||||
このオプションを繰り返し使用すると、複数の\fBjava\fRコマンド・オプションを渡すことができます。
|
||||
.RE
|
||||
.PP
|
||||
\-\-language=[es5]
|
||||
.RS 4
|
||||
ECMAScript言語バージョンを指定します。デフォルトのバージョンはES5です。
|
||||
.RE
|
||||
.PP
|
||||
\-\-lazy\-compilation
|
||||
.RS 4
|
||||
レイジー・コード生成戦略(つまり、スクリプト全体が一度にコンパイルされない)を有効にします。このオプションは試験的なものです。
|
||||
レイジー・コード生成戦略(つまり、スクリプト全体が一度にコンパイルされない)を有効にします。このオプションは試験的なものです。
|
||||
.RE
|
||||
.PP
|
||||
\-\-loader\-per\-compile
|
||||
.RS 4
|
||||
コンパイルごとに新しいクラス・ローダーを作成します。デフォルトでは、このオプションは有効になっています。無効にするには\fI\-\-loader\-per\-compile=false\fRを指定します。
|
||||
コンパイルごとに新しいクラス・ローダーを作成します。デフォルトでは、このオプションは有効になっています。無効にするには\fB\-\-loader\-per\-compile=false\fRを指定します。
|
||||
.RE
|
||||
.PP
|
||||
\-\-log=\fIsubsystem\fR:\fIlevel\fR
|
||||
.RS 4
|
||||
指定されたサブシステムに対して、特定のレベルでロギングを実行します。カンマで区切って複数のサブシステムのロギング・レベルを指定できます。次に例を示します。
|
||||
指定されたサブシステムに対して、特定のレベルでロギングを実行します。カンマで区切って複数のサブシステムのロギング・レベルを指定できます。次に例を示します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\-\-log=fields:finest,codegen:info
|
||||
\fB\-\-log=fields:finest,codegen:info\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.RE
|
||||
.PP
|
||||
\-\-optimistic\-types=[true|false]
|
||||
.RS 4
|
||||
再コンパイルの最適化を解除してオプティミスティック・タイプ仮定を有効または無効にします。オプティミスティック・タイプを使用した実行によって最終的な速度が向上しますが、ウォームアップ時間が増える場合があります。
|
||||
.RE
|
||||
.PP
|
||||
\-\-package=\fIname\fR
|
||||
.RS 4
|
||||
生成されたクラス・ファイルを追加するパッケージを指定します。
|
||||
生成されたクラス・ファイルを追加するパッケージを指定します。
|
||||
.RE
|
||||
.PP
|
||||
\-\-parse\-only
|
||||
.RS 4
|
||||
コンパイルせずにコードを解析します。
|
||||
コンパイルせずにコードを解析します。
|
||||
.RE
|
||||
.PP
|
||||
\-\-print\-ast
|
||||
.RS 4
|
||||
抽象構文ツリーを出力します。
|
||||
抽象構文ツリーを出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-\-print\-code
|
||||
.RS 4
|
||||
バイトコードを出力します。
|
||||
バイトコードを出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-\-print\-lower\-ast
|
||||
.RS 4
|
||||
掘り下げた抽象構文ツリーを出力します。
|
||||
掘り下げた抽象構文ツリーを出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-\-print\-lower\-parse
|
||||
.RS 4
|
||||
掘り下げた解析ツリーを出力します。
|
||||
掘り下げた解析ツリーを出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-\-print\-no\-newline
|
||||
.RS 4
|
||||
その他の\fI\-\-print*\fRオプションで強制的に1行で出力します。
|
||||
その他の\fB\-\-print*\fRオプションで強制的に1行で出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-\-print\-parse
|
||||
.RS 4
|
||||
解析ツリーを出力します。
|
||||
解析ツリーを出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-\-print\-symbols
|
||||
.RS 4
|
||||
記号表を出力します。
|
||||
記号表を出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-pcs, \-\-profile\-callsites
|
||||
\-pcs
|
||||
.br
|
||||
\-\-profile\-callsites
|
||||
.RS 4
|
||||
呼び出しサイトのプロファイル・データをダンプします。
|
||||
呼び出しサイトのプロファイル・データをダンプします。
|
||||
.RE
|
||||
.PP
|
||||
\-scripting
|
||||
.RS 4
|
||||
シェルのスクリプト機能を有効にします。
|
||||
シェルのスクリプト機能を有効にします。
|
||||
.RE
|
||||
.PP
|
||||
\-\-stderr=\fIfilename\fR|\fIstream\fR|\fItty\fR
|
||||
.RS 4
|
||||
標準エラー・ストリームを指定したファイル、ストリーム(たとえば\fIstdout\fR)に、またはテキスト端末にリダイレクトします。
|
||||
標準エラー・ストリームを指定したファイル、ストリーム(たとえば\fBstdout\fR)に、またはテキスト端末にリダイレクトします。
|
||||
.RE
|
||||
.PP
|
||||
\-\-stdout=\fIfilename\fR|\fIstream\fR|\fItty\fR
|
||||
.RS 4
|
||||
標準出力ストリームを指定したファイル、ストリーム(たとえば\fIstderr\fR)に、またはテキスト端末にリダイレクトします。
|
||||
標準出力ストリームを指定したファイル、ストリーム(たとえば\fBstderr\fR)に、またはテキスト端末にリダイレクトします。
|
||||
.RE
|
||||
.PP
|
||||
\-strict
|
||||
.RS 4
|
||||
標準(ECMAScript Edition 5\&.1)への準拠を強化するstrictモードを有効にし、これにより共通のコーディング・エラーを簡単に検出できるようになります。
|
||||
標準(ECMAScript Edition 5\&.1)への準拠を強化するstrictモードを有効にし、これにより共通のコーディング・エラーを簡単に検出できるようになります。
|
||||
.RE
|
||||
.PP
|
||||
\-t=\fIzone\fR, \-timezone=\fIzone\fR
|
||||
\-t=\fIzone\fR
|
||||
.br
|
||||
\-timezone=\fIzone\fR
|
||||
.RS 4
|
||||
スクリプトの実行に対し指定したタイムゾーンを設定します。OSで設定されたタイムゾーンをオーバーライドし、\fIDate\fRオブジェクトで使用されます。
|
||||
スクリプトの実行に対し指定したタイムゾーンを設定します。OSで設定されたタイムゾーンをオーバーライドし、\fBDate\fRオブジェクトで使用されます。
|
||||
.RE
|
||||
.PP
|
||||
\-tcs=\fIparameter\fR, \-\-trace\-callsites=\fIparameter\fR
|
||||
\-tcs=\fIparameter\fR
|
||||
.br
|
||||
\-\-trace\-callsites=\fIparameter\fR
|
||||
.RS 4
|
||||
呼出しサイトのトレースのモードを有効にします。使用可能なパラメータは、次のとおりです。
|
||||
呼出しサイトのトレースのモードを有効にします。使用可能なパラメータは、次のとおりです。
|
||||
.PP
|
||||
miss
|
||||
.RS 4
|
||||
呼出しサイトのミスをトレースします。
|
||||
呼出しサイトのミスをトレースします。
|
||||
.RE
|
||||
.PP
|
||||
enterexit
|
||||
.RS 4
|
||||
呼出しサイトへの出入りをトレースします。
|
||||
呼出しサイトへの出入りをトレースします。
|
||||
.RE
|
||||
.PP
|
||||
objects
|
||||
.RS 4
|
||||
オブジェクトのプロパティを出力します。
|
||||
オブジェクトのプロパティを出力します。
|
||||
.RE
|
||||
.RE
|
||||
.PP
|
||||
\-\-verify\-code
|
||||
.RS 4
|
||||
バイトコードを実行する前に検証します。
|
||||
バイトコードを実行する前に検証します。
|
||||
.RE
|
||||
.PP
|
||||
\-v, \-version
|
||||
\-v
|
||||
.br
|
||||
\-version
|
||||
.RS 4
|
||||
Nashornバージョン文字列を出力します。
|
||||
Nashornバージョン文字列を出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-xhelp
|
||||
.RS 4
|
||||
コマンドライン・オプションの拡張ヘルプを出力します。
|
||||
コマンド行オプションの拡張ヘルプを出力します。
|
||||
.RE
|
||||
.SH "例"
|
||||
.SH "例"
|
||||
.PP
|
||||
\fBExample 1\fR, Nashornを使用したスクリプトの実行
|
||||
\fB例 1 \fRNashornを使用したスクリプトの実行
|
||||
.RS 4
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jjs script\&.js
|
||||
\fBjjs script\&.js\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.RE
|
||||
.PP
|
||||
\fBExample 2\fR, 対話型モードでのNashornの実行
|
||||
\fB例 2 \fR対話型モードでのNashornの実行
|
||||
.RS 4
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
>> \fBjjs\fR
|
||||
jjs> \fBprintln("Hello, World!")\fR
|
||||
Hello, World!
|
||||
jjs> \fBquit()\fR
|
||||
>>
|
||||
\fB>> \fR\fB\fBjjs\fR\fR
|
||||
\fBjjs> \fR\fB\fBprintln("Hello, World!")\fR\fR
|
||||
\fBHello, World!\fR
|
||||
\fBjjs> \fR\fB\fBquit()\fR\fR
|
||||
\fB>>\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.RE
|
||||
.PP
|
||||
\fBExample 3\fR, Nashornへの引数の渡し
|
||||
\fB例 3 \fRNashornへの引数の渡し
|
||||
.RS 4
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
>> \fBjjs \-\- a b c\fR
|
||||
jjs> \fBarguments\&.join(", ")\fR
|
||||
a, b, c
|
||||
jjs>
|
||||
\fB>> \fR\fB\fBjjs \-\- a b c\fR\fR
|
||||
\fBjjs> \fR\fB\fBarguments\&.join(", ")\fR\fR
|
||||
\fBa, b, c\fR
|
||||
\fBjjs>\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.RE
|
||||
.SH "関連項目"
|
||||
.SH "関連項目"
|
||||
.PP
|
||||
\fIjrunscript\fR
|
||||
\fBjrunscript\fR
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: jmap
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: トラブルシューティング・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "jmap" "1" "2013年11月21日" "JDK 8" "トラブルシューティング・ツール"
|
||||
.\" Title: jmap
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: トラブルシューティング・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "jmap" "1" "2013年11月21日" "JDK 8" "トラブルシューティング・ツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
jmap \- プロセスやコア・ファイルまたはリモート・デバッグ・サーバーの、共用オブジェクト・メモリー・マップまたはヒープ・メモリーの詳細を出力します。このコマンドは試験的なもので、サポートされていません。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
jmap \- プロセスやコア・ファイルまたはリモート・デバッグ・サーバーの、共用オブジェクト・メモリー・マップまたはヒープ・メモリーの詳細を出力します。このコマンドは試験的なもので、サポートされていません。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjmap\fR [ \fIoptions\fR ] \fIpid\fR
|
||||
\fBjmap\fR [ \fIoptions\fR ] \fIpid\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -66,7 +68,7 @@ jmap \- プロセスやコア・ファイルまたはリモート・デバッグ
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjmap\fR [ \fIoptions\fR ] \fIexecutable\fR \fIcore\fR
|
||||
\fBjmap\fR [ \fIoptions\fR ] \fIexecutable\fR \fIcore\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -76,7 +78,7 @@ jmap \- プロセスやコア・ファイルまたはリモート・デバッグ
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjmap\fR [ \fIoptions\fR ] [ \fIpid\fR ] \fIserver\-id\fR@ ] \fIremote\-hostname\-or\-IP\fR
|
||||
\fBjmap\fR [ \fIoptions\fR ] [ \fIpid\fR ] \fIserver\-id\fR@ ] \fIremote\-hostname\-or\-IP\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -84,93 +86,93 @@ jmap \- プロセスやコア・ファイルまたはリモート・デバッグ
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
コマンドライン・オプション。オプションを参照してください。
|
||||
コマンド行オプション。オプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIpid\fR
|
||||
.RS 4
|
||||
出力するメモリー・マップのプロセスID。プロセスはJavaプロセスである必要があります。マシン上で実行しているJavaプロセスの一覧を取得するには、jps(1)コマンドを使用します。
|
||||
出力するメモリー・マップのプロセスID。プロセスはJavaプロセスである必要があります。マシン上で実行しているJavaプロセスの一覧を取得するには、jps(1)コマンドを使用します。
|
||||
.RE
|
||||
.PP
|
||||
\fI実行可能ファイル\fR
|
||||
\fI実行可能ファイル\fR
|
||||
.RS 4
|
||||
コア・ダンプの作成元のJava実行可能ファイル。
|
||||
コア・ダンプの作成元のJava実行可能ファイル。
|
||||
.RE
|
||||
.PP
|
||||
\fIコア\fR
|
||||
\fIコア\fR
|
||||
.RS 4
|
||||
出力するメモリー・マップのコア・ファイル。
|
||||
出力するメモリー・マップのコア・ファイル。
|
||||
.RE
|
||||
.PP
|
||||
\fIremote\-hostname\-or\-IP\fR
|
||||
.RS 4
|
||||
リモート・デバッグ・サーバーの\fIホスト名\fRまたは\fIIP\fRアドレス。jsadebugd(1)を参照してください。
|
||||
リモート・デバッグ・サーバーの\fBホスト名\fRまたは\fBIP\fRアドレス。jsadebugd(1)を参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIserver\-id\fR
|
||||
.RS 4
|
||||
複数のデバッグ・サーバーが同一のリモート・ホストで実行している場合の、オプション固有のID。
|
||||
複数のデバッグ・サーバーが同一のリモート・ホストで実行している場合の、オプション固有のID。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIjmap\fRコマンドは、指定されたプロセスやコア・ファイルまたはリモート・デバッグ・サーバーの、共用オブジェクト・メモリー・マップまたはヒープ・メモリーの詳細を出力します。指定されたプロセスが64ビットJava仮想マシン(JVM)上で実行されている場合、\fI\-J\-d64\fRオプションを指定する必要がある場合があります。次に例を示します。\fIjmap\fR
|
||||
\fI\-J\-d64 \-heap pid\fR。
|
||||
\fBjmap\fRコマンドは、指定されたプロセスやコア・ファイルまたはリモート・デバッグ・サーバーの、共用オブジェクト・メモリー・マップまたはヒープ・メモリーの詳細を出力します。指定されたプロセスが64ビットJava Virtual Machine (JVM)上で実行されている場合、\fB\-J\-d64\fRオプションを指定する必要がある場合があります。次に例を示します。\fBjmap\fR
|
||||
\fB\-J\-d64 \-heap pid\fR。
|
||||
.PP
|
||||
\fB注意:\fR
|
||||
このユーティリティはサポート対象外であり、将来のJDKのリリースでは利用できなくなる可能性があります。\fIdbgeng\&.dll\fRファイルが存在していないWindowsシステムでは、Debugging Tools For Windowsをインストールしないとこれらのツールが正常に動作しません。\fIPATH\fR環境変数には、ターゲット・プロセスによって使用される\fIjvm\&.dll\fRの場所、またはクラッシュ・ダンプ・ファイルが生成された場所が含まれるようにしてください。次に例を示します。\fIset PATH=%JDK_HOME%\ejre\ebin\eclient;%PATH%\fR。
|
||||
.SH "オプション"
|
||||
\fB注意:\fR
|
||||
このユーティリティはサポート対象外であり、将来のJDKのリリースでは利用できなくなる可能性があります。\fBdbgeng\&.dll\fRファイルが存在していないWindowsシステムでは、Debugging Tools For Windowsをインストールしないとこれらのツールが正常に動作しません。\fBPATH\fR環境変数には、ターゲット・プロセスによって使用される\fBjvm\&.dll\fRの場所、またはクラッシュ・ダンプ・ファイルが生成された場所が含まれるようにしてください。次に例を示します。\fBset PATH=%JDK_HOME%\ejre\ebin\eclient;%PATH%\fR。
|
||||
.SH "オプション"
|
||||
.PP
|
||||
<オプションなし>
|
||||
<no option>
|
||||
.RS 4
|
||||
オプションを使用しない場合、\fIjmap\fRコマンドは共用オブジェクト・マッピングを出力します。ターゲットJVMにロードされた共用オブジェクトごとに、開始アドレス、マッピングのサイズおよび共用オブジェクト・ファイルのフルパスが出力されます。この動作は、Oracle Solaris
|
||||
\fIpmap\fRユーティリティと類似しています。
|
||||
オプションを使用しない場合、\fBjmap\fRコマンドは共用オブジェクト・マッピングを出力します。ターゲットJVMにロードされた共用オブジェクトごとに、開始アドレス、マッピングのサイズおよび共用オブジェクト・ファイルのフルパスが出力されます。この動作は、Oracle Solaris
|
||||
\fBpmap\fRユーティリティと類似しています。
|
||||
.RE
|
||||
.PP
|
||||
\-dump:[live,] format=b, file=\fIfilename\fR
|
||||
.RS 4
|
||||
Javaヒープを\fIhprof\fRバイナリ形式で\fIfilename\fRにダンプします。\fIlive\fRサブオプションはオプションですが、指定した場合、ヒープ内のアクティブなオブジェクトのみがダンプされます。ヒープ・ダンプを参照するには、jhat(1)コマンドを使用して生成されたファイルを読み取ります。
|
||||
Javaヒープを\fBhprof\fRバイナリ形式で\fBfilename\fRにダンプします。\fBlive\fRサブオプションはオプションですが、指定した場合、ヒープ内のアクティブなオブジェクトのみがダンプされます。ヒープ・ダンプを参照するには、jhat(1)コマンドを使用して生成されたファイルを読み取ります。
|
||||
.RE
|
||||
.PP
|
||||
\-finalizerinfo
|
||||
.RS 4
|
||||
ファイナライズを待っているオブジェクトに関する情報を出力します。
|
||||
ファイナライズを待っているオブジェクトに関する情報を出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-heap
|
||||
.RS 4
|
||||
使用されているガベージ・コレクションのヒープ・サマリー、ヘッダー構成、および世代関連のヒープ使用状況を出力します。さらに、internされた文字列の数とサイズも出力されます。
|
||||
使用されているガベージ・コレクションのヒープ・サマリー、ヘッダー構成、および世代関連のヒープ使用状況を出力します。さらに、internされた文字列の数とサイズも出力されます。
|
||||
.RE
|
||||
.PP
|
||||
\-histo[:live]
|
||||
.RS 4
|
||||
ヒープのヒストグラムを出力します。Javaクラスごとに、オブジェクトの数、バイト単位でのメモリー・サイズ、および完全修飾クラス名が出力されます。JVMの内部クラス名はアスタリスク(*)の接頭辞を付けて出力されます。\fIlive\fRサブオプションが指定された場合、アクティブなオブジェクトのみがカウントされます。
|
||||
ヒープのヒストグラムを出力します。Javaクラスごとに、オブジェクトの数、バイト単位でのメモリー・サイズ、および完全修飾クラス名が出力されます。JVMの内部クラス名はアスタリスク(*)の接頭辞を付けて出力されます。\fBlive\fRサブオプションが指定された場合、アクティブなオブジェクトのみがカウントされます。
|
||||
.RE
|
||||
.PP
|
||||
\-clstats
|
||||
.RS 4
|
||||
Javaヒープの、クラス・ローダー関連の統計データを出力します。クラス・ローダーごとに、その名前、状態、アドレス、親クラス・ローダー、およびクラス・ローダーがロードしたクラスの数とサイズが出力されます。
|
||||
Javaヒープの、クラス・ローダー関連の統計データを出力します。クラス・ローダーごとに、その名前、状態、アドレス、親クラス・ローダー、およびクラス・ローダーがロードしたクラスの数とサイズが出力されます。
|
||||
.RE
|
||||
.PP
|
||||
\-F
|
||||
.RS 4
|
||||
強制します。PIDが応答しないときに、このオプションを\fIjmap \-dump\fRまたは\fIjmap \-histo\fRオプションとともに使用します。このモードでは、\fIlive\fRサブオプションはサポートされません。
|
||||
強制します。PIDが応答しないときに、このオプションを\fBjmap \-dump\fRまたは\fBjmap \-histo\fRオプションとともに使用します。このモードでは、\fBlive\fRサブオプションはサポートされません。
|
||||
.RE
|
||||
.PP
|
||||
\-h
|
||||
.RS 4
|
||||
ヘルプ・メッセージが出力されます。
|
||||
ヘルプ・メッセージが出力されます。
|
||||
.RE
|
||||
.PP
|
||||
\-help
|
||||
.RS 4
|
||||
ヘルプ・メッセージが出力されます。
|
||||
ヘルプ・メッセージが出力されます。
|
||||
.RE
|
||||
.PP
|
||||
\-J\fIflag\fR
|
||||
.RS 4
|
||||
\fIjmap\fRコマンドを実行しているJava仮想マシンに\fIflag\fRを渡します。
|
||||
\fBjmap\fRコマンドを実行しているJava Virtual Machineに\fBflag\fRを渡します。
|
||||
.RE
|
||||
.SH "関連項目"
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: jps
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: モニタリング・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "jps" "1" "2013年11月21日" "JDK 8" "モニタリング・ツール"
|
||||
.\" Title: jps
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: モニタリング・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "jps" "1" "2013年11月21日" "JDK 8" "モニタリング・ツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
jps \- ターゲット・システム上で計測されたJava仮想マシン(JVM)を一覧表示します。このコマンドは試験的なもので、サポートされていません。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
jps \- ターゲット・システム上で計測されたJava仮想マシン(JVM)を一覧表示します。このコマンドは試験的なもので、サポートされていません。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjps\fR [ \fIoptions\fR ] [ \fIhostid\fR ]
|
||||
\fBjps\fR [ \fIoptions\fR ] [ \fIhostid\fR ]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,66 +66,67 @@ jps \- ターゲット・システム上で計測されたJava仮想マシン(JV
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
コマンドライン・オプション。オプションを参照してください。
|
||||
コマンド行オプション。オプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIhostid\fR
|
||||
.RS 4
|
||||
プロセス・レポートを生成するホストの識別子。\fIhostid\fRには、通信プロトコル、ポート番号、実装に固有な他のデータを指定したオプション・コンポーネントを含めることができます。ホスト識別子を参照してください。
|
||||
プロセス・レポートを生成するホストの識別子。\fBhostid\fRには、通信プロトコル、ポート番号、実装に固有な他のデータを指定したオプション・コンポーネントを含めることができます。ホスト識別子を参照してください。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIjps\fRコマンドは、ターゲット・システム上で計測されたJava HotSpot VMを一覧表示します。このコマンドで表示できるレポート情報は、アクセス権を持ったJVMに関するものに限定されます。
|
||||
\fBjps\fRコマンドは、ターゲット・システム上で計測されたJava HotSpot VMを一覧表示します。このコマンドで表示できるレポート情報は、アクセス権を持ったJVMに関するものに限定されます。
|
||||
.PP
|
||||
\fIhostid\fRを指定せずに\fIjps\fRコマンドを実行した場合、ローカル・ホストで計測されたJVMが検索されます。\fIhostid\fRを指定して起動した場合、指定されたプロトコルとポートを使用して、指定されたホスト上のJVMを検索します。\fIjstatd\fRプロセスがターゲット・ホスト上で実行されていると想定されます。
|
||||
\fBhostid\fRを指定せずに\fBjps\fRコマンドを実行した場合、ローカル・ホストで計測されたJVMが検索されます。\fBhostid\fRを指定して起動した場合、指定されたプロトコルとポートを使用して、指定されたホスト上のJVMを検索します。\fBjstatd\fRプロセスがターゲット・ホスト上で実行されていると想定されます。
|
||||
.PP
|
||||
\fIjps\fRコマンドは、ターゲット・システムで計測された各JVMについて、ローカルVM識別子、つまり\fIlvmid\fRをレポートします。\fIlvmid\fRは、一般的にはJVMプロセスに対するオペレーティング・システムのプロセス識別子ですが、必ずしもそうであるとは限りません。オプションを指定しない場合、\fIjps\fRによって、各Javaアプリケーションの\fIlvmid\fRが一覧表示され、それぞれにアプリケーションのクラス名またはJARファイル名が簡単な形式で示されます。この簡単な形式のクラス名とJARファイル名では、クラスのパッケージ情報またはJARファイル・パス情報が省略されています。
|
||||
\fBjps\fRコマンドは、ターゲット・システムで計測された各JVMについて、ローカルVM識別子、つまり\fBlvmid\fRをレポートします。\fBlvmid\fRは、一般的にはJVMプロセスに対するオペレーティング・システムのプロセス識別子ですが、必ずしもそうであるとは限りません。オプションを指定しない場合、\fBjps\fRによって、各Javaアプリケーションの\fBlvmid\fRが一覧表示され、それぞれにアプリケーションのクラス名またはJARファイル名が簡単な形式で示されます。この簡単な形式のクラス名とJARファイル名では、クラスのパッケージ情報またはJARファイル・パス情報が省略されています。
|
||||
.PP
|
||||
\fIjps\fRコマンドは、Java起動ツールを使用してmainメソッドに渡されるクラス名と引数を検索します。独自の起動ツールを使用してターゲットJVMを起動した場合は、\fImain\fRメソッドに渡されるクラス名またはJARファイル名と引数は利用できません。この場合、\fIjps\fRコマンドは、\fImain\fRメソッドに渡されるクラス名またはJARファイル名と引数に対して、文字列\fIUnknown\fRを出力します。
|
||||
\fBjps\fRコマンドは、Java起動ツールを使用してmainメソッドに渡されるクラス名と引数を検索します。独自の起動ツールを使用してターゲットJVMを起動した場合は、\fBmain\fRメソッドに渡されるクラス名またはJARファイル名と引数は利用できません。この場合、\fBjps\fRコマンドは、\fBmain\fRメソッドに渡されるクラス名またはJARファイル名と引数に対して、文字列\fBUnknown\fRを出力します。
|
||||
.PP
|
||||
\fIjps\fRコマンドで生成されるJVMのリストは、このコマンドを実行するプリンシパルに与えられたアクセス権に基づき、制限される場合があります。このコマンドは、オペレーティング・システム独自のアクセス制御機構による決定に基づいて、プリンシパルにアクセス権が与えられているJVMのみを一覧表示します。
|
||||
.SH "オプション"
|
||||
\fBjps\fRコマンドで生成されるJVMのリストは、このコマンドを実行するプリンシパルに与えられたアクセス権に基づき、制限される場合があります。このコマンドは、オペレーティング・システム独自のアクセス制御機構による決定に基づいて、プリンシパルにアクセス権が与えられているJVMのみを一覧表示します。
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\fIjps\fRコマンドでは、コマンドの出力を変更するオプションが多数サポートされています。将来、これらのオプションは、変更または廃止される可能性があります。
|
||||
\fBjps\fRコマンドでは、コマンドの出力を変更するオプションが多数サポートされています。将来、これらのオプションは、変更または廃止される可能性があります。
|
||||
.PP
|
||||
\-q
|
||||
.RS 4
|
||||
クラス名、JARファイル名、および\fImain\fRメソッドに渡された引数の出力を抑制し、ローカルVM識別子の一覧のみを生成します。
|
||||
クラス名、JARファイル名、および\fBmain\fRメソッドに渡された引数の出力を抑制し、ローカルVM識別子の一覧のみを生成します。
|
||||
.RE
|
||||
.PP
|
||||
\-m
|
||||
.RS 4
|
||||
\fImain\fRメソッドに渡される引数を出力します。この出力は、組み込まれているJVMに対して\fInull\fRになることもあります。
|
||||
\fBmain\fRメソッドに渡される引数を出力します。この出力は、組み込まれているJVMに対して\fBnull\fRになることもあります。
|
||||
.RE
|
||||
.PP
|
||||
\-l
|
||||
.RS 4
|
||||
アプリケーションの\fImain\fRクラスのフル・パッケージ名、またはアプリケーションのJARファイルへのフルパス名を出力します。
|
||||
アプリケーションの\fBmain\fRクラスのフル・パッケージ名、またはアプリケーションのJARファイルへのフルパス名を出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-v
|
||||
.RS 4
|
||||
JVMに渡される引数を表示します。
|
||||
JVMに渡される引数を表示します。
|
||||
.RE
|
||||
.PP
|
||||
\-V
|
||||
.RS 4
|
||||
クラス名、JARファイル名、およびmaiメソッドに渡された引数の出力を抑制し、ローカルVM識別子の一覧のみを生成します。
|
||||
クラス名、JARファイル名、およびmaiメソッドに渡された引数の出力を抑制し、ローカルVM識別子の一覧のみを生成します。
|
||||
.RE
|
||||
.PP
|
||||
\-J\fIoption\fR
|
||||
\-J\fBoption\fR
|
||||
.RS 4
|
||||
JVMに\fIoption\fRを渡します。optionには、Javaアプリケーション起動ツールのリファレンス・ページに記載されている\fIオプション\fRを1つ指定します。たとえば、\fI\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。java(1)を参照してください。
|
||||
JVMに\fBoption\fRを渡します。optionには、Javaアプリケーション起動ツールのリファレンス・ページに記載されている\fBオプション\fRを1つ指定します。たとえば、\fB\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。java(1)を参照してください。
|
||||
.RE
|
||||
.SH "ホスト識別子"
|
||||
.SH "ホスト識別子"
|
||||
.PP
|
||||
ホスト識別子、つまり\fIhostid\fRは、ターゲット・システムを示す文字列です。\fIhostid\fR文字列の構文は、URIの構文に対応しています。
|
||||
ホスト識別子、つまり\fBhostid\fRは、ターゲット・システムを示す文字列です。\fBhostid\fR文字列の構文は、URIの構文に対応しています。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
[protocol:][[//]hostname][:port][/servername]
|
||||
\fB[protocol:][[//]hostname][:port][/servername]\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -131,89 +134,93 @@ JVMに\fIoption\fRを渡します。optionには、Javaアプリケーション
|
||||
.PP
|
||||
\fIprotocol\fR
|
||||
.RS 4
|
||||
通信プロトコルです。\fIprotocol\fRが省略され、\fIhostname\fRが指定されていない場合、デフォルトのプロトコルが、プラットフォーム固有の最適化されたローカル・プロトコルになります。プロトコルが省略され、ホスト名が指定されている場合は、デフォルト・プロトコルは\fIrmi\fRになります。
|
||||
通信プロトコルです。\fBprotocol\fRが省略され、\fBhostname\fRが指定されていない場合、デフォルトのプロトコルが、プラットフォーム固有の最適化されたローカル・プロトコルになります。プロトコルが省略され、ホスト名が指定されている場合は、デフォルト・プロトコルは\fBrmi\fRになります。
|
||||
.RE
|
||||
.PP
|
||||
hostname
|
||||
.RS 4
|
||||
ターゲット・ホストを示すホスト名またはIPアドレスです。\fIhostname\fRパラメータが省略されている場合は、ターゲット・ホストはローカル・ホストになります。
|
||||
ターゲット・ホストを示すホスト名またはIPアドレスです。\fBhostname\fRパラメータが省略されている場合は、ターゲット・ホストはローカル・ホストになります。
|
||||
.RE
|
||||
.PP
|
||||
port
|
||||
.RS 4
|
||||
リモート・サーバーと通信するためのデフォルト・ポートです。\fIhostname\fRパラメータが省略されているか、\fIprotocol\fRパラメータが、最適化されたローカル・プロトコルを指定している場合、\fIport\fRパラメータは無視されます。それ以外の場合、\fIport\fRパラメータの扱いは、実装によって異なります。デフォルトの
|
||||
\fIrmi\fRプロトコルの場合、\fIport\fRパラメータは、リモート・ホスト上のrmiregistryのポート番号を示します。\fIport\fRパラメータが省略されているか、\fIprotocol\fRパラメータが\fIrmi\fRを示している場合、デフォルトのrmiregistryポート(1099)が使用されます。
|
||||
リモート・サーバーと通信するためのデフォルト・ポートです。\fBhostname\fRパラメータが省略されているか、\fBprotocol\fRパラメータが、最適化されたローカル・プロトコルを指定している場合、\fBport\fRパラメータは無視されます。それ以外の場合、\fBport\fRパラメータの扱いは、実装によって異なります。デフォルトの
|
||||
\fBrmi\fRプロトコルの場合、\fBport\fRパラメータは、リモート・ホスト上のrmiregistryのポート番号を示します。\fBport\fRパラメータが省略されているか、\fBprotocol\fRパラメータが\fBrmi\fRを示している場合、デフォルトのrmiregistryポート(1099)が使用されます。
|
||||
.RE
|
||||
.PP
|
||||
servername
|
||||
.RS 4
|
||||
このパラメータの扱いは、実装によって異なります。最適化されたローカル・プロトコルの場合、このフィールドは無視されます。\fIrmi\fRプロトコルの場合、このパラメータは、リモート・ホスト上のRMIリモート・オブジェクトの名前を示す文字列になります。詳細は、\fIjstatd\fRコマンドの\fI\-n\fRオプションを参照してください。
|
||||
このパラメータの扱いは、実装によって異なります。最適化されたローカル・プロトコルの場合、このフィールドは無視されます。\fBrmi\fRプロトコルの場合、このパラメータは、リモート・ホスト上のRMIリモート・オブジェクトの名前を示す文字列になります。詳細は、\fBjstatd\fRコマンドの\fB\-n\fRオプションを参照してください。
|
||||
.RE
|
||||
.SH "出力フォーマット"
|
||||
.SH "出力フォーマット"
|
||||
.PP
|
||||
\fIjps\fRコマンドの出力は、次のパターンに従います。
|
||||
\fBjps\fRコマンドの出力は、次のパターンに従います。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
lvmid [ [ classname | JARfilename | "Unknown"] [ arg* ] [ jvmarg* ] ]
|
||||
\fBlvmid [ [ classname | JARfilename | "Unknown"] [ arg* ] [ jvmarg* ] ]\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
すべての出力トークンは空白文字で区切られます。\fIarg\fR値の中で空白を使用すると、実際の定位置パラメータに引数をマッピングしようとするときに、あいまいになります。
|
||||
すべての出力トークンは空白文字で区切られます。\fBarg\fR値の中で空白を使用すると、実際の定位置パラメータに引数をマッピングしようとするときに、あいまいになります。
|
||||
.PP
|
||||
\fB注意:\fR
|
||||
将来のリリースでこの形式は変更される可能性があるため、\fIjps\fRの出力を解析するスクリプトは作成しないことをお薦めします。\fIjps\fR出力を解析するスクリプトを作成すると、このツールの将来のリリースで、作成したスクリプトの変更が必要になる可能性があります。
|
||||
.SH "例"
|
||||
\fB注意:\fR
|
||||
将来のリリースでこの形式は変更される可能性があるため、\fBjps\fRの出力を解析するスクリプトは作成しないことをお薦めします。\fBjps\fR出力を解析するスクリプトを作成すると、このツールの将来のリリースで、作成したスクリプトの変更が必要になる可能性があります。
|
||||
.SH "例"
|
||||
.PP
|
||||
この項では、\fIjps\fRコマンドの例を示します。
|
||||
この項では、\fBjps\fRコマンドの例を示します。
|
||||
.PP
|
||||
ローカル・ホスト上で計測されたJVMを一覧表示する場合:
|
||||
ローカル・ホスト上で計測されたJVMを一覧表示する場合:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jps
|
||||
18027 Java2Demo\&.JAR
|
||||
18032 jps
|
||||
18005 jstat
|
||||
\fBjps\fR
|
||||
\fB18027 Java2Demo\&.JAR\fR
|
||||
\fB18032 jps\fR
|
||||
\fB18005 jstat\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
次の例では、リモート・ホスト上で計測されたJVMを一覧表示します。この例では、\fIjstat\fRサーバーと、その内部RMIレジストリまたは別の外部rmiregistryプロセスのいずれかが、リモート・ホストのデフォルト・ポート(ポート1099)で実行されていると想定しています。また、ローカル・ホストが、リモート・ホストへの有効なアクセス権を持っていることも想定しています。この例には、\fI\-l\fRオプションも含まれ、クラス名またはJARファイル名を詳細な形式で出力します。
|
||||
次の例では、リモート・ホスト上で計測されたJVMを一覧表示します。この例では、\fBjstat\fRサーバーと、その内部RMIレジストリまたは別の外部rmiregistryプロセスのいずれかが、リモート・ホストのデフォルト・ポート(ポート1099)で実行されていると想定しています。また、ローカル・ホストが、リモート・ホストへの有効なアクセス権を持っていることも想定しています。この例には、\fB\-l\fRオプションも含まれ、クラス名またはJARファイル名を詳細な形式で出力します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jps \-l remote\&.domain
|
||||
3002 /opt/jdk1\&.7\&.0/demo/jfc/Java2D/Java2Demo\&.JAR
|
||||
2857 sun\&.tools\&.jstatd\&.jstatd
|
||||
\fBjps \-l remote\&.domain\fR
|
||||
\fB3002 /opt/jdk1\&.7\&.0/demo/jfc/Java2D/Java2Demo\&.JAR\fR
|
||||
\fB2857 sun\&.tools\&.jstatd\&.jstatd\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
次の例では、RMIレジストリにデフォルトではないポートを使用して、リモート・ホスト上で計測されたJVMを一覧表示します。この例では、内部RMIレジストリがポート2002にバインドされた\fIjstatd\fRサーバーが、リモート・ホスト上で実行されていると想定しています。また、\fI\-m\fRオプションを使用して、一覧表示されたそれぞれのJavaアプリケーションの\fImain\fRメソッドに渡される引数を組み込んでいます。
|
||||
次の例では、RMIレジストリにデフォルトではないポートを使用して、リモート・ホスト上で計測されたJVMを一覧表示します。この例では、内部RMIレジストリがポート2002にバインドされた\fBjstatd\fRサーバーが、リモート・ホスト上で実行されていると想定しています。また、\fB\-m\fRオプションを使用して、一覧表示されたそれぞれのJavaアプリケーションの\fBmain\fRメソッドに渡される引数を組み込んでいます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jps \-m remote\&.domain:2002
|
||||
3002 /opt/jdk1\&.7\&.0/demo/jfc/Java2D/Java2Demo\&.JAR
|
||||
3102 sun\&.tools\&.jstatd\&.jstatd \-p 2002
|
||||
\fBjps \-m remote\&.domain:2002\fR
|
||||
\fB3002 /opt/jdk1\&.7\&.0/demo/jfc/Java2D/Java2Demo\&.JAR\fR
|
||||
\fB3102 sun\&.tools\&.jstatd\&.jstatd \-p 2002\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "関連項目"
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: jrunscript
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: スクリプティング・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "jrunscript" "1" "2013年11月21日" "JDK 8" "スクリプティング・ツール"
|
||||
.\" Title: jrunscript
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: スクリプティング・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "jrunscript" "1" "2013年11月21日" "JDK 8" "スクリプティング・ツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
jrunscript \- 対話型モードとバッチ・モードをサポートするコマンドライン・スクリプト・シェルを実行します。このコマンドは試験的なもので、サポートされていません。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
jrunscript \- 対話型モードとバッチ・モードをサポートするコマンド行スクリプト・シェルを実行します。このコマンドは試験的なもので、サポートされていません。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjrunscript\fR [\fIoptions\fR] [\fIarguments\fR]
|
||||
\fBjrunscript\fR [\fIoptions\fR] [\fIarguments\fR]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,143 +66,148 @@ jrunscript \- 対話型モードとバッチ・モードをサポートするコ
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
コマンドライン・オプション。オプションを参照してください。
|
||||
コマンド行オプション。オプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIarguments\fR
|
||||
.RS 4
|
||||
引数を使用する場合、オプションまたはコマンド名の直後に記述してください。引数を参照してください。
|
||||
引数を使用する場合、オプションまたはコマンド名の直後に記述してください。引数を参照してください。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIjrunscript\fRコマンドは、言語に依存しないコマンドライン・スクリプト・シェルです。\fIjrunscript\fRは、対話型(read\-eval\-print)モードとバッチ(\fI\-f\fRオプション)・モードの両方のスクリプト実行をサポートします。デフォルトの使用言語はJavaScriptですが、\fI\-l\fRオプションを使用すれば他の言語も指定できます。\fIjrunscript\fRコマンドは、Javaとスクリプト言語との通信を使用して探求的なプログラミング・スタイルをサポートします。
|
||||
.SH "オプション"
|
||||
\fBjrunscript\fRコマンドは、言語に依存しないコマンド行スクリプト・シェルです。\fBjrunscript\fRは、対話型(read\-eval\-print)モードとバッチ(\fB\-f\fRオプション)・モードの両方のスクリプト実行をサポートします。デフォルトの使用言語はJavaScriptですが、\fB\-l\fRオプションを使用すれば他の言語も指定できます。\fBjrunscript\fRコマンドは、Javaとスクリプト言語との通信を使用して探求的なプログラミング・スタイルをサポートします。
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\-classpath \fIpath\fR
|
||||
.RS 4
|
||||
スクリプトがアクセスする必要のあるクラス・ファイルの場所を示します。
|
||||
スクリプトがアクセスする必要のあるクラス・ファイルの場所を示します。
|
||||
.RE
|
||||
.PP
|
||||
\-cp \fIpath\fR
|
||||
.RS 4
|
||||
\fI\-classpath\fR
|
||||
\fIpath\fRと同じです。
|
||||
\fB\-classpath\fR
|
||||
\fIpath\fRと同じです。
|
||||
.RE
|
||||
.PP
|
||||
\-D\fIname\fR=\fIvalue\fR
|
||||
.RS 4
|
||||
Javaのシステム・プロパティを設定します。
|
||||
Javaのシステム・プロパティを設定します。
|
||||
.RE
|
||||
.PP
|
||||
\-J\fIflag\fR
|
||||
.RS 4
|
||||
\fIflag\fRを、\fIjrunscript\fRコマンドが実行されているJava仮想マシンに直接渡します。
|
||||
\fBflag\fRを、\fBjrunscript\fRコマンドが実行されているJava仮想マシンに直接渡します。
|
||||
.RE
|
||||
.PP
|
||||
\-I \fIlanguage\fR
|
||||
.RS 4
|
||||
指定されたスクリプト言語を使用します。デフォルトではJavaScriptが使用されます。他のスクリプト言語を使用するには、\fI\-cp\fRまたは\fI\-classpath\fRオプションを使用して、対応するスクリプト・エンジンのJARファイルを指定する必要があります。
|
||||
指定されたスクリプト言語を使用します。デフォルトではJavaScriptが使用されます。他のスクリプト言語を使用するには、\fB\-cp\fRまたは\fB\-classpath\fRオプションを使用して、対応するスクリプト・エンジンのJARファイルを指定する必要があります。
|
||||
.RE
|
||||
.PP
|
||||
\-e \fIscript\fR
|
||||
.RS 4
|
||||
指定されたスクリプトを評価します。このオプションを使用すれば、コマンドラインにすべてが指定された1行スクリプトを実行できます。
|
||||
指定されたスクリプトを評価します。このオプションを使用すれば、コマンド行にすべてが指定された1行スクリプトを実行できます。
|
||||
.RE
|
||||
.PP
|
||||
\-encoding \fIencoding\fR
|
||||
.RS 4
|
||||
スクリプト・ファイルの読取り時に使用する文字エンコーディングを指定します。
|
||||
スクリプト・ファイルの読取り時に使用する文字エンコーディングを指定します。
|
||||
.RE
|
||||
.PP
|
||||
\-f \fIscript\-file\fR
|
||||
.RS 4
|
||||
指定されたスクリプト・ファイル(バッチ・モード)を評価します。
|
||||
指定されたスクリプト・ファイル(バッチ・モード)を評価します。
|
||||
.RE
|
||||
.PP
|
||||
\-f \-
|
||||
.RS 4
|
||||
標準入力からスクリプトを読み取り、それを評価します(対話型モード)。
|
||||
標準入力からスクリプトを読み取り、それを評価します(対話型モード)。
|
||||
.RE
|
||||
.PP
|
||||
\-help
|
||||
.RS 4
|
||||
ヘルプ・メッセージを表示して終了します。
|
||||
ヘルプ・メッセージを表示して終了します。
|
||||
.RE
|
||||
.PP
|
||||
\-?
|
||||
.RS 4
|
||||
ヘルプ・メッセージを表示して終了します。
|
||||
ヘルプ・メッセージを表示して終了します。
|
||||
.RE
|
||||
.PP
|
||||
\-q
|
||||
.RS 4
|
||||
利用可能なすべてのスクリプト・エンジンを一覧表示したあと、終了します。
|
||||
利用可能なすべてのスクリプト・エンジンを一覧表示したあと、終了します。
|
||||
.RE
|
||||
.SH "引数"
|
||||
.SH "引数"
|
||||
.PP
|
||||
argumentsが存在していて、かつ\fI\-e\fR、\fI\-f\fRのいずれのオプションも使用されなかった場合、最初の引数がスクリプト・ファイルとなり、他の引数が存在する場合はスクリプトに渡されます。argumentsと、\fI\-e\fRまたは\fI\-f\fRオプションが使用されている場合、すべてのargumentsがスクリプトに渡されます。arguments、\fI\-e\fR、\fI\-f\fRがどれも存在しなかった場合は、対話型モードが使用されます。スクリプトからスクリプト引数を使用するには、\fIarguments\fRという名前の\fIString\fR配列型のエンジン変数を使用します。
|
||||
.SH "例"
|
||||
.SS "インライン・スクリプトの実行"
|
||||
argumentsが存在していて、かつ\fB\-e\fR、\fB\-f\fRのいずれのオプションも使用されなかった場合、最初の引数がスクリプト・ファイルとなり、他の引数が存在する場合はスクリプトに渡されます。argumentsと、\fB\-e\fRまたは\fB\-f\fRオプションが使用されている場合、すべてのargumentsがスクリプトに渡されます。arguments、\fB\-e\fR、\fB\-f\fRがどれも存在しなかった場合は、対話型モードが使用されます。スクリプトからスクリプト引数を使用するには、\fBarguments\fRという名前の\fBString\fR配列型のエンジン変数を使用します。
|
||||
.SH "例"
|
||||
.SS "インライン・スクリプトの実行"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jrunscript \-e "print(\*(Aqhello world\*(Aq)"
|
||||
jrunscript \-e "cat(\*(Aqhttp://www\&.example\&.com\*(Aq)"
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SS "指定された言語の使用およびスクリプト・ファイルの評価"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jrunscript \-l js \-f test\&.js
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SS "対話型モード"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jrunscript
|
||||
js> print(\*(AqHello World\en\*(Aq);
|
||||
Hello World
|
||||
js> 34 + 55
|
||||
89\&.0
|
||||
js> t = new java\&.lang\&.Thread(function() { print(\*(AqHello World\en\*(Aq); })
|
||||
Thread[Thread\-0,5,main]
|
||||
js> t\&.start()
|
||||
js> Hello World
|
||||
\fBjrunscript \-e "print(\*(Aqhello world\*(Aq)"\fR
|
||||
\fBjrunscript \-e "cat(\*(Aqhttp://www\&.example\&.com\*(Aq)"\fR
|
||||
|
||||
js>
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SS "スクリプト引数を指定したスクリプト・ファイルの実行"
|
||||
.PP
|
||||
test\&.jsファイルはスクリプト・ファイルです。\fIarg1\fR、\fIarg2\fRおよび\fIarg3\fRの各引数がスクリプトに渡されます。スクリプトはarguments配列を使用してこれらの引数にアクセスできます。
|
||||
.SS "指定された言語の使用およびスクリプト・ファイルの評価"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jrunscript test\&.js arg1 arg2 arg3
|
||||
\fBjrunscript \-l js \-f test\&.js\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "関連項目"
|
||||
.SS "対話型モード"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBjrunscript\fR
|
||||
\fBjs> print(\*(AqHello World\en\*(Aq);\fR
|
||||
\fBHello World\fR
|
||||
\fBjs> 34 + 55\fR
|
||||
\fB89\&.0\fR
|
||||
\fBjs> t = new java\&.lang\&.Thread(function() { print(\*(AqHello World\en\*(Aq); })\fR
|
||||
\fBThread[Thread\-0,5,main]\fR
|
||||
\fBjs> t\&.start()\fR
|
||||
\fBjs> Hello World\fR
|
||||
\fB \fR
|
||||
\fBjs>\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SS "スクリプト引数を指定したスクリプト・ファイルの実行"
|
||||
.PP
|
||||
JavaScriptが使用される場合、ユーザー定義スクリプトを評価する前に、\fIjrunscript\fRコマンドはいくつかの組込み関数や組込みオブジェクトを初期化します。これらのJavaScriptの組込みについては、http://code\&.google\&.com/p/jsdoc\-toolkit/にある
|
||||
JsDoc\-Toolkitを参照してください。
|
||||
test\&.jsファイルはスクリプト・ファイルです。\fBarg1\fR、\fBarg2\fRおよび\fBarg3\fRの各引数がスクリプトに渡されます。スクリプトはarguments配列を使用してこれらの引数にアクセスできます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fBjrunscript test\&.js arg1 arg2 arg3\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "関連項目"
|
||||
.PP
|
||||
JavaScriptを使用している場合、ユーザー定義スクリプトを評価する前に、\fBjrunscript\fRコマンドによって特定の組込み関数およびオブジェクトが初期化されます(これらについては、次のjrunscript JavaScript組込みのAPI仕様に記載されています)。
|
||||
.PP
|
||||
http://docs\&.oracle\&.com/javase/7/docs/technotes/tools/share/jsdocs/overview\-summary\&.html
|
||||
.br
|
||||
'pl 8.5i
|
||||
'bp
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: jsadebugd
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: トラブルシューティング・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "jsadebugd" "1" "2013年11月21日" "JDK 8" "トラブルシューティング・ツール"
|
||||
.\" Title: jsadebugd
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: トラブルシューティング・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "jsadebugd" "1" "2013年11月21日" "JDK 8" "トラブルシューティング・ツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
jsadebugd \- Javaプロセスまたはコア・ファイルに接続し、デバッグ・サーバーとして機能します。このコマンドは試験的なもので、サポートされていません。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
jsadebugd \- Javaプロセスまたはコア・ファイルに接続し、デバッグ・サーバーとして機能します。このコマンドは試験的なもので、サポートされていません。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjsadebugd\fR \fIpid\fR [ \fIserver\-id\fR ]
|
||||
\fBjsadebugd\fR \fIpid\fR [ \fIserver\-id\fR ]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -66,7 +68,7 @@ jsadebugd \- Javaプロセスまたはコア・ファイルに接続し、デバ
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjsadebugd\fR \fIexecutable\fR \fIcore\fR [ \fIserver\-id\fR ]
|
||||
\fBjsadebugd\fR \fIexecutable\fR \fIcore\fR [ \fIserver\-id\fR ]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -74,43 +76,44 @@ jsadebugd \- Javaプロセスまたはコア・ファイルに接続し、デバ
|
||||
.PP
|
||||
\fIpid\fR
|
||||
.RS 4
|
||||
デバッグ・サーバーが接続するプロセスのプロセスIDです。プロセスはJavaプロセスである必要があります。マシン上で実行しているJavaプロセスの一覧を取得するには、jps(1)コマンドを使用します。単一のプロセスに接続できるデバッグ・サーバーのインスタンスは、1つに制限されます。
|
||||
デバッグ・サーバーが接続するプロセスのプロセスIDです。プロセスはJavaプロセスである必要があります。マシン上で実行しているJavaプロセスの一覧を取得するには、jps(1)コマンドを使用します。単一のプロセスに接続できるデバッグ・サーバーのインスタンスは、1つに制限されます。
|
||||
.RE
|
||||
.PP
|
||||
\fI実行可能ファイル\fR
|
||||
\fI実行可能ファイル\fR
|
||||
.RS 4
|
||||
コア・ダンプの作成元のJava実行可能ファイル。
|
||||
コア・ダンプの作成元のJava実行可能ファイル。
|
||||
.RE
|
||||
.PP
|
||||
\fIコア\fR
|
||||
\fIコア\fR
|
||||
.RS 4
|
||||
デバッグ・サーバーを接続するコア・ファイルです。
|
||||
デバッグ・サーバーを接続するコア・ファイルです。
|
||||
.RE
|
||||
.PP
|
||||
\fIserver\-id\fR
|
||||
.RS 4
|
||||
複数のデバッグ・サーバーが同一のマシン上で実行されている場合に必要になる、オプションの一意のIDです。このIDは、リモート・クライアントが、接続先のデバッグ・サーバーを特定するために使用する必要があります。このIDは、単一のマシン内で一意にする必要があります。
|
||||
複数のデバッグ・サーバーが同一のマシン上で実行されている場合に必要になる、オプションの一意のIDです。このIDは、リモート・クライアントが、接続先のデバッグ・サーバーを特定するために使用する必要があります。このIDは、単一のマシン内で一意にする必要があります。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIjsadebugd\fRコマンドは、Javaプロセスまたはコア・ファイルに接続し、デバッグ・サーバーとして機能します。\fIjstack\fR、\fIjmap\fRおよび\fIjinfo\fRなどのリモート・クライアントは、Java Remote Method Invocation (RMI)を使用しているサーバーに接続できます。\fIjsadebugd\fRコマンドを起動する前に、\fIrmiregistry\fRコマンドでRMIレジストリを次のように起動します。\fI$JAVA_HOME\fRはJDKのインストール・ディレクトリです。
|
||||
\fBjsadebugd\fRコマンドは、Javaプロセスまたはコア・ファイルに接続し、デバッグ・サーバーとして機能します。\fBjstack\fR、\fBjmap\fRおよび\fBjinfo\fRなどのリモート・クライアントは、Java Remote Method Invocation (RMI)を使用しているサーバーに接続できます。\fBjsadebugd\fRコマンドを起動する前に、\fBrmiregistry\fRコマンドでRMIレジストリを次のように起動します。\fI$JAVA_HOME\fRはJDKのインストール・ディレクトリです。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
rmiregistry \-J\-Xbootclasspath/p:$JAVA_HOME/lib/sajdi\&.jar
|
||||
\fBrmiregistry \-J\-Xbootclasspath/p:$JAVA_HOME/lib/sajdi\&.jar\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
RMIレジストリが起動していない場合、\fIjsadebugd\fRコマンドはRMIレジストリを標準(1099)ポートで内部で起動します。デバッグ・サーバーは、\fISIGINT\fRを送信することにより停止できます。SIGINTを送信するには、\fB[Ctrl] + [C]\fRを押します。
|
||||
RMIレジストリが起動していない場合、\fBjsadebugd\fRコマンドはRMIレジストリを標準(1099)ポートで内部で起動します。デバッグ・サーバーは、\fBSIGINT\fRを送信することにより停止できます。SIGINTを送信するには、\fB[Ctrl] + [C]\fRを押します。
|
||||
.PP
|
||||
\fB注意:\fR
|
||||
このユーティリティはサポート対象外であり、将来のJDKのリリースでは利用できなくなる可能性があります。\fIdbgeng\&.dll\fRが存在していないWindowsシステムでは、Debugging Tools For Windowsをインストールしないとこれらのツールが正常に動作しません。\fIPATH\fR環境変数には、ターゲット・プロセスによって使用されるjvm\&.dllの場所、またはクラッシュ・ダンプ・ファイルが生成された場所が含まれるようにしてください。例:
|
||||
\fIs\fR\fIet PATH=%JDK_HOME%\ejre\ebin\eclient;%PATH%\fR
|
||||
.SH "関連項目"
|
||||
\fB注意:\fR
|
||||
このユーティリティはサポート対象外であり、将来のJDKのリリースでは利用できなくなる可能性があります。\fBdbgeng\&.dll\fRが存在していないWindowsシステムでは、Debugging Tools For Windowsをインストールしないとこれらのツールが正常に動作しません。\fBPATH\fR環境変数には、ターゲット・プロセスによって使用されるjvm\&.dllの場所、またはクラッシュ・ダンプ・ファイルが生成された場所が含まれるようにしてください。例:
|
||||
\fBs\fR\fBet PATH=%JDK_HOME%\ejre\ebin\eclient;%PATH%\fR
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: jstack
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: トラブルシューティング・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "jstack" "1" "2013年11月21日" "JDK 8" "トラブルシューティング・ツール"
|
||||
.\" Title: jstack
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: トラブルシューティング・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "jstack" "1" "2013年11月21日" "JDK 8" "トラブルシューティング・ツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
jstack \- Javaプロセス、コア・ファイルまたはリモート・デバッグ・サーバーに対するJavaスレッドのスタック・トレースを出力します。このコマンドは試験的なもので、サポートされていません。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
jstack \- Javaプロセス、コア・ファイルまたはリモート・デバッグ・サーバーに対するJavaスレッドのスタック・トレースを出力します。このコマンドは試験的なもので、サポートされていません。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjstack\fR [ \fIoptions\fR ] \fIpid\fR
|
||||
\fBjstack\fR [ \fIoptions\fR ] \fIpid\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -66,7 +68,7 @@ jstack \- Javaプロセス、コア・ファイルまたはリモート・デバ
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjstack\fR [ \fIoptions\fR ] \fIexecutable\fR \fIcore\fR
|
||||
\fBjstack\fR [ \fIoptions\fR ] \fIexecutable\fR \fIcore\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -76,7 +78,7 @@ jstack \- Javaプロセス、コア・ファイルまたはリモート・デバ
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjstack\fR [ \fIoptions\fR ] [ \fIserver\-id\fR@ ] \fIremote\-hostname\-or\-IP\fR
|
||||
\fBjstack\fR [ \fIoptions\fR ] [ \fIserver\-id\fR@ ] \fIremote\-hostname\-or\-IP\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -84,83 +86,84 @@ jstack \- Javaプロセス、コア・ファイルまたはリモート・デバ
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
コマンドライン・オプション。オプションを参照してください。
|
||||
コマンド行オプション。オプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIpid\fR
|
||||
.RS 4
|
||||
出力するスタック・トレースのプロセスIDです。プロセスはJavaプロセスである必要があります。マシン上で実行しているJavaプロセスの一覧を取得するには、jps(1)コマンドを使用します。
|
||||
出力するスタック・トレースのプロセスIDです。プロセスはJavaプロセスである必要があります。マシン上で実行しているJavaプロセスの一覧を取得するには、jps(1)コマンドを使用します。
|
||||
.RE
|
||||
.PP
|
||||
\fI実行可能ファイル\fR
|
||||
\fI実行可能ファイル\fR
|
||||
.RS 4
|
||||
コア・ダンプの作成元のJava実行可能ファイル。
|
||||
コア・ダンプの作成元のJava実行可能ファイル。
|
||||
.RE
|
||||
.PP
|
||||
\fIコア\fR
|
||||
\fIコア\fR
|
||||
.RS 4
|
||||
出力するスタック・トレースのコア・ファイルです。
|
||||
出力するスタック・トレースのコア・ファイルです。
|
||||
.RE
|
||||
.PP
|
||||
\fIremote\-hostname\-or\-IP\fR
|
||||
.RS 4
|
||||
リモート・デバッグ・サーバーの\fIホスト名\fRまたは\fIIP\fRアドレス。jsadebugd(1)を参照してください。
|
||||
リモート・デバッグ・サーバーの\fBホスト名\fRまたは\fBIP\fRアドレス。jsadebugd(1)を参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIserver\-id\fR
|
||||
.RS 4
|
||||
複数のデバッグ・サーバーが同一のリモート・ホストで実行している場合の、オプション固有のID。
|
||||
複数のデバッグ・サーバーが同一のリモート・ホストで実行している場合の、オプション固有のID。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIjstack\fRコマンドは、指定されたJavaプロセス、コア・ファイルまたはリモート・デバッグ・サーバーに対するJavaスレッドのJavaスタック・トレースを出力します。Javaフレームごとに、フルクラス名、メソッド名、バイトコード・インデックス(bci)、および行番号(利用可能な場合)が出力されます。\fI\-m\fRオプションを使用すると、\fIjstack\fRコマンドは、すべてのスレッドのJavaフレームとネイティブ・フレームの両方を、プログラム・カウンタ(PC)とともに出力します。ネイティブ・フレームごとに、PCに最も近いネイティブ・シンボル(利用可能な場合)が出力されます。C++分解名は分解解除されません。C++名を分解解除するには、このコマンドの出力を\fIc++filt\fRにパイプします。指定されたプロセスが64ビットJava仮想マシン上で実行されている場合は、\fI\-J\-d64\fRオプションを指定する必要があります(例:
|
||||
\fIjstack \-J\-d64 \-m pid\fR)。
|
||||
\fBjstack\fRコマンドは、指定されたJavaプロセス、コア・ファイルまたはリモート・デバッグ・サーバーに対するJavaスレッドのJavaスタック・トレースを出力します。Javaフレームごとに、フルクラス名、メソッド名、バイトコード・インデックス(bci)、および行番号(利用可能な場合)が出力されます。\fB\-m\fRオプションを使用すると、\fBjstack\fRコマンドは、すべてのスレッドのJavaフレームとネイティブ・フレームの両方を、プログラム・カウンタ(PC)とともに出力します。ネイティブ・フレームごとに、PCに最も近いネイティブ・シンボル(利用可能な場合)が出力されます。C++分解名は分解解除されません。C++名を分解解除するには、このコマンドの出力を\fBc++filt\fRにパイプします。指定されたプロセスが64ビットJava仮想マシン上で実行されている場合は、\fB\-J\-d64\fRオプションを指定する必要があります(例:
|
||||
\fBjstack \-J\-d64 \-m pid\fR)。
|
||||
.PP
|
||||
\fB注意\fR
|
||||
このユーティリティはサポート対象外であり、将来のJDKのリリースでは利用できなくなる可能性があります。dbgeng\&.dllファイルが存在していないWindowsシステムでは、Debugging Tools For Windowsをインストールしないとこれらのツールが正常に動作しません。また、\fIPATH\fR環境変数には、ターゲット・プロセスによって使用されるjvm\&.dllの場所、またはクラッシュ・ダンプ・ファイルが生成された場所が含まれるようにしてください。次に例を示します。
|
||||
\fB注意\fR
|
||||
このユーティリティはサポート対象外であり、将来のJDKのリリースでは利用できなくなる可能性があります。dbgeng\&.dllファイルが存在していないWindowsシステムでは、Debugging Tools For Windowsをインストールしないとこれらのツールが正常に動作しません。また、\fBPATH\fR環境変数には、ターゲット・プロセスによって使用されるjvm\&.dllの場所、またはクラッシュ・ダンプ・ファイルが生成された場所が含まれるようにしてください。次に例を示します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
set PATH=<jdk>\ejre\ebin\eclient;%PATH%
|
||||
\fBset PATH=<jdk>\ejre\ebin\eclient;%PATH%\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "オプション"
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\-F
|
||||
.RS 4
|
||||
\fIjstack\fR
|
||||
[\fI\-l\fR]
|
||||
\fIpid\fRが応答しない場合にスタック・ダンプを強制します。
|
||||
\fBjstack\fR
|
||||
[\fB\-l\fR]
|
||||
\fBpid\fRが応答しない場合にスタック・ダンプを強制します。
|
||||
.RE
|
||||
.PP
|
||||
\-l
|
||||
.RS 4
|
||||
長形式のリスト。所有\fIjava\&.util\&.concurrent\fRの所有できるシンクロナイザの一覧など、ロックについての追加情報を印刷します。http://docs\&.oracle\&.com/javase/8/docs/api/java/util/concurrent/locks/AbstractOwnableSynchronizer\&.htmlにある
|
||||
\fIAbstractOwnableSynchronizer\fRクラス記述を参照してください
|
||||
長形式のリスト。所有\fBjava\&.util\&.concurrent\fRの所有できるシンクロナイザの一覧など、ロックについての追加情報を印刷します。http://docs\&.oracle\&.com/javase/8/docs/api/java/util/concurrent/locks/AbstractOwnableSynchronizer\&.htmlにある
|
||||
\fBAbstractOwnableSynchronizer\fRクラス記述を参照してください
|
||||
.RE
|
||||
.PP
|
||||
\-m
|
||||
.RS 4
|
||||
JavaおよびネイティブC/C++フレームの両方を持つ混合モードのスタック・トレースを出力します。
|
||||
JavaおよびネイティブC/C++フレームの両方を持つ混合モードのスタック・トレースを出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-h
|
||||
.RS 4
|
||||
ヘルプ・メッセージが出力されます。
|
||||
ヘルプ・メッセージが出力されます。
|
||||
.RE
|
||||
.PP
|
||||
\-help
|
||||
.RS 4
|
||||
ヘルプ・メッセージが出力されます。
|
||||
ヘルプ・メッセージが出力されます。
|
||||
.RE
|
||||
.SH "既知の不具合"
|
||||
.SH "既知のBUG"
|
||||
.PP
|
||||
混合モードのスタック・トレースでは、\fI\-m\fRオプションはリモート・デバッグ・サーバーでは機能しません。
|
||||
.SH "関連項目"
|
||||
混合モードのスタック・トレースでは、\fB\-m\fRオプションはリモート・デバッグ・サーバーでは機能しません。
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: jstat
|
||||
.\" Language: English
|
||||
.\" Date: 2011年5月10日
|
||||
.\" SectDesc: モニタリング・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "jstat" "1" "2011年5月10日" "JDK 8" "モニタリング・ツール"
|
||||
.\" Title: jstat
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2015年3月3日
|
||||
.\" SectDesc: モニタリング・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "jstat" "1" "2015年3月3日" "JDK 8" "モニタリング・ツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
jstat \- Java仮想マシン(JVM)の統計を監視します。このコマンドは試験的なもので、サポートされていません。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
jstat \- Java Virtual Machine (JVM)の統計をモニターします。このコマンドは試験的なもので、サポートされていません。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjstat\fR [ \fIgeneralOption\fR | \fIoutputOptions vmid\fR [ \fIinterval\fR[s|ms] [ \fIcount \fR] ]
|
||||
\fBjstat\fR [ \fIgeneralOption\fR | \fIoutputOptions vmid\fR [ \fIinterval\fR[s|ms] [ \fIcount \fR] ]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,51 +66,53 @@ jstat \- Java仮想マシン(JVM)の統計を監視します。このコマン
|
||||
.PP
|
||||
\fIgeneralOption\fR
|
||||
.RS 4
|
||||
単独で使用する一般的なコマンドライン・オプションです(\fI\-help\fRまたは\fI\-options\fR)。一般的なオプションを参照してください。
|
||||
単独で使用する一般的なコマンド行オプションです(\fB\-help\fRまたは\fB\-options\fR)。一般的なオプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIoutputOptions\fR
|
||||
.RS 4
|
||||
単一の\fIstatOption\fRと\fI\-t\fR、\fI\-h\fRおよび\fI\-J\fRのいずれかのオプションで構成される1つ以上の出力オプション。出力オプションを参照してください。
|
||||
単一の\fBstatOption\fRと\fB\-t\fR、\fB\-h\fRおよび\fB\-J\fRのいずれかのオプションで構成される1つ以上の出力オプション。出力オプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIvmid\fR
|
||||
.RS 4
|
||||
ターゲットJVMを示す文字列である仮想マシン識別子です。一般的な構文は次のとおりです。
|
||||
ターゲットJVMを示す文字列である仮想マシン識別子です。一般的な構文は次のとおりです。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
[protocol:][//]lvmid[@hostname[:port]/servername]
|
||||
\fB[protocol:][//]lvmid[@hostname[:port]/servername]\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
\fIvmid\fR文字列の構文は、URIの構文に対応しています。\fIvmid\fR文字列は、ローカルJVMを表す単純な整数から、通信プロトコル、ポート番号、および他の実装固有の値を示す複雑な構造まで、様々に異なります。仮想マシン識別子を参照してください。
|
||||
\fBvmid\fR文字列の構文は、URIの構文に対応しています。\fBvmid\fR文字列は、ローカルJVMを表す単純な整数から、通信プロトコル、ポート番号、および他の実装固有の値を示す複雑な構造まで、様々に異なります。仮想マシン識別子を参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIinterval\fR [s|ms]
|
||||
.RS 4
|
||||
秒(s)またはミリ秒(ms)のうち指定した単位でのサンプリング間隔です。デフォルトの単位はミリ秒です。正の整数にする必要があります。指定した場合、\fIjstat\fRコマンドは各間隔で出力を生成します。
|
||||
秒(s)またはミリ秒(ms)のうち指定した単位でのサンプリング間隔です。デフォルトの単位はミリ秒です。正の整数にする必要があります。指定した場合、\fBjstat\fRコマンドは各間隔で出力を生成します。
|
||||
.RE
|
||||
.PP
|
||||
\fIcount\fR
|
||||
.RS 4
|
||||
表示するサンプル数です。デフォルト値は無限で、ターゲットJVMが終了するまで、または\fIjstat\fRコマンドが終了するまで、\fIjstat\fRコマンドは統計データを表示します。この値は、正の整数である必要があります。
|
||||
表示するサンプル数です。デフォルト値は無限で、ターゲットJVMが終了するまで、または\fBjstat\fRコマンドが終了するまで、\fBjstat\fRコマンドは統計データを表示します。この値は、正の整数である必要があります。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIjstat\fRコマンドは、設置されているJava HotSpot VMのパフォーマンス統計データを表示します。ターゲットJVMは、仮想マシン識別子または\fIvmid\fRオプションによって識別されます。
|
||||
.SH "仮想マシン識別子"
|
||||
\fBjstat\fRコマンドは、設置されているJava HotSpot VMのパフォーマンス統計データを表示します。ターゲットJVMは、仮想マシン識別子または\fBvmid\fRオプションによって識別されます。
|
||||
.SH "仮想マシン識別子"
|
||||
.PP
|
||||
\fIvmid\fR文字列の構文は、URIの構文に対応しています。
|
||||
\fBvmid\fR文字列の構文は、URIの構文に対応しています。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
[protocol:][//]lvmid[@hostname[:port]/servername]
|
||||
\fB[protocol:][//]lvmid[@hostname[:port]/servername]\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -116,460 +120,481 @@ jstat \- Java仮想マシン(JVM)の統計を監視します。このコマン
|
||||
.PP
|
||||
\fIprotocol\fR
|
||||
.RS 4
|
||||
通信プロトコルです。\fIprotocol\fR値が省略され、ホスト名が指定されていない場合、デフォルトのプロトコルが、プラットフォーム固有の最適化されたローカル・プロトコルになります。\fIprotocol\fR値が省略され、ホスト名が指定されている場合は、デフォルト・プロトコルは\fIrmi\fRになります。
|
||||
通信プロトコルです。\fIprotocol\fR値が省略され、ホスト名が指定されていない場合、デフォルトのプロトコルが、プラットフォーム固有の最適化されたローカル・プロトコルになります。\fIprotocol\fR値が省略され、ホスト名が指定されている場合は、デフォルト・プロトコルは\fBrmi\fRになります。
|
||||
.RE
|
||||
.PP
|
||||
\fIlvmid\fR
|
||||
.RS 4
|
||||
ターゲットJVMのローカル仮想マシン識別子です。\fIlvmid\fRは、システム上のJVMを一意に識別するプラットフォーム固有の値です。\fIlvmid\fRは、仮想マシン識別子の唯一の必須要素です。\fIlvmid\fRは、一般的にはターゲットJVMプロセスに対するオペレーティング・システムのプロセス識別子ですが、必ずしもそうであるとは限りません。\fIjps\fRコマンドを使用して、\fIlvmid\fRを特定できます。また、UNIXプラットフォームでは\fIps\fRコマンドを使用して、WindowsではWindowsタスク・マネージャを使用して、\fIlvmid\fRを特定できます。
|
||||
ターゲットJVMのローカル仮想マシン識別子です。\fBlvmid\fRは、システム上のJVMを一意に識別するプラットフォーム固有の値です。\fBlvmid\fRは、仮想マシン識別子の唯一の必須要素です。\fBlvmid\fRは、一般的にはターゲットJVMプロセスに対するオペレーティング・システムのプロセス識別子ですが、必ずしもそうであるとは限りません。\fBjps\fRコマンドを使用して、\fBlvmid\fRを特定できます。また、Solaris、LinuxおよびOS Xプラットフォームでは\fBps\fRコマンドを使用して、WindowsではWindowsタスク・マネージャを使用して、\fBlvmid\fRを特定できます。
|
||||
.RE
|
||||
.PP
|
||||
\fIhostname\fR
|
||||
.RS 4
|
||||
ターゲット・ホストを示すホスト名またはIPアドレスです。\fIhostname\fR値が省略されている場合は、ターゲット・ホストはローカル・ホストになります。
|
||||
ターゲット・ホストを示すホスト名またはIPアドレスです。\fIhostname\fR値が省略されている場合は、ターゲット・ホストはローカル・ホストになります。
|
||||
.RE
|
||||
.PP
|
||||
\fIport\fR
|
||||
.RS 4
|
||||
リモート・サーバーと通信するためのデフォルト・ポートです。\fIhostname\fR値が省略されているか、最適化されたローカル・プロトコルが\fIprotocol\fR値に指定されている場合、\fIport\fR値は無視されます。それ以外の場合、\fIport\fRパラメータの扱いは、実装によって異なります。デフォルトの\fIrmi\fRプロトコルの場合、ポート値は、リモート・ホスト上のrmiregistryのポート番号を示します。\fIport\fR値が省略され、\fIprotocol\fR値で\fIrmi\fRが指定されている場合、デフォルトのrmiregistryポート(1099)が使用されます。
|
||||
リモート・サーバーと通信するためのデフォルト・ポートです。\fIhostname\fR値が省略されているか、最適化されたローカル・プロトコルが\fIprotocol\fR値に指定されている場合、\fIport\fR値は無視されます。それ以外の場合、\fBport\fRパラメータの扱いは、実装によって異なります。デフォルトの\fBrmi\fRプロトコルの場合、ポート値は、リモート・ホスト上のrmiregistryのポート番号を示します。\fIport\fR値が省略され、\fIprotocol\fR値で\fBrmi\fRが指定されている場合、デフォルトのrmiregistryポート(1099)が使用されます。
|
||||
.RE
|
||||
.PP
|
||||
\fIservername\fR
|
||||
.RS 4
|
||||
\fIservername\fRパラメータの扱いは、実装によって異なります。最適化されたローカル・プロトコルの場合、このフィールドは無視されます。\fIrmi\fRプロトコルの場合、これは、リモート・ホスト上のRMIリソース・オブジェクトの名前を表します。
|
||||
\fBservername\fRパラメータの扱いは、実装によって異なります。最適化されたローカル・プロトコルの場合、このフィールドは無視されます。\fBrmi\fRプロトコルの場合、これは、リモート・ホスト上のRMIリソース・オブジェクトの名前を表します。
|
||||
.RE
|
||||
.SH "オプション"
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\fIjstat\fRコマンドは、一般的なオプションと出力オプションの2つのタイプのオプションをサポートしています。一般的なオプションを使用した場合、\fIjstat\fRコマンドは簡単な使用率およびバージョン情報を表示します。出力オプションによって、統計データ出力の内容と形式が決まります。
|
||||
\fBjstat\fRコマンドは、一般的なオプションと出力オプションの2つのタイプのオプションをサポートしています。一般的なオプションを使用した場合、\fBjstat\fRコマンドは簡単な使用率およびバージョン情報を表示します。出力オプションによって、統計データ出力の内容と形式が決まります。
|
||||
.PP
|
||||
すべてのオプションとその機能は、将来のリリースで変更または廃止される可能性があります。
|
||||
.SS "一般的なオプション"
|
||||
すべてのオプションとその機能は、将来のリリースで変更または廃止される可能性があります。
|
||||
.SS "一般的なオプション"
|
||||
.PP
|
||||
いずれかの一般的なオプションを指定した場合、他のオプションまたはパラメータは一切指定できません。
|
||||
いずれかの一般的なオプションを指定した場合、他のオプションまたはパラメータは一切指定できません。
|
||||
.PP
|
||||
\-help
|
||||
.RS 4
|
||||
ヘルプ・メッセージを表示します。
|
||||
ヘルプ・メッセージを表示します。
|
||||
.RE
|
||||
.PP
|
||||
\-options
|
||||
.RS 4
|
||||
Staticオプションのリストを表示します。出力オプションを参照してください。
|
||||
Staticオプションのリストを表示します。出力オプションを参照してください。
|
||||
.RE
|
||||
.SS "出力オプション"
|
||||
.SS "出力オプション"
|
||||
.PP
|
||||
一般的なオプションを指定しない場合に、出力オプションを指定できます。出力オプションは、\fIjstat\fRコマンドの出力の内容と形式を決定し、単一の\fIstatOption\fRといずれかの出力オプション(\fI\-h\fR、\fI\-t\fRおよび\fI\-J\fR)で構成されます。\fIstatOption\fRは最初に記述する必要があります。
|
||||
一般的なオプションを指定しない場合に、出力オプションを指定できます。出力オプションは、\fBjstat\fRコマンドの出力の内容と形式を決定し、単一の\fBstatOption\fRといずれかの出力オプション(\fB\-h\fR、\fB\-t\fRおよび\fB\-J\fR)で構成されます。\fBstatOption\fRは最初に記述する必要があります。
|
||||
.PP
|
||||
出力は、各列が空白で区切られた表の形式になります。タイトルを含むヘッダー行によって、各列の意味がわかります。ヘッダーの表示頻度を設定するには、\fI\-h\fRオプションを使用します。列のヘッダー名は、様々なオプション間で一貫性が保たれています。一般に、2つのオプションで同じ名前の列が使用されていれば、2つの列のデータ・ソースは同じです。
|
||||
出力は、各列が空白で区切られた表の形式になります。タイトルを含むヘッダー行によって、各列の意味がわかります。ヘッダーの表示頻度を設定するには、\fB\-h\fRオプションを使用します。列のヘッダー名は、様々なオプション間で一貫性が保たれています。一般に、2つのオプションで同じ名前の列が使用されていれば、2つの列のデータ・ソースは同じです。
|
||||
.PP
|
||||
\fI\-t\fRオプションを使用すると、Timestampというラベルの付いたタイムスタンプの列が、出力の最初の列として表示されます。Timestamp列には、ターゲットJVMの起動からの経過時間が、秒単位で表示されます。タイムスタンプの精度は、様々な要因によって異なり、大量の負荷のかかったシステムでのスレッド・スケジュールの遅延により変動します。
|
||||
\fB\-t\fRオプションを使用すると、Timestampというラベルの付いたタイムスタンプの列が、出力の最初の列として表示されます。Timestamp列には、ターゲットJVMの起動からの経過時間が、秒単位で表示されます。タイムスタンプの精度は、様々な要因によって異なり、大量の負荷のかかったシステムでのスレッド・スケジュールの遅延により変動します。
|
||||
.PP
|
||||
intervalおよびcountパラメータを使用して、\fIjstat\fRコマンドがその出力を表示する頻度と回数をそれぞれ指定します。
|
||||
intervalおよびcountパラメータを使用して、\fBjstat\fRコマンドがその出力を表示する頻度と回数をそれぞれ指定します。
|
||||
.PP
|
||||
\fB注意:\fR
|
||||
将来のリリースでこの形式は変更される可能性があるため、\fIjstat\fRコマンドの出力を解析するスクリプトは作成しなでください。\fIjstat\fRコマンドの出力を解析するスクリプトを作成する場合は、このツールの将来のリリースで、そのスクリプトを変更する必要があることに留意してください。
|
||||
\fB注意:\fR
|
||||
将来のリリースでこの形式は変更される可能性があるため、\fBjstat\fRコマンドの出力を解析するスクリプトは作成しなでください。\fBjstat\fRコマンドの出力を解析するスクリプトを作成する場合は、このツールの将来のリリースで、そのスクリプトを変更する必要があることに留意してください。
|
||||
.PP
|
||||
\-\fIstatOption\fR
|
||||
.RS 4
|
||||
\fIjstat\fRコマンドが表示する統計データ情報を指定します。次に、利用可能なオプションの一覧を示します。特定のプラットフォーム・インストールのオプションを一覧表示するには、一般的なオプションの\fI\-options\fRを使用します。Statオプションおよび出力を参照してください。
|
||||
\fBjstat\fRコマンドが表示する統計データ情報を指定します。次に、利用可能なオプションの一覧を示します。特定のプラットフォーム・インストールのオプションを一覧表示するには、一般的なオプションの\fB\-options\fRを使用します。Statオプションおよび出力を参照してください。
|
||||
.sp
|
||||
\fIclass\fR: クラス・ローダーの動作に関する統計データを表示します。
|
||||
\fBclass\fR: クラス・ローダーの動作に関する統計データを表示します。
|
||||
.sp
|
||||
\fIcompiler\fR: Java HotSpot VM Just\-in\-Timeコンパイラの動作に関する統計データを表示します。
|
||||
\fBcompiler\fR: Java HotSpot VM Just\-in\-Timeコンパイラの動作に関する統計データを表示します。
|
||||
.sp
|
||||
\fIgc\fR: ガベージ・コレクトされたヒープの動作に関する統計データを表示します。
|
||||
\fBgc\fR: ガベージ・コレクトされたヒープの動作に関する統計データを表示します。
|
||||
.sp
|
||||
\fIgccapacity\fR: 世代ごとの容量と対応する領域に関する統計データを表示します。
|
||||
\fBgccapacity\fR: 世代ごとの容量と対応する領域に関する統計データを表示します。
|
||||
.sp
|
||||
\fIgccause\fR: ガベージ・コレクション統計データのサマリー(\fI\-gcutil\fRと同じ)と、直前および現在(適用可能な場合)のガベージ・コレクション・イベントの原因を表示します。
|
||||
\fBgccause\fR: ガベージ・コレクション統計データのサマリー(\fB\-gcutil\fRと同じ)と、直前および現在(適用可能な場合)のガベージ・コレクション・イベントの原因を表示します。
|
||||
.sp
|
||||
\fIgcnew\fR: New世代の動作に関する統計データを表示します。
|
||||
\fBgcnew\fR: New世代の動作に関する統計データを表示します。
|
||||
.sp
|
||||
\fIgcnewcapacity\fR: New世代のサイズと対応する領域に関する統計データを表示します。
|
||||
\fBgcnewcapacity\fR: New世代のサイズと対応する領域に関する統計データを表示します。
|
||||
.sp
|
||||
\fIgcold\fR: Old世代の動作とメタスペースに関する統計データを表示します。
|
||||
\fBgcold\fR: Old世代の動作とメタスペースに関する統計データを表示します。
|
||||
.sp
|
||||
\fIgcoldcapacity\fR: Old世代のサイズに関する統計データを表示します。
|
||||
\fBgcoldcapacity\fR: Old世代のサイズに関する統計データを表示します。
|
||||
.sp
|
||||
\fIgcmetacapacity\fR: メタスペースのサイズに関する統計データを表示します。
|
||||
\fBgcmetacapacity\fR: メタスペースのサイズに関する統計データを表示します。
|
||||
.sp
|
||||
\fIgcutil\fR: ガベージ・コレクションのサマリーに関する統計データを表示します。
|
||||
\fBgcutil\fR: ガベージ・コレクションのサマリーに関する統計データを表示します。
|
||||
.sp
|
||||
\fIprintcompilation\fR: Java HotSpot VMコンパイル・メソッドの統計データを表示します。
|
||||
\fBprintcompilation\fR: Java HotSpot VMコンパイル・メソッドの統計データを表示します。
|
||||
.RE
|
||||
.PP
|
||||
\-h \fIn\fR
|
||||
.RS 4
|
||||
\fIn\fRサンプル(出力行)ごとに列ヘッダーを表示します。ここで、\fIn\fRは正の整数値です。デフォルト値は0です。この場合、データの最初の行の上に列ヘッダーが表示されます。
|
||||
\fIn\fRサンプル(出力行)ごとに列ヘッダーを表示します。ここで、\fIn\fRは正の整数値です。デフォルト値は0です。この場合、データの最初の行の上に列ヘッダーが表示されます。
|
||||
.RE
|
||||
.PP
|
||||
\-t
|
||||
.RS 4
|
||||
タイムスタンプ列を出力の最初の列として表示します。タイムスタンプは、ターゲットJVMの起動時からの経過時間です。
|
||||
タイムスタンプ列を出力の最初の列として表示します。タイムスタンプは、ターゲットJVMの起動時からの経過時間です。
|
||||
.RE
|
||||
.PP
|
||||
\-J\fIjavaOption\fR
|
||||
.RS 4
|
||||
\fIjavaOption\fRをJavaアプリケーション起動ツールに渡します。たとえば、\fI\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。オプションの完全なリストについては、java(1)を参照してください。
|
||||
\fBjavaOption\fRをJavaアプリケーション起動ツールに渡します。たとえば、\fB\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。オプションの完全なリストについては、java(1)を参照してください。
|
||||
.RE
|
||||
.SS "Statオプションおよび出力"
|
||||
.SS "Statオプションおよび出力"
|
||||
.PP
|
||||
次の情報は、\fIjstat\fRコマンドが各\fIstatOption\fRについて出力する列をまとめたものです。
|
||||
次の情報は、\fBjstat\fRコマンドが各\fIstatOption\fRについて出力する列をまとめたものです。
|
||||
.PP
|
||||
\-class \fIoption\fR
|
||||
.RS 4
|
||||
クラス・ローダーの統計データ。
|
||||
クラス・ローダーの統計データ。
|
||||
.sp
|
||||
\fILoaded\fR: ロードされたクラスの数。
|
||||
\fBLoaded\fR: ロードされたクラスの数。
|
||||
.sp
|
||||
\fIBytes\fR: ロードされたKBの数。
|
||||
\fBBytes\fR: ロードされたKBの数。
|
||||
.sp
|
||||
\fIUnloaded\fR: アンロードされたクラスの数。
|
||||
\fBUnloaded\fR: アンロードされたクラスの数。
|
||||
.sp
|
||||
\fIBytes\fR: アンロードされたKBの数。
|
||||
\fBBytes\fR: アンロードされたKBの数。
|
||||
.sp
|
||||
\fITime\fR: クラスのロードやアンロード処理に要した時間。
|
||||
\fBTime\fR: クラスのロードやアンロード処理に要した時間。
|
||||
.RE
|
||||
.PP
|
||||
\-compiler \fIoption\fR
|
||||
.RS 4
|
||||
Java HotSpot VM Just\-in\-Timeコンパイラの統計データ。
|
||||
Java HotSpot VM Just\-in\-Timeコンパイラの統計データ。
|
||||
.sp
|
||||
\fICompiled\fR: 実行されたコンパイル・タスクの数。
|
||||
\fBCompiled\fR: 実行されたコンパイル・タスクの数。
|
||||
.sp
|
||||
\fIFailed\fR: 失敗したコンパイル・タスクの数。
|
||||
\fBFailed\fR: 失敗したコンパイル・タスクの数。
|
||||
.sp
|
||||
\fIInvalid\fR: 無効にされたコンパイル・タスクの数。
|
||||
\fBInvalid\fR: 無効にされたコンパイル・タスクの数。
|
||||
.sp
|
||||
\fITime\fR: コンパイル・タスクの実行に要した時間。
|
||||
\fBTime\fR: コンパイル・タスクの実行に要した時間。
|
||||
.sp
|
||||
\fIFailedType\fR: 最後に失敗したコンパイルのコンパイル・タイプ。
|
||||
\fBFailedType\fR: 最後に失敗したコンパイルのコンパイル・タイプ。
|
||||
.sp
|
||||
\fIFailedMethod\fR: 最後に失敗したコンパイルのクラス名とメソッド。
|
||||
\fBFailedMethod\fR: 最後に失敗したコンパイルのクラス名とメソッド。
|
||||
.RE
|
||||
.PP
|
||||
\-gc \fIoption\fR
|
||||
.RS 4
|
||||
ガベージ・コレクトされたヒープの統計データ。
|
||||
ガベージ・コレクトされたヒープの統計データ。
|
||||
.sp
|
||||
\fIS0C\fR: Survivor領域0の現在の容量(KB)。
|
||||
\fBS0C\fR: Survivor領域0の現在の容量(KB)。
|
||||
.sp
|
||||
\fIS1C\fR: Survivor領域1の現在の容量(KB)。
|
||||
\fBS1C\fR: Survivor領域1の現在の容量(KB)。
|
||||
.sp
|
||||
\fIS0U\fR: Survivor領域0の使用率(KB)。
|
||||
\fBS0U\fR: Survivor領域0の使用率(KB)。
|
||||
.sp
|
||||
\fIS1U\fR: Survivor領域1の使用率(KB)。
|
||||
\fBS1U\fR: Survivor領域1の使用率(KB)。
|
||||
.sp
|
||||
\fIEC\fR: Eden領域の現在の容量(KB)。
|
||||
\fBEC\fR: Eden領域の現在の容量(KB)。
|
||||
.sp
|
||||
\fIEU\fR: Eden領域の使用率(KB)。
|
||||
\fBEU\fR: Eden領域の使用率(KB)。
|
||||
.sp
|
||||
\fIOC\fR: Old領域の現在の容量(KB)。
|
||||
\fBOC\fR: Old領域の現在の容量(KB)。
|
||||
.sp
|
||||
\fIOU\fR: Old領域の使用率(KB)。
|
||||
\fBOU\fR: Old領域の使用率(KB)。
|
||||
.sp
|
||||
\fIMC\fR: メタスペースの容量(KB)。
|
||||
\fBMC\fR: メタスペースの容量(KB)。
|
||||
.sp
|
||||
\fIMU\fR: メタスペースの使用率(KB)。
|
||||
\fBMU\fR: メタスペースの使用率(KB)。
|
||||
.sp
|
||||
\fIYGC\fR: 若い世代のガベージ・コレクション・イベントの数。
|
||||
\fBCCSC\fR: 圧縮されたクラス領域の容量(KB)。
|
||||
.sp
|
||||
\fIYGCT\fR: 若い世代のガベージ・コレクション時間。
|
||||
\fBCCSU\fR: 使用されている圧縮されたクラス領域(KB)。
|
||||
.sp
|
||||
\fIFGC\fR: フルGCイベント数。
|
||||
\fBYGC\fR: 若い世代のガベージ・コレクション・イベントの数。
|
||||
.sp
|
||||
\fIFGCT\fR: フルガベージ・コレクション時間。
|
||||
\fBYGCT\fR: 若い世代のガベージ・コレクション時間。
|
||||
.sp
|
||||
\fIGCT\fR: ガベージ・コレクション総時間。
|
||||
\fBFGC\fR: フルGCイベント数。
|
||||
.sp
|
||||
\fBFGCT\fR: フルガベージ・コレクション時間。
|
||||
.sp
|
||||
\fBGCT\fR: ガベージ・コレクション総時間。
|
||||
.RE
|
||||
.PP
|
||||
\-gccapacity \fIoption\fR
|
||||
.RS 4
|
||||
メモリー・プール世代および領域容量。
|
||||
メモリー・プール世代および領域容量。
|
||||
.sp
|
||||
\fINGCMN\fR: New世代の最小容量(KB)。
|
||||
\fBNGCMN\fR: New世代の最小容量(KB)。
|
||||
.sp
|
||||
\fINGCMX\fR: New世代の最大容量(KB)。
|
||||
\fBNGCMX\fR: New世代の最大容量(KB)。
|
||||
.sp
|
||||
\fINGC\fR: New世代の現在の容量(KB)。
|
||||
\fBNGC\fR: New世代の現在の容量(KB)。
|
||||
.sp
|
||||
\fIS0C\fR: Survivor領域0の現在の容量(KB)。
|
||||
\fBS0C\fR: Survivor領域0の現在の容量(KB)。
|
||||
.sp
|
||||
\fIS1C\fR: Survivor領域1の現在の容量(KB)。
|
||||
\fBS1C\fR: Survivor領域1の現在の容量(KB)。
|
||||
.sp
|
||||
\fIEC\fR: Eden領域の現在の容量(KB)。
|
||||
\fBEC\fR: Eden領域の現在の容量(KB)。
|
||||
.sp
|
||||
\fIOGCMN\fR: Old世代の最小容量(KB)。
|
||||
\fBOGCMN\fR: Old世代の最小容量(KB)。
|
||||
.sp
|
||||
\fIOGCMX\fR: Old世代の最大容量(KB)。
|
||||
\fBOGCMX\fR: Old世代の最大容量(KB)。
|
||||
.sp
|
||||
\fIOGC\fR: Old世代の現在の容量(KB)。
|
||||
\fBOGC\fR: Old世代の現在の容量(KB)。
|
||||
.sp
|
||||
\fIOC\fR: Old領域の現在の容量(KB)。
|
||||
\fBOC\fR: Old領域の現在の容量(KB)。
|
||||
.sp
|
||||
\fIMCMN\fR: メタスペースの最小容量(KB)。
|
||||
\fBMCMN\fR: メタスペースの最小容量(KB)。
|
||||
.sp
|
||||
\fIMCMX\fR: メタスペースの最大容量(KB)。
|
||||
\fBMCMX\fR: メタスペースの最大容量(KB)。
|
||||
.sp
|
||||
\fIMC\fR: メタスペースの容量(KB)。
|
||||
\fBMC\fR: メタスペースの容量(KB)。
|
||||
.sp
|
||||
\fIYGC\fR: 若い世代のGCイベント数。
|
||||
\fBCCSMN\fR: 圧縮されたクラス領域の最小容量(KB)。
|
||||
.sp
|
||||
\fIFGC\fR: フルGCイベント数。
|
||||
\fBCCSMX\fR: 圧縮されたクラス領域の最大容量(KB)。
|
||||
.sp
|
||||
\fBCCSC\fR: 圧縮されたクラス領域の容量(KB)。
|
||||
.sp
|
||||
\fBYGC\fR: 若い世代のGCイベント数。
|
||||
.sp
|
||||
\fBFGC\fR: フルGCイベント数。
|
||||
.RE
|
||||
.PP
|
||||
\-gccause \fIoption\fR
|
||||
.RS 4
|
||||
このオプションは、\fI\-gcutil\fRオプションと同じガベージ・コレクション統計データのサマリーを表示しますが、最後のガベージ・コレクション・イベントと(適用可能な場合は)現在のガベージ・コレクション・イベントの原因が含まれます。\fI\-gcutil\fRで一覧表示される列のほか、このオプションでは次の列が追加されます。
|
||||
このオプションは、\fB\-gcutil\fRオプションと同じガベージ・コレクション統計データのサマリーを表示しますが、最後のガベージ・コレクション・イベントと(適用可能な場合は)現在のガベージ・コレクション・イベントの原因が含まれます。\fB\-gcutil\fRで一覧表示される列のほか、このオプションでは次の列が追加されます。
|
||||
.sp
|
||||
ガベージ・コレクション・イベントを含むガベージ・コレクション統計データ。
|
||||
\fBLGCC\fR: 最後のガベージ・コレクションの原因
|
||||
.sp
|
||||
\fILGCC\fR: 最後のガベージ・コレクションの原因。
|
||||
.sp
|
||||
\fIGCC\fR: 現在のガベージ・コレクションの原因。
|
||||
\fBGCC\fR: 現在のガベージ・コレクションの原因
|
||||
.RE
|
||||
.PP
|
||||
\-gcnew \fIoption\fR
|
||||
.RS 4
|
||||
New世代の統計データ。
|
||||
New世代の統計データ。
|
||||
.sp
|
||||
\fIS0C\fR: Survivor領域0の現在の容量(KB)。
|
||||
\fBS0C\fR: Survivor領域0の現在の容量(KB)。
|
||||
.sp
|
||||
\fIS1C\fR: Survivor領域1の現在の容量(KB)。
|
||||
\fBS1C\fR: Survivor領域1の現在の容量(KB)。
|
||||
.sp
|
||||
\fIS0U\fR: Survivor領域0の使用率(KB)。
|
||||
\fBS0U\fR: Survivor領域0の使用率(KB)。
|
||||
.sp
|
||||
\fIS1U\fR: Survivor領域1の使用率(KB)。
|
||||
\fBS1U\fR: Survivor領域1の使用率(KB)。
|
||||
.sp
|
||||
\fITT\fR: 殿堂入りしきい値。
|
||||
\fBTT\fR: 殿堂入りしきい値。
|
||||
.sp
|
||||
\fIMTT\fR: 最大殿堂入りしきい値。
|
||||
\fBMTT\fR: 最大殿堂入りしきい値。
|
||||
.sp
|
||||
\fIDSS\fR: 適切なSurvivorサイズ(KB)。
|
||||
\fBDSS\fR: 適切なSurvivorサイズ(KB)。
|
||||
.sp
|
||||
\fIEC\fR: Eden領域の現在の容量(KB)。
|
||||
\fBEC\fR: Eden領域の現在の容量(KB)。
|
||||
.sp
|
||||
\fIEU\fR: Eden領域の使用率(KB)。
|
||||
\fBEU\fR: Eden領域の使用率(KB)。
|
||||
.sp
|
||||
\fIYGC\fR: 若い世代のGCイベント数。
|
||||
\fBYGC\fR: 若い世代のGCイベント数。
|
||||
.sp
|
||||
\fIYGCT\fR: 若い世代のガベージ・コレクション時間。
|
||||
\fBYGCT\fR: 若い世代のガベージ・コレクション時間。
|
||||
.RE
|
||||
.PP
|
||||
\-gcnewcapacity \fIoption\fR
|
||||
.RS 4
|
||||
New世代領域サイズの統計データ。
|
||||
New世代領域サイズの統計データ。
|
||||
.sp
|
||||
NGCMN: New世代の最小容量(KB)。
|
||||
\fBNGCMN\fR: New世代の最小容量(KB)。
|
||||
.sp
|
||||
\fINGCMX\fR: New世代の最大容量(KB)。
|
||||
\fBNGCMX\fR: New世代の最大容量(KB)。
|
||||
.sp
|
||||
\fINGC\fR: New世代の現在の容量(KB)。
|
||||
\fBNGC\fR: New世代の現在の容量(KB)。
|
||||
.sp
|
||||
\fIS0CMX\fR: Survivor領域0の最大容量(KB)。
|
||||
\fBS0CMX\fR: Survivor領域0の最大容量(KB)。
|
||||
.sp
|
||||
\fIS0C\fR: Survivor領域0の現在の容量(KB)。
|
||||
\fBS0C\fR: Survivor領域0の現在の容量(KB)。
|
||||
.sp
|
||||
\fIS1CMX\fR: Survivor領域1の最大容量(KB)。
|
||||
\fBS1CMX\fR: Survivor領域1の最大容量(KB)。
|
||||
.sp
|
||||
\fIS1C\fR: Survivor領域1の現在の容量(KB)。
|
||||
\fBS1C\fR: Survivor領域1の現在の容量(KB)。
|
||||
.sp
|
||||
\fIECMX\fR: Eden領域の最大容量(KB)。
|
||||
\fBECMX\fR: Eden領域の最大容量(KB)。
|
||||
.sp
|
||||
\fIEC\fR: Eden領域の現在の容量(KB)。
|
||||
\fBEC\fR: Eden領域の現在の容量(KB)。
|
||||
.sp
|
||||
\fIYGC\fR: 若い世代のGCイベント数。
|
||||
\fBYGC\fR: 若い世代のGCイベント数。
|
||||
.sp
|
||||
\fIFGC\fR: フルGCイベント数。
|
||||
\fBFGC\fR: フルGCイベント数。
|
||||
.RE
|
||||
.PP
|
||||
\-gcold \fIoption\fR
|
||||
.RS 4
|
||||
OldおよびPermanent世代の統計データ。
|
||||
OldおよびPermanent世代の統計データ。
|
||||
.sp
|
||||
\fIMC\fR: メタスペースの容量(KB)。
|
||||
\fBMC\fR: メタスペースの容量(KB)。
|
||||
.sp
|
||||
\fIMU\fR: メタスペースの使用率(KB)。
|
||||
\fBMU\fR: メタスペースの使用率(KB)。
|
||||
.sp
|
||||
\fIOC\fR: Old領域の現在の容量(KB)。
|
||||
\fBCCSC\fR: 圧縮されたクラス領域の容量(KB)。
|
||||
.sp
|
||||
\fIOU\fR: Old領域の使用率(KB)。
|
||||
\fBCCSU\fR: 使用されている圧縮されたクラス領域(KB)。
|
||||
.sp
|
||||
\fIYGC\fR: 若い世代のGCイベント数。
|
||||
\fBOC\fR: Old領域の現在の容量(KB)。
|
||||
.sp
|
||||
\fIFGC\fR: フルGCイベント数。
|
||||
\fBOU\fR: Old領域の使用率(KB)。
|
||||
.sp
|
||||
\fIFGCT\fR: フルガベージ・コレクション時間。
|
||||
\fBYGC\fR: 若い世代のGCイベント数。
|
||||
.sp
|
||||
\fIGCT\fR: ガベージ・コレクション総時間。
|
||||
\fBFGC\fR: フルGCイベント数。
|
||||
.sp
|
||||
\fBFGCT\fR: フルガベージ・コレクション時間。
|
||||
.sp
|
||||
\fBGCT\fR: ガベージ・コレクション総時間。
|
||||
.RE
|
||||
.PP
|
||||
\-gcoldcapacity \fIoption\fR
|
||||
.RS 4
|
||||
Old世代の統計データ。
|
||||
Old世代の統計データ。
|
||||
.sp
|
||||
\fIOGCMN\fR: Old世代の最小容量(KB)。
|
||||
\fBOGCMN\fR: Old世代の最小容量(KB)。
|
||||
.sp
|
||||
\fIOGCMX\fR: Old世代の最大容量(KB)。
|
||||
\fBOGCMX\fR: Old世代の最大容量(KB)。
|
||||
.sp
|
||||
\fIOGC\fR: Old世代の現在の容量(KB)。
|
||||
\fBOGC\fR: Old世代の現在の容量(KB)。
|
||||
.sp
|
||||
\fIOC\fR: Old領域の現在の容量(KB)。
|
||||
\fBOC\fR: Old領域の現在の容量(KB)。
|
||||
.sp
|
||||
\fIYGC\fR: 若い世代のGCイベント数。
|
||||
\fBYGC\fR: 若い世代のGCイベント数。
|
||||
.sp
|
||||
\fIFGC\fR: フルGCイベント数。
|
||||
\fBFGC\fR: フルGCイベント数。
|
||||
.sp
|
||||
\fIFGCT\fR: フルガベージ・コレクション時間。
|
||||
\fBFGCT\fR: フルガベージ・コレクション時間。
|
||||
.sp
|
||||
\fIGCT\fR: ガベージ・コレクション総時間。
|
||||
\fBGCT\fR: ガベージ・コレクション総時間。
|
||||
.RE
|
||||
.PP
|
||||
\-gcmetacapacity \fIoption\fR
|
||||
.RS 4
|
||||
Permanent世代の統計データ。
|
||||
Permanent世代の統計データ。
|
||||
.sp
|
||||
\fIMCMN\fR: メタスペースの最小容量(KB)。
|
||||
\fBMCMN\fR: メタスペースの最小容量(KB)。
|
||||
.sp
|
||||
\fIMCMX\fR: メタスペースの最大容量(KB)。
|
||||
\fBMCMX\fR: メタスペースの最大容量(KB)。
|
||||
.sp
|
||||
\fIMC\fR: メタスペースの容量(KB)。
|
||||
\fBMC\fR: メタスペースの容量(KB)。
|
||||
.sp
|
||||
\fIYGC\fR: 若い世代のGCイベント数。
|
||||
\fBCCSMN\fR: 圧縮されたクラス領域の最小容量(KB)。
|
||||
.sp
|
||||
\fIFGC\fR: フルGCイベント数。
|
||||
\fBCCSMX\fR: 圧縮されたクラス領域の最大容量(KB)。
|
||||
.sp
|
||||
\fIFGCT\fR: フルガベージ・コレクション時間。
|
||||
\fBYGC\fR: 若い世代のGCイベント数。
|
||||
.sp
|
||||
\fIGCT\fR: ガベージ・コレクション総時間。
|
||||
\fBFGC\fR: フルGCイベント数。
|
||||
.sp
|
||||
\fBFGCT\fR: フルガベージ・コレクション時間。
|
||||
.sp
|
||||
\fBGCT\fR: ガベージ・コレクション総時間。
|
||||
.RE
|
||||
.PP
|
||||
\-gcutil \fIoption\fR
|
||||
.RS 4
|
||||
ガベージ・コレクション統計データのサマリー
|
||||
ガベージ・コレクション統計データのサマリー
|
||||
.sp
|
||||
\fIS0\fR: Survivor領域0の使用率(現在の容量に対するパーセンテージ)。
|
||||
\fBS0\fR: Survivor領域0の使用率(現在の容量に対するパーセンテージ)。
|
||||
.sp
|
||||
\fIS1\fR: Survivor領域1の使用率(現在の容量に対するパーセンテージ)。
|
||||
\fBS1\fR: Survivor領域1の使用率(現在の容量に対するパーセンテージ)。
|
||||
.sp
|
||||
\fIE\fR: Eden領域の使用率(現在の容量に対するパーセンテージ)。
|
||||
\fBE\fR: Eden領域の使用率(現在の容量に対するパーセンテージ)。
|
||||
.sp
|
||||
\fIO\fR: Old領域の使用率(現在の容量に対するパーセンテージ)。
|
||||
\fBO\fR: Old領域の使用率(現在の容量に対するパーセンテージ)。
|
||||
.sp
|
||||
\fIM\fR: メタスペースの使用率(領域の現在の容量に対するパーセンテージ)。
|
||||
\fBM\fR: メタスペースの使用率(領域の現在の容量に対するパーセンテージ)。
|
||||
.sp
|
||||
\fIYGC\fR: 若い世代のGCイベント数。
|
||||
\fBCCS\fR: 圧縮されたクラス領域の使用率(パーセンテージ)。
|
||||
.sp
|
||||
\fIYGCT\fR: 若い世代のガベージ・コレクション時間。
|
||||
\fBYGC\fR: 若い世代のGCイベント数。
|
||||
.sp
|
||||
\fIFGC\fR: フルGCイベント数。
|
||||
\fBYGCT\fR: 若い世代のガベージ・コレクション時間。
|
||||
.sp
|
||||
\fIFGCT\fR: フルガベージ・コレクション時間。
|
||||
\fBFGC\fR: フルGCイベント数。
|
||||
.sp
|
||||
\fIGCT\fR: ガベージ・コレクション総時間。
|
||||
\fBFGCT\fR: フルガベージ・コレクション時間。
|
||||
.sp
|
||||
\fBGCT\fR: ガベージ・コレクション総時間。
|
||||
.RE
|
||||
.PP
|
||||
\-printcompilation \fIoption\fR
|
||||
.RS 4
|
||||
Java HotSpot VMコンパイル・メソッドの統計データ。
|
||||
Java HotSpot VMコンパイル・メソッドの統計データ。
|
||||
.sp
|
||||
\fICompiled\fR: 最近コンパイルされたメソッドで実行されたコンパイル・タスクの数。
|
||||
\fBCompiled\fR: 最近コンパイルされたメソッドで実行されたコンパイル・タスクの数。
|
||||
.sp
|
||||
\fISize\fR: 最近コンパイルされたメソッドのバイト・コードのバイト数。
|
||||
\fBSize\fR: 最近コンパイルされたメソッドのバイト・コードのバイト数。
|
||||
.sp
|
||||
\fIType\fR: 最近コンパイルされたメソッドのコンパイル・タイプ。
|
||||
\fBType\fR: 最近コンパイルされたメソッドのコンパイル・タイプ。
|
||||
.sp
|
||||
\fIMethod\fR: 最近コンパイルされたメソッドを特定するクラス名とメソッド名。クラス名では、名前空間の区切り文字として、ドット(\&.)のかわりにスラッシュ(/)が使用されます。メソッド名は、指定されたクラス内のメソッドです。これらの2つのフィールドの形式は、HotSpot
|
||||
\fI\-XX:+PrintComplation\fRオプションと対応しています。
|
||||
\fBMethod\fR: 最近コンパイルされたメソッドを特定するクラス名とメソッド名。クラス名では、名前空間の区切り文字として、ドット(\&.)のかわりにスラッシュ(/)が使用されます。メソッド名は、指定されたクラス内のメソッドです。これらの2つのフィールドの形式は、HotSpot
|
||||
\fB\-XX:+PrintCompilation\fRオプションと対応しています。
|
||||
.RE
|
||||
.SH "例"
|
||||
.SH "例"
|
||||
.PP
|
||||
この項では、21891の\fIlvmid\fRを持つローカルJVMをモニタリングする例を示します。
|
||||
.SS "gcutilオプション"
|
||||
この項では、21891の\fIlvmid\fRを持つローカルJVMをモニタリングする例を示します。
|
||||
.SS "gcutilオプション"
|
||||
.PP
|
||||
この例では、lvmid 21891に接続して、250ミリ秒間隔で7つのサンプルを取得し、\-\fIgcutil\fRオプションでの指定に従って出力を表示します。
|
||||
この例では、lvmid 21891に接続して、250ミリ秒間隔で7つのサンプルを取得し、\-\fBgcutil\fRオプションでの指定に従って出力を表示します。
|
||||
.PP
|
||||
この例の出力は、若い世代のコレクションが3番目と4番目のサンプル間で行われたことを示しています。コレクションには0\&.001秒かかっており、オブジェクトがEden領域(E)からOld領域(O)に昇格したため、Old領域の使用率は9\&.49%から9\&.51%に増加しています。Survivor領域は、コレクション前は12\&.44%が使用されていましたが、コレクション後の使用は7\&.74%のみです。
|
||||
この例の出力は、若い世代のコレクションが3番目と4番目のサンプル間で行われたことを示しています。コレクションには0\&.078秒かかっており、オブジェクトがEden領域(E)からOld領域(O)に昇格したため、Old領域の使用率は66\&.80%から68\&.19%に増加しています。Survivor領域は、コレクション前は97\&.02%が使用されていましたが、コレクション後の使用は91\&.03%です。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jstat \-gcutil 21891 250 7
|
||||
S0 S1 E O M YGC YGCT FGC FGCT GCT
|
||||
0\&.00 99\&.74 13\&.49 7\&.86 95\&.82 3 0\&.124 0 0\&.000 0\&.124
|
||||
0\&.00 99\&.74 13\&.49 7\&.86 95\&.82 3 0\&.124 0 0\&.000 0\&.124
|
||||
0\&.00 99\&.74 13\&.49 7\&.86 95\&.82 3 0\&.124 0 0\&.000 0\&.124
|
||||
0\&.00 99\&.74 13\&.49 7\&.86 95\&.82 3 0\&.124 0 0\&.000 0\&.124
|
||||
0\&.00 99\&.74 13\&.80 7\&.86 95\&.82 3 0\&.124 0 0\&.000 0\&.124
|
||||
0\&.00 99\&.74 13\&.80 7\&.86 95\&.82 3 0\&.124 0 0\&.000 0\&.124
|
||||
0\&.00 99\&.74 13\&.80 7\&.86 95\&.82 3 0\&.124 0 0\&.000 0\&.124
|
||||
\fBjstat \-gcutil 21891 250 7\fR
|
||||
\fB S0 S1 E O M CCS YGC YGCT FGC FGCT GCT \fR
|
||||
\fB 0\&.00 97\&.02 70\&.31 66\&.80 95\&.52 89\&.14 7 0\&.300 0 0\&.000 0\&.300\fR
|
||||
\fB 0\&.00 97\&.02 86\&.23 66\&.80 95\&.52 89\&.14 7 0\&.300 0 0\&.000 0\&.300\fR
|
||||
\fB 0\&.00 97\&.02 96\&.53 66\&.80 95\&.52 89\&.14 7 0\&.300 0 0\&.000 0\&.300\fR
|
||||
\fB 91\&.03 0\&.00 1\&.98 68\&.19 95\&.89 91\&.24 8 0\&.378 0 0\&.000 0\&.378\fR
|
||||
\fB 91\&.03 0\&.00 15\&.82 68\&.19 95\&.89 91\&.24 8 0\&.378 0 0\&.000 0\&.378\fR
|
||||
\fB 91\&.03 0\&.00 17\&.80 68\&.19 95\&.89 91\&.24 8 0\&.378 0 0\&.000 0\&.378\fR
|
||||
\fB 91\&.03 0\&.00 17\&.80 68\&.19 95\&.89 91\&.24 8 0\&.378 0 0\&.000 0\&.378\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SS "列ヘッダー文字列の繰返し"
|
||||
.SS "列ヘッダー文字列の繰返し"
|
||||
.PP
|
||||
この例では、lvmid 21891に接続して、250ミリ秒間隔でサンプルを取得し、\fI\-gcutil\fRオプションでの指定に従って出力を表示します。さらに、\fI\-h3\fRオプションを使用して、データが3行表示されるごとに列ヘッダーを出力します。
|
||||
この例では、lvmid 21891に接続して、250ミリ秒間隔でサンプルを取得し、\fB\-gcnew\fRオプションでの指定に従って出力を表示します。さらに、\fB\-h3\fRオプションを使用して、データが3行表示されるごとに列ヘッダーを出力します。
|
||||
.PP
|
||||
この例では、ヘッダー文字列の繰返しが表示されているほか、2番目と3番目のサンプル間でYoung GCが行われたことがわかります。この継続時間は0\&.001秒でした。このコレクションでは、Survivor領域0の使用率(S0U)が適切なSurvivorサイズ(DSS)を超過することになるアクティブ・データが検出されました。この結果、オブジェクトは、Old世代(この出力には非表示)へ昇格され、殿堂入りしきい値(TT)が、31から2へ降格されました。
|
||||
この例では、ヘッダー文字列の繰返しが表示されているほか、2番目と3番目のサンプル間でYoung GCが行われたことがわかります。この継続時間は0\&.001秒でした。このコレクションでは、Survivor領域0の使用率(S0U)が適切なSurvivorサイズ(DSS)を超過することになるアクティブ・データが検出されました。この結果、オブジェクトは、Old世代(この出力には非表示)へ昇格され、殿堂入りしきい値(TT)が、31から2へ降格されました。
|
||||
.PP
|
||||
別のコレクションが、5番目と6番目のサンプル間で行われています。このコレクションでは、Survivorがほとんど見られず、殿堂入りしきい値を31に戻しました。
|
||||
別のコレクションが、5番目と6番目のサンプル間で行われています。このコレクションでは、Survivorがほとんど見られず、殿堂入りしきい値を31に戻しました。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jstat \-gcnew \-h3 21891 250
|
||||
S0C S1C S0U S1U TT MTT DSS EC EU YGC YGCT
|
||||
64\&.0 64\&.0 0\&.0 31\&.7 31 31 32\&.0 512\&.0 178\&.6 249 0\&.203
|
||||
64\&.0 64\&.0 0\&.0 31\&.7 31 31 32\&.0 512\&.0 355\&.5 249 0\&.203
|
||||
64\&.0 64\&.0 35\&.4 0\&.0 2 31 32\&.0 512\&.0 21\&.9 250 0\&.204
|
||||
S0C S1C S0U S1U TT MTT DSS EC EU YGC YGCT
|
||||
64\&.0 64\&.0 35\&.4 0\&.0 2 31 32\&.0 512\&.0 245\&.9 250 0\&.204
|
||||
64\&.0 64\&.0 35\&.4 0\&.0 2 31 32\&.0 512\&.0 421\&.1 250 0\&.204
|
||||
64\&.0 64\&.0 0\&.0 19\&.0 31 31 32\&.0 512\&.0 84\&.4 251 0\&.204
|
||||
S0C S1C S0U S1U TT MTT DSS EC EU YGC YGCT
|
||||
64\&.0 64\&.0 0\&.0 19\&.0 31 31 32\&.0 512\&.0 306\&.7 251 0\&.204
|
||||
\fBjstat \-gcnew \-h3 21891 250\fR
|
||||
\fB S0C S1C S0U S1U TT MTT DSS EC EU YGC YGCT\fR
|
||||
\fB 64\&.0 64\&.0 0\&.0 31\&.7 31 31 32\&.0 512\&.0 178\&.6 249 0\&.203\fR
|
||||
\fB 64\&.0 64\&.0 0\&.0 31\&.7 31 31 32\&.0 512\&.0 355\&.5 249 0\&.203\fR
|
||||
\fB 64\&.0 64\&.0 35\&.4 0\&.0 2 31 32\&.0 512\&.0 21\&.9 250 0\&.204\fR
|
||||
\fB S0C S1C S0U S1U TT MTT DSS EC EU YGC YGCT\fR
|
||||
\fB 64\&.0 64\&.0 35\&.4 0\&.0 2 31 32\&.0 512\&.0 245\&.9 250 0\&.204\fR
|
||||
\fB 64\&.0 64\&.0 35\&.4 0\&.0 2 31 32\&.0 512\&.0 421\&.1 250 0\&.204\fR
|
||||
\fB 64\&.0 64\&.0 0\&.0 19\&.0 31 31 32\&.0 512\&.0 84\&.4 251 0\&.204\fR
|
||||
\fB S0C S1C S0U S1U TT MTT DSS EC EU YGC YGCT\fR
|
||||
\fB 64\&.0 64\&.0 0\&.0 19\&.0 31 31 32\&.0 512\&.0 306\&.7 251 0\&.204\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SS "サンプルごとのタイムスタンプの挿入"
|
||||
.SS "サンプルごとのタイムスタンプの挿入"
|
||||
.PP
|
||||
この例では、lvmid21891へ接続し、250ミリ秒間隔で3つのサンプルを取得しています。\fI\-t\fRオプションを使用して、最初の列にサンプルごとのタイムスタンプを表示しています。
|
||||
この例では、lvmid21891へ接続し、250ミリ秒間隔で3つのサンプルを取得しています。\fB\-t\fRオプションを使用して、最初の列にサンプルごとのタイムスタンプを表示しています。
|
||||
.PP
|
||||
Timestamp列には、ターゲットJVMの起動時からの経過時間が、秒単位でレポートされています。さらに、\fI\-gcoldcapacity\fR出力では、割当リクエストまたは昇格リクエストあるいはその両方を満たすためにヒープが拡張するたびに、Old世代の容量(OGC)とOld領域の容量(OC)とが増加していることがわかります。81番目のフル・ガベージ・コレクション(FGC)の後、Old世代の容量(OGC)は11,696 KBから13820 KBに増加しました。この世代(および領域)の最大容量は、60,544 KB (OGCMX)なので、まだ拡張できる余裕が残されています。
|
||||
Timestamp列には、ターゲットJVMの起動時からの経過時間が、秒単位でレポートされています。さらに、\fB\-gcoldcapacity\fR出力では、割当リクエストまたは昇格リクエストあるいはその両方を満たすためにヒープが拡張するたびに、Old世代の容量(OGC)とOld領域の容量(OC)とが増加していることがわかります。81番目のフル・ガベージ・コレクション(FGC)の後、Old世代の容量(OGC)は11,696KBから13,820KBに増加しました。この世代(および領域)の最大容量は、60,544KB (OGCMX)なので、まだ拡張できる余裕が残されています。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
Timestamp OGCMN OGCMX OGC OC YGC FGC FGCT GCT
|
||||
150\&.1 1408\&.0 60544\&.0 11696\&.0 11696\&.0 194 80 2\&.874 3\&.799
|
||||
150\&.4 1408\&.0 60544\&.0 13820\&.0 13820\&.0 194 81 2\&.938 3\&.863
|
||||
150\&.7 1408\&.0 60544\&.0 13820\&.0 13820\&.0 194 81 2\&.938 3\&.863
|
||||
\fBTimestamp OGCMN OGCMX OGC OC YGC FGC FGCT GCT\fR
|
||||
\fB 150\&.1 1408\&.0 60544\&.0 11696\&.0 11696\&.0 194 80 2\&.874 3\&.799\fR
|
||||
\fB 150\&.4 1408\&.0 60544\&.0 13820\&.0 13820\&.0 194 81 2\&.938 3\&.863\fR
|
||||
\fB 150\&.7 1408\&.0 60544\&.0 13820\&.0 13820\&.0 194 81 2\&.938 3\&.863\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SS "リモートJVMのインストゥルメンテーションの監視"
|
||||
.SS "リモートJVMのインストゥルメンテーションのモニター"
|
||||
.PP
|
||||
この例は、\fI\-gcutil\fRオプションを使用して、remote\&.domainというシステム上のlvmid 40496に接続し、サンプルを秒単位で無期限に取得しています。
|
||||
この例は、\fB\-gcutil\fRオプションを使用して、remote\&.domainというシステム上のlvmid 40496に接続し、サンプルを秒単位で無期限に取得しています。
|
||||
.PP
|
||||
lvmidは、リモート・ホストの名前と結合されて、\fI40496@remote\&.domain\fRの\fIvmid\fRを構成しています。結果として、このvmidは、\fIrmi\fRプロトコルを使用して、リモート・ホスト上のデフォルトの\fIjstatd\fRサーバーと通信します。\fIjstatd\fRサーバーは、rmiregistryを使用して、デフォルトのrmiregistryポート(ポート1099)にバインドされた\fIremote\&.domain\fRに配置されます。
|
||||
lvmidは、リモート・ホストの名前と結合されて、\fB40496@remote\&.domain\fRの\fIvmid\fRを構成しています。結果として、このvmidは、\fBrmi\fRプロトコルを使用して、リモート・ホスト上のデフォルトの\fBjstatd\fRサーバーと通信します。\fBjstatd\fRサーバーは、\fBrmiregistry\fRコマンドを使用して、\fBrmiregistry\fRコマンドのデフォルトのポート(ポート1099)にバインドされた\fBremote\&.domain\fRに配置されます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jstat \-gcutil 40496@remote\&.domain 1000
|
||||
\fI\&.\&.\&. output omitted\fR
|
||||
\fBjstat \-gcutil 40496@remote\&.domain 1000\fR
|
||||
\fB\fI\&.\&.\&. output omitted\fR\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "関連項目"
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: jstatd
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: モニタリング・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "jstatd" "1" "2013年11月21日" "JDK 8" "モニタリング・ツール"
|
||||
.\" Title: jstatd
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: モニタリング・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "jstatd" "1" "2013年11月21日" "JDK 8" "モニタリング・ツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
jstatd \- Java仮想マシン(JVM)をモニターし、リモート・モニタリング・ツールがJVMに接続できるようにします。このコマンドは試験的なもので、サポートされていません。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
jstatd \- Java仮想マシン(JVM)をモニターし、リモート・モニタリング・ツールがJVMに接続できるようにします。このコマンドは試験的なもので、サポートされていません。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjstatd\fR [ \fIoptions\fR ]
|
||||
\fBjstatd\fR [ \fIoptions\fR ]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,161 +66,169 @@ jstatd \- Java仮想マシン(JVM)をモニターし、リモート・モニタ
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
コマンドライン・オプション。オプションを参照してください。
|
||||
コマンド行オプション。オプションを参照してください。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIjstatd\fRコマンドは、計測されたJava HotSpot VMの作成と終了をモニターし、ローカル・システム上で実行されているJVMに、リモート・モニタリング・ツールが接続できるようにするためのインタフェースを提供するRMIサーバー・アプリケーションです。
|
||||
\fBjstatd\fRコマンドは、計測されたJava HotSpot VMの作成と終了をモニターし、ローカル・システム上で実行されているJVMに、リモート・モニタリング・ツールが接続できるようにするためのインタフェースを提供するRMIサーバー・アプリケーションです。
|
||||
.PP
|
||||
\fIjstatd\fRサーバーでは、ローカル・ホストにRMIレジストリが必要になります。\fIjstatd\fRサーバーはデフォルト・ポートで、または\fI\-p\fR
|
||||
\fIport\fRオプションで指定したポートで、RMIレジストリに接続しようとします。RMIレジストリが見つからない場合、\fI\-p\fR
|
||||
\fIport\fRオプションで指定されたポート、または\fI\-p\fR
|
||||
\fIport\fRオプションが省略されている場合は、デフォルトRMIレジストリにバインドされた\fIjstatd\fRアプリケーション内に、1つのRMIレジストリが作成されます。内部RMIレジストリの作成は、\fI\-nr\fRオプションを指定することによって中止できます。
|
||||
.SH "オプション"
|
||||
\fBjstatd\fRサーバーでは、ローカル・ホストにRMIレジストリが必要になります。\fBjstatd\fRサーバーはデフォルト・ポートで、または\fB\-p\fR
|
||||
\fBport\fRオプションで指定したポートで、RMIレジストリに接続しようとします。RMIレジストリが見つからない場合、\fB\-p\fR
|
||||
\fBport\fRオプションで指定されたポート、または\fB\-p\fR
|
||||
\fBport\fRオプションが省略されている場合は、デフォルトRMIレジストリにバインドされた\fBjstatd\fRアプリケーション内に、1つのRMIレジストリが作成されます。内部RMIレジストリの作成は、\fB\-nr\fRオプションを指定することによって中止できます。
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\-nr
|
||||
.RS 4
|
||||
既存のRMIレジストリが見つからない場合、\fIjstatd\fRプロセス内に内部RMIレジストリを作成しないようにします。
|
||||
既存のRMIレジストリが見つからない場合、\fBjstatd\fRプロセス内に内部RMIレジストリを作成しないようにします。
|
||||
.RE
|
||||
.PP
|
||||
\-p \fIport\fR
|
||||
.RS 4
|
||||
RMIレジストリがあると予想されるポート番号です。見つからない場合は、\fI\-nr\fRオプションが指定されていなければ作成されます。
|
||||
RMIレジストリがあると予想されるポート番号です。見つからない場合は、\fB\-nr\fRオプションが指定されていなければ作成されます。
|
||||
.RE
|
||||
.PP
|
||||
\-n \fIrminame\fR
|
||||
.RS 4
|
||||
RMIレジストリにおいて、リモートRMIオブジェクトがバインドされる名前です。デフォルト名は\fIJStatRemoteHost\fRです。複数の\fIjstatd\fRサーバーが同じホスト上で起動している場合、各サーバーのエクスポートしたRMIオブジェクトの名前は、このオプションを指定することによって、一意の名前にすることができます。ただし、このオプションを使用する場合、モニタリング・クライアントの\fIhostid\fRおよび\fIvmid\fR文字列に、その一意のサーバー名を含める必要があります。
|
||||
RMIレジストリにおいて、リモートRMIオブジェクトがバインドされる名前です。デフォルト名は\fBJStatRemoteHost\fRです。複数の\fBjstatd\fRサーバーが同じホスト上で起動している場合、各サーバーのエクスポートしたRMIオブジェクトの名前は、このオプションを指定することによって、一意の名前にすることができます。ただし、このオプションを使用する場合、モニタリング・クライアントの\fBhostid\fRおよび\fBvmid\fR文字列に、その一意のサーバー名を含める必要があります。
|
||||
.RE
|
||||
.PP
|
||||
\-J\fIoption\fR
|
||||
.RS 4
|
||||
JVMに\fIoption\fRを渡します。optionには、Javaアプリケーション起動ツールのリファレンス・ページに記載されている\fIオプション\fRを1つ指定します。たとえば、\fI\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。java(1)を参照してください。
|
||||
JVMに\fBoption\fRを渡します。optionには、Javaアプリケーション起動ツールのリファレンス・ページに記載されている\fBオプション\fRを1つ指定します。たとえば、\fB\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。java(1)を参照してください。
|
||||
.RE
|
||||
.SH "セキュリティ"
|
||||
.SH "セキュリティ"
|
||||
.PP
|
||||
\fIjstatd\fRサーバーは、適切なネイティブ・アクセス権を持つJVMのみを監視できます。したがって、\fIjstatd\fRプロセスは、ターゲットJVMと同じユーザー資格で実行されている必要があります。UNIXベースのシステムにおけるrootユーザーなどの一部のユーザー資格は、システム上の任意のJVMによってエクスポートされたインストゥルメンテーションへのアクセス権を持っています。このような資格で実行されている\fIjstatd\fRプロセスは、システム上のすべてのJVMを監視できますが、セキュリティ上の別の問題が起こります。
|
||||
\fBjstatd\fRサーバーは、適切なネイティブ・アクセス権を持つJVMのみをモニターできます。したがって、\fBjstatd\fRプロセスは、ターゲットJVMと同じユーザー資格証明で実行されている必要があります。Solaris、LinuxおよびOS Xオペレーティング・システムにおけるrootユーザーなどの一部のユーザー資格証明は、システム上の任意のJVMによってエクスポートされたインストゥルメンテーションへのアクセス権を持っています。このような資格証明で実行されている\fBjstatd\fRプロセスは、システム上のすべてのJVMをモニターできますが、セキュリティ上の別の問題が起こります。
|
||||
.PP
|
||||
\fIjstatd\fRサーバーには、リモート・クライアントの認証機能がありません。そのため、\fIjstatd\fRサーバー・プロセスを実行すると、\fIjstatd\fRプロセスがアクセス権を持つすべてのJVMによるインストゥルメンテーションのエクスポートを、ネットワーク上のすべてのユーザーに公開することになります。この無防備な状態は、環境によっては望ましくない場合があるので、特に実稼働環境または安全でないネットワークでは、\fIjstatd\fRプロセスを起動する前に、ローカル・セキュリティ・ポリシーを検討する必要があります。
|
||||
\fBjstatd\fRサーバーには、リモート・クライアントの認証機能がありません。そのため、\fBjstatd\fRサーバー・プロセスを実行すると、\fBjstatd\fRプロセスがアクセス権を持つすべてのJVMによるインストゥルメンテーションのエクスポートを、ネットワーク上のすべてのユーザーに公開することになります。この無防備な状態は、環境によっては望ましくない場合があるので、特に本番環境またはセキュアでないネットワークでは、\fBjstatd\fRプロセスを起動する前に、ローカル・セキュリティ・ポリシーを検討する必要があります。
|
||||
.PP
|
||||
\fIjstatd\fRサーバーは、他のセキュリティ・マネージャがインストールされていない場合には、\fIRMISecurityPolicy\fRのインスタンスをインストールします。そのため、セキュリティ・ポリシー・ファイルを指定する必要があります。ポリシー・ファイルは、http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/PolicyFiles\&.htmlにある
|
||||
「デフォルトのPolicyの実装とポリシー・ファイルの構文」に準拠している必要があります
|
||||
\fBjstatd\fRサーバーは、他のセキュリティ・マネージャがインストールされていない場合には、\fBRMISecurityPolicy\fRのインスタンスをインストールします。そのため、セキュリティ・ポリシー・ファイルを指定する必要があります。ポリシー・ファイルは、http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/PolicyFiles\&.htmlにある
|
||||
「デフォルトのPolicyの実装とポリシー・ファイルの構文」に準拠している必要があります
|
||||
.PP
|
||||
次のポリシー・ファイルでは、セキュリティ例外を発生せずに\fIjstatd\fRサーバーを実行できます。このポリシーは、すべてのコード・ベースへのあらゆるアクセス権を認めるポリシーよりも自由度が低いですが、\fIjstatd\fRサーバーを実行するために最低限必要なアクセス権のみを認めるポリシーよりも自由度が高くなっています。
|
||||
次のポリシー・ファイルでは、セキュリティ例外を発生せずに\fBjstatd\fRサーバーを実行できます。このポリシーは、すべてのコード・ベースへのあらゆるアクセス権を認めるポリシーよりも自由度が低いですが、\fBjstatd\fRサーバーを実行するために最低限必要なアクセス権のみを認めるポリシーよりも自由度が高くなっています。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
grant codebase "file:${java\&.home}/\&.\&./lib/tools\&.jar" {
|
||||
permission java\&.security\&.AllPermission;
|
||||
};
|
||||
\fBgrant codebase "file:${java\&.home}/\&.\&./lib/tools\&.jar" { \fR
|
||||
\fB permission java\&.security\&.AllPermission;\fR
|
||||
\fB};\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
このポリシー設定を使用するには、このテキストを\fIjstatd\&.all\&.policy\fRというファイルにコピーし、次のように\fIjstatd\fRサーバーを実行します。
|
||||
このポリシー設定を使用するには、このテキストを\fBjstatd\&.all\&.policy\fRというファイルにコピーし、次のように\fBjstatd\fRサーバーを実行します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jstatd \-J\-Djava\&.security\&.policy=jstatd\&.all\&.policy
|
||||
\fBjstatd \-J\-Djava\&.security\&.policy=jstatd\&.all\&.policy\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
より厳しいセキュリティを実施するサイトの場合、カスタム・ポリシー・ファイルを使用して、特定の信頼できるホストまたはネットワークにアクセスを制限することができます。ただし、このような方法は、IPアドレスの盗聴攻撃を受けやすくなります。セキュリティの問題について、カスタマイズしたポリシー・ファイルでも対処できない場合は、\fIjstatd\fRサーバーを実行せずに、\fIjstat\fRと\fIjps\fRツールをローカルで使用することが最も安全な方法になります。
|
||||
.SH "リモート・インタフェース"
|
||||
より厳しいセキュリティを実施するサイトの場合、カスタム・ポリシー・ファイルを使用して、特定の信頼できるホストまたはネットワークにアクセスを制限することができます。ただし、このような方法は、IPアドレスの盗聴攻撃を受けやすくなります。セキュリティの問題について、カスタマイズしたポリシー・ファイルでも対処できない場合は、\fBjstatd\fRサーバーを実行せずに、\fBjstat\fRと\fBjps\fRツールをローカルで使用することが最も安全な方法になります。
|
||||
.SH "リモート・インタフェース"
|
||||
.PP
|
||||
\fIjstatd\fRプロセスがエクスポートするインタフェースは、独自に開発したものであり変更される予定です。ユーザーおよび開発者は、このインタフェースへの書込みを行わないでください。
|
||||
.SH "例"
|
||||
\fBjstatd\fRプロセスがエクスポートするインタフェースは、独自に開発したものであり変更される予定です。ユーザーおよび開発者は、このインタフェースへの書込みを行わないでください。
|
||||
.SH "例"
|
||||
.PP
|
||||
次に、\fIjstatd\fRコマンドの例を示します。\fIjstatd\fRスクリプトによって、サーバーはバックグラウンドで自動的に起動します。
|
||||
.SS "内部RMIレジストリ"
|
||||
次に、\fBjstatd\fRコマンドの例を示します。\fBjstatd\fRスクリプトによって、サーバーはバックグラウンドで自動的に起動します。
|
||||
.SS "内部RMIレジストリ"
|
||||
.PP
|
||||
この例は、内部RMIレジストリを使用したホストによる\fIjstatd\fRセッションの起動を表しています。この例では、デフォルトのRMIレジストリ・ポート(ポート1099)には、他のサーバーはバインドされていないと想定しています。
|
||||
この例は、内部RMIレジストリを使用した\fBjstatd\fRセッションの起動方法を表しています。この例では、デフォルトのRMIレジストリ・ポート(ポート1099)には、他のサーバーはバインドされていないと想定しています。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jstatd \-J\-Djava\&.security\&.policy=all\&.policy
|
||||
\fBjstatd \-J\-Djava\&.security\&.policy=all\&.policy\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SS "外部RMIレジストリ"
|
||||
.SS "外部RMIレジストリ"
|
||||
.PP
|
||||
この例は、外部RMIレジストリを使用した\fIjstatd\fRセッションの起動を表しています。
|
||||
この例は、外部RMIレジストリを使用した\fBjstatd\fRセッションの起動を表しています。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
rmiregistry&
|
||||
jstatd \-J\-Djava\&.security\&.policy=all\&.policy
|
||||
\fBrmiregistry&\fR
|
||||
\fBjstatd \-J\-Djava\&.security\&.policy=all\&.policy\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
この例では、ポート2020の外部RMIレジストリを使用して\fIjstatd\fRセッションを起動します。
|
||||
この例では、ポート2020の外部RMIレジストリを使用して\fBjstatd\fRセッションを起動します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jrmiregistry 2020&
|
||||
jstatd \-J\-Djava\&.security\&.policy=all\&.policy \-p 2020
|
||||
\fBjrmiregistry 2020&\fR
|
||||
\fBjstatd \-J\-Djava\&.security\&.policy=all\&.policy \-p 2020\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
この例では、ポート2020の外部RMIレジストリを使用して、\fIAlternateJstatdServerName\fRにバインドされている\fIjstatd\fRセッションを起動します。
|
||||
この例では、ポート2020の外部RMIレジストリを使用して、\fBAlternateJstatdServerName\fRにバインドされている\fBjstatd\fRセッションを起動します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
rmiregistry 2020&
|
||||
jstatd \-J\-Djava\&.security\&.policy=all\&.policy \-p 2020
|
||||
\-n AlternateJstatdServerName
|
||||
\fBrmiregistry 2020&\fR
|
||||
\fBjstatd \-J\-Djava\&.security\&.policy=all\&.policy \-p 2020\fR
|
||||
\fB \-n AlternateJstatdServerName\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SS "インプロセスRMIレジストリの作成の停止"
|
||||
.SS "インプロセスRMIレジストリの作成の停止"
|
||||
.PP
|
||||
この例では、外部RMIレジストリがない場合に作成しない\fIjstatd\fRセッションを起動します。この例では、RMIレジストリがすでに実行されていると想定しています。RMIレジストリが実行されていない場合、エラー・メッセージが表示されます。
|
||||
この例では、外部RMIレジストリがない場合に作成しない\fBjstatd\fRセッションを起動します。この例では、RMIレジストリがすでに実行されていると想定しています。RMIレジストリが実行されていない場合、エラー・メッセージが表示されます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jstatd \-J\-Djava\&.security\&.policy=all\&.policy \-nr
|
||||
\fBjstatd \-J\-Djava\&.security\&.policy=all\&.policy \-nr\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SS "RMIロギングの有効化"
|
||||
.SS "RMIロギングの有効化"
|
||||
.PP
|
||||
この例では、RMIロギング機能を有効化して\fIjstatd\fRセッションを起動します。この方法は、トラブルシューティングまたはサーバー活動のモニタリングに役立ちます。
|
||||
この例では、RMIロギング機能を有効化して\fBjstatd\fRセッションを起動します。この方法は、トラブルシューティングまたはサーバー活動のモニタリングに役立ちます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
jstatd \-J\-Djava\&.security\&.policy=all\&.policy
|
||||
\-J\-Djava\&.rmi\&.server\&.logCalls=true
|
||||
\fBjstatd \-J\-Djava\&.security\&.policy=all\&.policy\fR
|
||||
\fB \-J\-Djava\&.rmi\&.server\&.logCalls=true\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "関連項目"
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
|
||||
@ -1,11 +1,4 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: jvisualvm
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Javaトラブルシューティング、プロファイリング、モニタリングおよび管理ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "jvisualvm" "1" "2013年11月21日" "JDK 8" "Javaトラブルシューティング、プロファイリング、モニタリン"
|
||||
.\" Title: jvisualvm
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Javaトラブルシューティング、プロファイリング、モニタリングおよび管理ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "jvisualvm" "1" "2013年11月21日" "JDK 8" "Javaトラブルシューティング、プロファイリング、モニタリン"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
jvisualvm \- Javaアプリケーションを視覚的に監視、トラブルシュートおよびプロファイルします。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
jvisualvm \- Javaアプリケーションを視覚的にモニター、トラブルシュートおよびプロファイルします。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIjvisualvm\fR [ \fIoptions\fR ]
|
||||
\fBjvisualvm\fR [ \fIoptions\fR ]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,36 +66,37 @@ jvisualvm \- Javaアプリケーションを視覚的に監視、トラブルシ
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
コマンドライン・オプション。オプションを参照してください。
|
||||
コマンド行オプション。オプションを参照してください。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
Java VisualVMは、指定されたJava仮想マシン(JVM)でJavaテクノロジ・ベースのアプリケーション(Javaアプリケーション)が実行されているときに、そのJavaアプリケーションに関する詳細な情報を提供する直感的なグラフィカル・ユーザー・インタフェースです。Java VisualVMという名前は、Java VisualVMがJVMソフトウェアに関する情報を視覚的に提供するという事実に由来しています。
|
||||
Java VisualVMは、指定されたJava Virtual Machine (JVM)でJavaテクノロジ・ベースのアプリケーション(Javaアプリケーション)が実行されているときに、そのJavaアプリケーションに関する詳細な情報を提供する直感的なグラフィカル・ユーザー・インタフェースです。Java VisualVMという名前は、Java VisualVMがJVMソフトウェアに関する情報を視覚的に提供するという事実に由来しています。
|
||||
.PP
|
||||
Java VisualVMは、いくつかのモニタリング、トラブルシューティングおよびプロファイリング・ユーティリティを1つのツールに統合します。たとえば、スタンドアロン・ツール\fIjmap\fR、\fIjinfo\fR、\fIjstat\fRおよび\fIjstack\fRで提供されている機能のほとんどが、Java VisualVMに組み込まれています。\fIjconsole\fRコマンドによって提供される一部の機能など、他の機能はオプションのプラグインとして追加できます。
|
||||
Java VisualVMは、いくつかのモニタリング、トラブルシューティングおよびプロファイリング・ユーティリティを1つのツールに統合します。たとえば、スタンドアロン・ツール\fBjmap\fR、\fBjinfo\fR、\fBjstat\fRおよび\fBjstack\fRで提供されている機能のほとんどが、Java VisualVMに組み込まれています。\fBjconsole\fRコマンドによって提供される一部の機能など、他の機能はオプションのプラグインとして追加できます。
|
||||
.PP
|
||||
Java VisualVMは、Javaアプリケーションの開発者がアプリケーションのトラブルシューティングを行ったり、アプリケーションのパフォーマンスを監視および改善したりするのに役立ちます。Java VisualVMを使用すると、開発者はヒープ・ダンプの生成および解析、メモリー・リークの特定、ガベージ・コレクションの実行および監視、およびメモリーとCPUの簡易プロファイリングの実行が可能になります。プラグインでJava VisualVMの機能を拡張できます。たとえば、\fIjconsole\fRコマンドのほとんどの機能は、「MBean」タブおよびJConsole Plug\-in Wrapperプラグインを介して使用できます。標準のJava VisualVMプラグインのカタログから選択するには、Java VisualVMメニューの\fB「ツール」\fR、\fB「プラグイン」\fRを選択します。
|
||||
Java VisualVMは、Javaアプリケーションの開発者がアプリケーションのトラブルシューティングを行ったり、アプリケーションのパフォーマンスをモニターおよび改善したりするのに役立ちます。Java VisualVMを使用すると、開発者はヒープ・ダンプの生成および解析、メモリー・リークの特定、ガベージ・コレクションの実行およびモニター、およびメモリーとCPUの簡易プロファイリングの実行が可能になります。プラグインでJava VisualVMの機能を拡張できます。たとえば、\fBjconsole\fRコマンドのほとんどの機能は、「MBean」タブおよびJConsole Plug\-in Wrapperプラグインを介して使用できます。標準のJava VisualVMプラグインのカタログから選択するには、Java VisualVMメニューの\fB「ツール」\fR、\fB「プラグイン」\fRを選択します。
|
||||
.PP
|
||||
Java VisualVMを起動するには、次のコマンドを実行します。
|
||||
Java VisualVMを起動するには、次のコマンドを実行します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
% jvisualvm <options>
|
||||
\fB% jvisualvm <options>\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "オプション"
|
||||
.SH "オプション"
|
||||
.PP
|
||||
次のオプションは、Java VisualVMを起動したときに実行可能になります。
|
||||
次のオプションは、Java VisualVMを起動したときに実行可能になります。
|
||||
.PP
|
||||
\-J\fIjvm_option\fR
|
||||
.RS 4
|
||||
この\fIjvm_option\fRをJVMソフトウェアに渡します。
|
||||
この\fBjvm_option\fRをJVMソフトウェアに渡します。
|
||||
.RE
|
||||
.SH "関連項目"
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
@ -103,7 +106,7 @@ Java VisualVMを起動するには、次のコマンドを実行します。
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
Java VisualVM開発者のサイト
|
||||
Java VisualVM開発者のサイト
|
||||
http://visualvm\&.java\&.net/
|
||||
.RE
|
||||
.sp
|
||||
@ -115,7 +118,7 @@ http://visualvm\&.java\&.net/
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
Java SEドキュメントのJava VisualVM
|
||||
Java SEドキュメントのJava VisualVM
|
||||
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/visualvm/index\&.html)
|
||||
.RE
|
||||
.br
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: orbd
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Java IDLおよびRMI-IIOPツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "orbd" "1" "2013年11月21日" "JDK 8" "Java IDLおよびRMI-IIOPツール"
|
||||
.\" Title: orbd
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Java IDLおよびRMI-IIOPツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "orbd" "1" "2013年11月21日" "JDK 8" "Java IDLおよびRMI-IIOPツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
orbd \- CORBA環境のサーバーにある永続オブジェクトをクライアントから検索して呼び出せるようにします。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
orbd \- CORBA環境のサーバーにある永続オブジェクトをクライアントから検索して呼び出せるようにします。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIorbd\fR [ \fIoptions\fR ]
|
||||
\fBorbd\fR [ \fIoptions\fR ]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,11 +66,11 @@ orbd \- CORBA環境のサーバーにある永続オブジェクトをクライ
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
コマンドライン・オプション。オプションを参照してください。
|
||||
コマンド行オプション。オプションを参照してください。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIorbd\fRコマンドを使用すると、CORBA環境のサーバーにある永続オブジェクトをクライアントから透過的に検索して呼び出すことができます。orbdツールに含まれるサーバー・マネージャを使用すると、クライアントはCORBA環境でサーバー上にある永続オブジェクトを透過的に検索して呼び出すことができます。永続サーバーは、ネーミング・サービスに永続オブジェクト参照を発行する際、サーバーのポート番号のかわりにORBDのポート番号をオブジェクト参照に含めます。永続オブジェクト参照のオブジェクト参照にORBDポート番号を含めることには、次のような利点があります。
|
||||
\fBorbd\fRコマンドを使用すると、CORBA環境のサーバーにある永続オブジェクトをクライアントから透過的に検索して呼び出すことができます。orbdツールに含まれるサーバー・マネージャを使用すると、クライアントはCORBA環境でサーバー上にある永続オブジェクトを透過的に検索して呼び出すことができます。永続サーバーは、ネーミング・サービスに永続オブジェクト参照を発行する際、サーバーのポート番号のかわりにORBDのポート番号をオブジェクト参照に含めます。永続オブジェクト参照のオブジェクト参照にORBDポート番号を含めることには、次のような利点があります。
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
@ -78,7 +80,7 @@ orbd \- CORBA環境のサーバーにある永続オブジェクトをクライ
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
ネーミング・サービスにあるオブジェクト参照が、サーバーのライフ・サイクルと無関係になります。たとえば、オブジェクト参照は、初めてインストールされたときはネーミング・サービスのサーバーによってネーミング・サービスに発行されますが、その後は、サーバーの開始またはシャットダウンの回数にかかわらず、呼び出したクライアントにORBDが正しいオブジェクト参照を返します。
|
||||
ネーミング・サービスにあるオブジェクト参照が、サーバーのライフ・サイクルと無関係になります。たとえば、オブジェクト参照は、初めてインストールされたときはネーミング・サービスのサーバーによってネーミング・サービスに発行されますが、その後は、サーバーの開始またはシャットダウンの回数にかかわらず、呼び出したクライアントにORBDが正しいオブジェクト参照を返します。
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@ -89,166 +91,172 @@ orbd \- CORBA環境のサーバーにある永続オブジェクトをクライ
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
クライアントは一度のみネーミング・サービスのオブジェクト参照をルックアップする必要がありますが、その後はサーバーのライフ・サイクルによる変更とは無関係にこの参照を利用することができます。
|
||||
クライアントは一度のみネーミング・サービスのオブジェクト参照をルックアップする必要がありますが、その後はサーバーのライフ・サイクルによる変更とは無関係にこの参照を利用することができます。
|
||||
.RE
|
||||
.PP
|
||||
ORBDのサーバー・マネージャにアクセスするには、\fIservertool\fRを使用してサーバーを起動する必要があります。servertoolは、アプリケーション・プログラマが、永続サーバーの登録、登録解除、起動および停止を行うためのコマンドライン・インタフェースです。サーバー・マネージャの詳細は、サーバー・マネージャを参照してください。
|
||||
ORBDのサーバー・マネージャにアクセスするには、\fBservertool\fRを使用してサーバーを起動する必要があります。servertoolは、アプリケーション・プログラマが、永続サーバーの登録、登録解除、起動および停止を行うためのコマンド行インタフェースです。サーバー・マネージャの詳細は、サーバー・マネージャを参照してください。
|
||||
.PP
|
||||
\fIorbd\fRを起動すると、ネーミング・サービスも起動されます。ネーミング・サービスの詳細。ネーミング・サービスの起動と停止を参照してください。
|
||||
.SH "オプション"
|
||||
\fBorbd\fRを起動すると、ネーミング・サービスも起動されます。ネーミング・サービスの詳細。ネーミング・サービスの起動と停止を参照してください。
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\-ORBInitialPort \fInameserverport\fR
|
||||
.RS 4
|
||||
必須。ネーム・サーバーを起動するポートの番号を指定します。\fIorbd\fRは、起動されると、このポート上で着信リクエストをリスニングします。Oracle Solarisソフトウェアでは、1024より小さいポートでプロセスを開始する場合、rootユーザーになる必要があります。このため、1024以上のポート番号を使用することをお薦めします。
|
||||
必須。ネーム・サーバーを起動するポートの番号を指定します。\fBorbd\fRは、起動されると、このポート上で着信リクエストをリスニングします。Oracle Solarisソフトウェアでは、1024より小さいポートでプロセスを開始する場合、rootユーザーになる必要があります。このため、1024以上のポート番号を使用することをお薦めします。
|
||||
.RE
|
||||
.SS "必須でないオプション"
|
||||
.SS "必須でないオプション"
|
||||
.PP
|
||||
\-port \fIport\fR
|
||||
.RS 4
|
||||
ORBDを起動するポートを指定します。このポートで、永続オブジェクトに対するリクエストをORBDが受け取ります。このポートのデフォルト値は1049です。このポート番号は、永続Interoperable Object References (IOR)のポート・フィールドに追加されます。
|
||||
ORBDを起動するポートを指定します。このポートで、永続オブジェクトに対するリクエストをORBDが受け取ります。このポートのデフォルト値は1049です。このポート番号は、永続Interoperable Object References (IOR)のポート・フィールドに追加されます。
|
||||
.RE
|
||||
.PP
|
||||
\-defaultdb \fIdirectory\fR
|
||||
.RS 4
|
||||
ORBD永続格納ディレクトリ\fIorb\&.db\fRが作成されるベース・ディレクトリを指定します。このオプションが指定されていない場合、デフォルト値は\fI\&./orb\&.db\fRになります。
|
||||
ORBD永続格納ディレクトリ\fBorb\&.db\fRが作成されるベース・ディレクトリを指定します。このオプションが指定されていない場合、デフォルト値は\fB\&./orb\&.db\fRになります。
|
||||
.RE
|
||||
.PP
|
||||
\-serverPollingTime \fImilliseconds\fR
|
||||
.RS 4
|
||||
\fIservertool\fRを使用して登録された永続サーバーのヘルス状態をORBDがチェックする間隔を指定します。デフォルト値は1000ミリ秒です。\fImilliseconds\fRに指定する値は、有効な正の整数にする必要があります。
|
||||
\fBservertool\fRを使用して登録された永続サーバーが正常に動作していることをORBDが確認する間隔を指定します。デフォルト値は1000ミリ秒です。\fBmilliseconds\fRに指定する値は、有効な正の整数にする必要があります。
|
||||
.RE
|
||||
.PP
|
||||
\-serverStartupDelay milliseconds
|
||||
.RS 4
|
||||
\fIservertool\fRを使用して登録された永続サーバーを再起動してから、位置転送の例外を送信するまでのORBDの待機時間を指定します。デフォルト値は1000ミリ秒です。\fImilliseconds\fRに指定する値は、有効な正の整数にする必要があります。
|
||||
\fBservertool\fRを使用して登録された永続サーバーを再起動してから、位置転送の例外を送信するまでのORBDの待機時間を指定します。デフォルト値は1000ミリ秒です。\fBmilliseconds\fRに指定する値は、有効な正の整数にする必要があります。
|
||||
.RE
|
||||
.PP
|
||||
\-J\fIoption\fR
|
||||
.RS 4
|
||||
Java仮想マシンに\fIoption\fRを渡します。\fIoption\fRには、Javaアプリケーション起動ツールのリファレンス・ページに記載されているオプションを1つ指定します。たとえば、\fI\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。java(1)を参照してください。
|
||||
Java Virtual Machineに\fBoption\fRを渡します。\fBoption\fRには、Javaアプリケーション起動ツールのリファレンス・ページに記載されているオプションを1つ指定します。たとえば、\fB\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。java(1)を参照してください。
|
||||
.RE
|
||||
.SS "ネーミング・サービスの起動と停止"
|
||||
.SS "ネーミング・サービスの起動と停止"
|
||||
.PP
|
||||
ネーミング・サービスは、CORBAオブジェクトにネーミングを可能にするCORBAサービスです。ネーミングは名前をオブジェクト参照にバインドすることにより可能になります。ネーム・バインディングをネーミング・サービスに格納すれば、クライアントが名前を指定して目的のオブジェクト参照を取得できるようになります。
|
||||
ネーミング・サービスは、CORBAオブジェクトにネーミングを可能にするCORBAサービスです。ネーミングは名前をオブジェクト参照にバインドすることにより可能になります。ネーム・バインディングをネーミング・サービスに格納すれば、クライアントが名前を指定して目的のオブジェクト参照を取得できるようになります。
|
||||
.PP
|
||||
クライアントまたはサーバーを実行する前に、ORBDを起動します。ORBDには、永続ネーミング・サービスおよび一時ネーミング・サービスが組み込まれています。これらはどちらもCOSネーミング・サービスの実装です。
|
||||
クライアントまたはサーバーを実行する前に、ORBDを起動します。ORBDには、永続ネーミング・サービスおよび一時ネーミング・サービスが組み込まれています。これらはどちらもCOSネーミング・サービスの実装です。
|
||||
.PP
|
||||
永続ネーミング・サービスは、ネーミング・コンテキストに対して永続性を提供します。つまり、この情報は、サービスの停止や起動後にも維持され、サービスに障害が発生した場合でも回復できます。ORBDを再起動すると、永続ネーミング・サービスはネーミング・コンテキストのグラフを復元し、すべてのクライアントとサーバーの名前のバインディングがそのまま(永続的に)保持されるようにします。
|
||||
永続ネーミング・サービスは、ネーミング・コンテキストに対して永続性を提供します。つまり、この情報は、サービスの停止や起動後にも維持され、サービスに障害が発生した場合でも回復できます。ORBDを再起動すると、永続ネーミング・サービスはネーミング・コンテキストのグラフを復元し、すべてのクライアントとサーバーの名前のバインディングがそのまま(永続的に)保持されるようにします。
|
||||
.PP
|
||||
下位互換性のため、旧リリースのJDKに同梱されていた一時ネーミング・サービス\fItnameserv\fRが、今回のリリースのJava SEにも同梱されています。一時ネーム・サービスでは、ネーム・サービスの実行中にのみネーミング・コンテキストが保持されます。サービスが中断されると、ネーミング・コンテキスト・グラフは失われます。
|
||||
後方互換性のため、旧リリースのJDKに同梱されていた一時ネーミング・サービス\fBtnameserv\fRが、今回のリリースのJava SEにも同梱されています。一時ネーム・サービスでは、ネーム・サービスの実行中にのみネーミング・コンテキストが保持されます。サービスが中断されると、ネーミング・コンテキスト・グラフは失われます。
|
||||
.PP
|
||||
\fI\-ORBInitialPort\fR引数は、\fIorbd\fRの必須のコマンドライン引数で、ネーミング・サービスが実行されるポートの番号を設定するために使用されます。次の手順では、Java IDL Object Request Broker Daemon用にポート1050を使用できることを前提としています。Oracle Solarisソフトウェアを使用する場合、1024より小さいポートでプロセスを開始するには、rootユーザーになる必要があります。このため、1024以上のポート番号を使用することをお薦めします。必要であれば別のポートに変更してください。
|
||||
\fB\-ORBInitialPort\fR引数は、\fBorbd\fRの必須のコマンド行引数で、ネーミング・サービスが実行されるポートの番号を設定するために使用されます。次の手順では、Java IDL Object Request Broker Daemon用にポート1050を使用できることを前提としています。Oracle Solarisソフトウェアを使用する場合、1024より小さいポートでプロセスを開始するには、rootユーザーになる必要があります。このため、1024以上のポート番号を使用することをお薦めします。必要であれば別のポートに変更してください。
|
||||
.PP
|
||||
UNIXコマンド・シェルで\fIorbd\fRを起動するには、次のように入力します。
|
||||
Solaris、LinuxまたはOS Xコマンド・シェルから\fBorbd\fRを開始するには、次のように入力します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
orbd \-ORBInitialPort 1050&
|
||||
\fBorbd \-ORBInitialPort 1050&\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
WindowsのMS\-DOSシステム・プロンプトでは、次のように入力します。
|
||||
WindowsのMS\-DOSシステム・プロンプトでは、次のように入力します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
start orbd \-ORBInitialPort 1050
|
||||
\fBstart orbd \-ORBInitialPort 1050\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
これでORBDが実行され、サーバーとクライアントのアプリケーションを実行できるようになります。クライアントとサーバーのアプリケーションは、実行時に、ネーミング・サービスが実行されているポートの番号(必要な場合はさらにマシン名)を認識している必要があります。これを実現する1つの方法は、次のコードをアプリケーションに追加することです。
|
||||
これでORBDが実行され、サーバーとクライアントのアプリケーションを実行できるようになります。クライアントとサーバーのアプリケーションは、実行時に、ネーミング・サービスが実行されているポートの番号(必要な場合はさらにマシン名)を認識している必要があります。これを実現する1つの方法は、次のコードをアプリケーションに追加することです。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
Properties props = new Properties();
|
||||
props\&.put("org\&.omg\&.CORBA\&.ORBInitialPort", "1050");
|
||||
props\&.put("org\&.omg\&.CORBA\&.ORBInitialHost", "MyHost");
|
||||
ORB orb = ORB\&.init(args, props);
|
||||
\fBProperties props = new Properties();\fR
|
||||
\fBprops\&.put("org\&.omg\&.CORBA\&.ORBInitialPort", "1050");\fR
|
||||
\fBprops\&.put("org\&.omg\&.CORBA\&.ORBInitialHost", "MyHost");\fR
|
||||
\fBORB orb = ORB\&.init(args, props);\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
この例では、ネーミング・サービスは、ホスト\fIMyHost\fRのポート1050上で実行されます。別の方法として、コマンドラインからサーバーまたはクライアントのアプリケーションを実行するときに、ポート番号またはマシン名あるいはその両方を指定する方法もあります。たとえば、次のコマンドライン・オプションを使用して、\fIHelloApplication\fRを起動できます。
|
||||
この例では、ネーミング・サービスは、ホスト\fBMyHost\fRのポート1050上で実行されます。別の方法として、コマンド行からサーバーまたはクライアントのアプリケーションを実行するときに、ポート番号またはマシン名あるいはその両方を指定する方法もあります。たとえば、次のコマンド行オプションを使用して、\fBHelloApplication\fRを起動できます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
java HelloApplication \-ORBInitialPort 1050 \-ORBInitialHost MyHost
|
||||
\fBjava HelloApplication \-ORBInitialPort 1050 \-ORBInitialHost MyHost\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
ネーミング・サービスを停止するには、適切なオペレーティング・システム・コマンドを使用します。たとえば、Oracle Solaris上で\fIpkill\fR
|
||||
\fIorbd\fRを実行したり、\fIorbd\fRが動作中のDOSウィンドウで\fB[Ctrl]+[C]\fRキーを押します。一時ネーミング・サービスの場合は、サービスが終了されると、ネーミング・サービスに登録された名前が消去される場合があります。Java IDLネーム・サービスは、明示的に停止されるまで実行されます。
|
||||
ネーミング・サービスを停止するには、適切なオペレーティング・システム・コマンドを使用します。たとえば、Oracle Solaris上で\fBpkill\fR
|
||||
\fBorbd\fRを実行したり、\fBorbd\fRが動作中のDOSウィンドウで\fB[Ctrl]+[C]\fRキーを押します。一時ネーミング・サービスの場合は、サービスが終了されると、ネーミング・サービスに登録された名前が消去される場合があります。Java IDLネーム・サービスは、明示的に停止されるまで実行されます。
|
||||
.PP
|
||||
ORBDに付属するネーミング・サービスの詳細は、
|
||||
http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/jidlNaming\&.htmlの「Naming Service」を参照してください
|
||||
.SH "サーバー・マネージャ"
|
||||
ORBDに付属するネーミング・サービスの詳細は、
|
||||
http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/jidlNaming\&.htmlの「Naming Service」を参照してください
|
||||
.SH "サーバー・マネージャ"
|
||||
.PP
|
||||
ORBDのサーバー・マネージャにアクセスして、永続サーバーを実行するには、\fIservertool\fRを使用してサーバーを起動する必要があります。servertoolは、アプリケーション・プログラマが、永続サーバーの登録、登録解除、起動および停止を行うためのコマンドライン・インタフェースです。\fIservertool\fRを使用してサーバーを起動する場合は、\fIorbd\fRが実行されている場所と同じポートとホストで起動する必要があります。サーバーを異なるポートで実行すると、ローカル・コンテキスト用にデータベースに保存されている情報が無効になり、サービスが正しく動作しません。
|
||||
ORBDのサーバー・マネージャにアクセスして、永続サーバーを実行するには、\fBservertool\fRを使用してサーバーを起動する必要があります。servertoolは、アプリケーション・プログラマが、永続サーバーの登録、登録解除、起動および停止を行うためのコマンド行インタフェースです。\fBservertool\fRを使用してサーバーを起動する場合は、\fBorbd\fRが実行されている場所と同じポートとホストで起動する必要があります。サーバーを異なるポートで実行すると、ローカル・コンテキスト用にデータベースに保存されている情報が無効になり、サービスが正しく動作しません。
|
||||
.PP
|
||||
http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/jidlExample\&.htmlの
|
||||
「Java IDL: The "Hello World" Example」を参照してください
|
||||
http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/jidlExample\&.htmlの
|
||||
「Java IDL: The "Hello World" Example」を参照してください
|
||||
.PP
|
||||
この例では、チュートリアルの手順に従って\fIidlj\fRコンパイラと\fIjavac\fRコンパイラを実行します。ORBDのサーバー・マネージャを実行するには、次の手順に従ってアプリケーションを実行します。
|
||||
この例では、チュートリアルの手順に従って\fBidlj\fRコンパイラと\fBjavac\fRコンパイラを実行します。ORBDのサーバー・マネージャを実行するには、次の手順に従ってアプリケーションを実行します。
|
||||
.PP
|
||||
\fIorbd\fRを起動します。
|
||||
\fBorbd\fRを起動します。
|
||||
.PP
|
||||
UNIXコマンド・シェルで次のように入力します:
|
||||
\fIorbd \-ORBInitialPort 1050\fR。
|
||||
Solaris、LinuxまたはOS Xコマンド・シェルで、次のように入力します:
|
||||
\fBorbd \-ORBInitialPort 1050\fR
|
||||
.PP
|
||||
MS\-DOSシステム・プロンプト(Windows)で次のように入力します:
|
||||
\fIs\fR\fItart orbd \-ORBInitialPort 105\fR\fI0\fR
|
||||
MS\-DOSシステム・プロンプト(Windows)で次のように入力します:
|
||||
\fBs\fR\fBtart orbd \-ORBInitialPort 105\fR\fB0\fR
|
||||
.PP
|
||||
ポート1050はネーム・サーバーを実行するポートです。\fI\-ORBInitialPort\fRオプションは必須コマンドライン引数です。Oracle Solarisソフトウェアを使用する場合、1024より小さいポートでプロセスを開始するには、rootユーザーになる必要があります。このため、1024以上のポート番号を使用することをお薦めします。
|
||||
ポート1050はネーム・サーバーを実行するポートです。\fB\-ORBInitialPort\fRオプションは必須コマンド行引数です。Oracle Solarisソフトウェアを使用する場合、1024より小さいポートでプロセスを開始するには、rootユーザーになる必要があります。このため、1024以上のポート番号を使用することをお薦めします。
|
||||
.PP
|
||||
\fIservertool\fRを起動します:
|
||||
\fIservertool \-ORBInitialPort 1050\fR。
|
||||
\fBservertool\fRを起動します:
|
||||
\fBservertool \-ORBInitialPort 1050\fR。
|
||||
.PP
|
||||
前回の手順とネーム・サーバー(\fIorbd\fR)のポートが同じであることを確認します。たとえば\fI\-ORBInitialPort 1050\&.\fRのようになります。\fIservertool\fRは、ネーム・サーバーと同じポート上で起動する必要があります。
|
||||
前回の手順とネーム・サーバー(\fBorbd\fR)のポートが同じであることを確認します。たとえば\fB\-ORBInitialPort 1050\&.\fRのようになります。\fBservertool\fRは、ネーム・サーバーと同じポート上で起動する必要があります。
|
||||
.PP
|
||||
\fIservertool\fRコマンドライン・インタフェースで、\fIservertool\fRプロンプトから\fIHello\fRサーバーを起動します。
|
||||
\fBservertool\fRコマンド行インタフェースで、\fBservertool\fRプロンプトから\fBHello\fRサーバーを起動します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
servertool > register \-server HelloServer \-classpath \&. \-applicationName
|
||||
HelloServerApName
|
||||
\fBservertool > register \-server HelloServer \-classpath \&. \-applicationName\fR
|
||||
\fB HelloServerApName\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fIservertool\fRによってサーバーが登録されて、\fIHelloServerApName\fRという名前がサーバーに割り当てられ、登録されているすべてのサーバー一覧とともにサーバーIDが表示されます。他の端末ウィンドウまたはプロンプトからクライアント・アプリケーションを実行します。
|
||||
\fBservertool\fRによってサーバーが登録されて、\fBHelloServerApName\fRという名前がサーバーに割り当てられ、登録されているすべてのサーバー一覧とともにサーバーIDが表示されます。他の端末ウィンドウまたはプロンプトからクライアント・アプリケーションを実行します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
java HelloClient \-ORBInitialPort 1050 \-ORBInitialHost localhost
|
||||
\fBjava HelloClient \-ORBInitialPort 1050 \-ORBInitialHost localhost\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
この例の\fI\-ORBInitialHost localhost\fRは省略することができます。ネーム・サーバーが\fIHello\fRクライアントとして同一ホスト上で動作しているからです。ネーム・サーバーが別のホストで実行されている場合は、\-\fIORBInitialHost nameserverhost\fRオプションを使用してIDLネーム・サーバーが実行されているホストを指定します。前の手順で行われたとおりにネーム・サーバー(\fIorbd\fR)ポートを指定します(例:
|
||||
\fI\-ORBInitialPort 1050\fR)。ORBDのサーバー・マネージャの操作が終了したら、ネーム・サーバー(\fIorbd\fR)と\fIservertool\fRを停止するか終了してください。MS\-DOSプロンプトで\fIorbd\fRをシャットダウンするには、サーバーを実行しているウィンドウを選択して\fB[Ctrl]+[C]\fRキーを押します。
|
||||
この例の\fB\-ORBInitialHost localhost\fRは省略することができます。ネーム・サーバーが\fBHello\fRクライアントとして同一ホスト上で動作しているからです。ネーム・サーバーが別のホストで実行されている場合は、\-\fBORBInitialHost nameserverhost\fRオプションを使用してIDLネーム・サーバーが実行されているホストを指定します。前の手順で行われたとおりにネーム・サーバー(\fBorbd\fR)ポートを指定します(例:
|
||||
\fB\-ORBInitialPort 1050\fR)。ORBDのサーバー・マネージャの操作が終了したら、ネーム・サーバー(\fBorbd\fR)と\fBservertool\fRを停止するか終了してください。MS\-DOSプロンプトで\fBorbd\fRをシャットダウンするには、サーバーを実行しているウィンドウを選択して\fB[Ctrl]+[C]\fRキーを押します。
|
||||
.PP
|
||||
Oracle Solarisから\fIorbd\fRをシャットダウンするには、プロセスを検索して、\fIkill\fRコマンドで終了します。サーバーを明示的に停止するまでは、呼出し待機状態が続きます。\fIservertool\fRをシャットダウンするには、\fBquit\fRと入力してキーボードの\fB[Enter]\fRキーを押します。
|
||||
.SH "関連項目"
|
||||
Oracle Solarisから\fBorbd\fRをシャットダウンするには、プロセスを検索して、\fBkill\fRコマンドで終了します。サーバーを明示的に停止するまでは、呼出し待機状態が続きます。\fBservertool\fRをシャットダウンするには、\fBquit\fRと入力してキーボードの\fB[Enter]\fRキーを押します。
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
@ -269,8 +277,8 @@ servertool(1)
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/jidlNaming\&.htmlの
|
||||
「Naming Service」
|
||||
http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/jidlNaming\&.htmlの
|
||||
「Naming Service」
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: pack200
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Javaデプロイメント・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "pack200" "1" "2013年11月21日" "JDK 8" "Javaデプロイメント・ツール"
|
||||
.\" Title: pack200
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Javaデプロイメント・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "pack200" "1" "2013年11月21日" "JDK 8" "Javaデプロイメント・ツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,245 +50,291 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
pack200 \- WebデプロイメントのためにJARファイルをpack200圧縮ファイルにパッケージします。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
pack200 \- WebデプロイメントのためにJARファイルをpack200圧縮ファイルにパッケージします。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIpack200\fR [\fIoptions\fR] \fIoutput\-file\fR \fIJAR\-file\fR
|
||||
\fBpack200\fR [\fIoptions\fR] \fIoutput\-file\fR \fIJAR\-file\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
オプションは任意の順序で指定できます。コマンドラインまたはpropertiesファイルに指定された最後のオプションが、それ以前に指定されたすべてのオプションより優先されます。
|
||||
オプションは任意の順序で指定できます。コマンド行またはpropertiesファイルに指定された最後のオプションが、それ以前に指定されたすべてのオプションより優先されます。
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
コマンドライン・オプション。オプションを参照してください。
|
||||
コマンド行オプション。オプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIoutput\-file\fR
|
||||
.RS 4
|
||||
出力ファイルの名前。
|
||||
出力ファイルの名前。
|
||||
.RE
|
||||
.PP
|
||||
\fIJAR\-file\fR
|
||||
.RS 4
|
||||
入力ファイルの名前。
|
||||
入力ファイルの名前。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIpack200\fRコマンドは、Java gzipコンプレッサを使用してJARファイルをpack200圧縮ファイルに変換するJavaアプリケーションです。pack200ファイルは高圧縮のファイルで、直接デプロイでき、帯域幅の節約やダウンロード時間の短縮が可能です。
|
||||
\fBpack200\fRコマンドは、Java gzipコンプレッサを使用してJARファイルをpack200圧縮ファイルに変換するJavaアプリケーションです。pack200ファイルは高圧縮のファイルで、直接デプロイでき、帯域幅の節約やダウンロード時間の短縮が可能です。
|
||||
.PP
|
||||
\fIpack200\fRコマンドには、圧縮エンジンの設定や微調整を行うオプションがあります。一般的な使用方法を次の例に示します。\fImyarchive\&.pack\&.gz\fRがデフォルトの\fIpack200\fRコマンド設定で作成されます。
|
||||
\fBpack200\fRコマンドには、圧縮エンジンの設定や微調整を行うオプションがあります。一般的な使用方法を次の例に示します。\fBmyarchive\&.pack\&.gz\fRがデフォルトの\fBpack200\fRコマンド設定で作成されます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
pack200 myarchive\&.pack\&.gz myarchive\&.jar
|
||||
\fBpack200 myarchive\&.pack\&.gz myarchive\&.jar\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "オプション"
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\-r, \-\-repack
|
||||
\-r
|
||||
.br
|
||||
\-\-repack
|
||||
.RS 4
|
||||
JARファイルをパックした後アンパックして、JARファイルを生成します。生成されたファイルは\fIjarsigner\fR(1)ツールの入力ファイルとして使用できます。次の例では、myarchive\&.jarファイルをパックした後、アンパックします。
|
||||
JARファイルをパックした後アンパックして、JARファイルを生成します。生成されたファイルは\fBjarsigner\fR(1)ツールの入力ファイルとして使用できます。次の例では、myarchive\&.jarファイルをパックした後、アンパックします。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
pack200 \-\-repack myarchive\-packer\&.jar myarchive\&.jar
|
||||
pack200 \-\-repack myarchive\&.jar
|
||||
\fBpack200 \-\-repack myarchive\-packer\&.jar myarchive\&.jar\fR
|
||||
\fBpack200 \-\-repack myarchive\&.jar\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
次の例では、入力ファイル内のファイルの順序を保持します。
|
||||
次の例では、入力ファイル内のファイルの順序を保持します。
|
||||
.RE
|
||||
.PP
|
||||
\-g, \-\-no\-gzip
|
||||
\-g
|
||||
.br
|
||||
\-\-no\-gzip
|
||||
.RS 4
|
||||
\fIpack200\fRファイルを生成します。このオプションを指定するときは、適切な圧縮ツールを使用する必要があります。また、ターゲット・システムでは、対応する圧縮解除ツールを使用する必要があります。
|
||||
\fBpack200\fRファイルを生成します。このオプションを指定するときは、適切な圧縮ツールを使用する必要があります。また、ターゲット・システムでは、対応する圧縮解除ツールを使用する必要があります。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
pack200 \-\-no\-gzip myarchive\&.pack myarchive\&.jar
|
||||
\fBpack200 \-\-no\-gzip myarchive\&.pack myarchive\&.jar\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.RE
|
||||
.PP
|
||||
\-G, \-\-strip\-debug
|
||||
\-G
|
||||
.br
|
||||
\-\-strip\-debug
|
||||
.RS 4
|
||||
出力からデバッグ属性を削除します。これには、\fISourceFile\fR、\fILineNumberTable\fR、\fILocalVariableTable\fR、\fILocalVariableTypeTable\fRが含まれます。これらの属性を削除すれば、ダウンロードとインストールのサイズは小さくなりますが、デバッガの機能は制限されます。
|
||||
出力からデバッグ属性を削除します。これには、\fBSourceFile\fR、\fBLineNumberTable\fR、\fBLocalVariableTable\fR、\fBLocalVariableTypeTable\fRが含まれます。これらの属性を削除すれば、ダウンロードとインストールのサイズは小さくなりますが、デバッガの機能は制限されます。
|
||||
.RE
|
||||
.PP
|
||||
\-\-keep\-file\-order
|
||||
.RS 4
|
||||
入力ファイル内のファイルの順序を保持します。これは、デフォルトの動作です。
|
||||
入力ファイル内のファイルの順序を保持します。これは、デフォルトの動作です。
|
||||
.RE
|
||||
.PP
|
||||
\-O, \-\-no\-keep\-file\-order
|
||||
\-O
|
||||
.br
|
||||
\-\-no\-keep\-file\-order
|
||||
.RS 4
|
||||
パック・ツールは、すべての要素を並べ替えて送信します。パック・ツールは、JARディレクトリ名を削除してダウンロード・サイズを削減することもできます。ただし、インデックスなど、特定のJARファイルの最適化機能が正常に動作しなくなることがあります。
|
||||
パック・ツールは、すべての要素を並べ替えて送信します。パック・ツールは、JARディレクトリ名を削除してダウンロード・サイズを削減することもできます。ただし、インデックスなど、特定のJARファイルの最適化機能が正常に動作しなくなることがあります。
|
||||
.RE
|
||||
.PP
|
||||
\-S\fIvalue\fR, \-\-segment\-limit=\fIvalue\fR
|
||||
\-S\fIvalue\fR
|
||||
.br
|
||||
\-\-segment\-limit=\fIvalue\fR
|
||||
.RS 4
|
||||
この値は、各アーカイブ・セグメントの予想ターゲット・サイズ\fIN\fR
|
||||
(バイト単位)です。単一の入力ファイルの必要サイズが\fIN\fRバイトを超えると、独立したセグメントが割り当てられます。特殊なケースとして、値が\fI\-1\fRの場合は、すべての入力ファイルを含む大きな単一のセグメントが生成され、値が0の場合は、クラスごとにセグメントが1つずつ生成されます。アーカイブ・セグメントが大きくなると、断片化が少なくなり圧縮率が高くなりますが、その処理には多くのメモリーが必要です。
|
||||
この値は、各アーカイブ・セグメントの予想ターゲット・サイズ\fIN\fR
|
||||
(バイト単位)です。単一の入力ファイルの必要サイズが\fIN\fRバイトを超えると、固有のアーカイブ・セグメントが提供されます。特殊なケースとして、値が\fB\-1\fRの場合は、すべての入力ファイルを含む大きな単一のセグメントが生成され、値が0の場合は、クラスごとにセグメントが1つずつ生成されます。アーカイブ・セグメントが大きくなると、断片化が少なくなり圧縮率が高くなりますが、その処理には多くのメモリーが必要です。
|
||||
.sp
|
||||
各セグメントのサイズは、セグメントに変換されるそれぞれの入力ファイルのサイズのほか、その名前と他の送信されるプロパティのサイズを計算して推測されます。
|
||||
各セグメントのサイズは、セグメントに変換されるそれぞれの入力ファイルのサイズのほか、その名前と他の送信されるプロパティのサイズを計算して推測されます。
|
||||
.sp
|
||||
デフォルトは\-1です。つまり、パック・ツールは単一のセグメント出力ファイルを作成します。極端に大きな出力ファイルが生成される場合には、入力ファイルをセグメント化(分割)してより小さなJARにすることを強くお薦めします。
|
||||
デフォルトは\-1です。つまり、パック・ツールは単一のセグメント出力ファイルを作成します。極端に大きな出力ファイルが生成される場合には、入力ファイルをセグメント化(分割)してより小さなJARにすることを強くお薦めします。
|
||||
.sp
|
||||
この制限が課されていない10 MBのJARパック・ファイルは通常、約10%小さくパックされます。しかし、パック・ツールでより大きなJavaヒープ(セグメントの制限の約10倍)を必要とする場合もあります。
|
||||
この制限が課されていない10 MBのJARパック・ファイルは通常、約10%小さくパックされます。しかし、パック・ツールでより大きなJavaヒープ(セグメントの制限の約10倍)を必要とする場合もあります。
|
||||
.RE
|
||||
.PP
|
||||
\-E\fIvalue\fR, \-\-effort=\fIvalue\fR
|
||||
\-E\fIvalue\fR
|
||||
.br
|
||||
\-\-effort=\fIvalue\fR
|
||||
.RS 4
|
||||
単一の10進数値を指定した場合、パック・ツールは、指定された圧縮率でアーカイブを圧縮します。レベル1の場合は、比較的短い圧縮時間で多少大きめのファイルが生成されますが、レベル9の場合は、非常に長い時間がかかるものの、より圧縮率の高いファイルが生成されます。特殊な値0を指定した場合は、\fIpack200\fRコマンドは元のJARファイルを圧縮なしで直接コピーします。JSR 200標準では、すべての解凍プログラムが、この特別な場合をアーカイブ全体のパススルーと解釈するように規定しています。
|
||||
単一の10進数値を指定した場合、パック・ツールは、指定された圧縮率でアーカイブを圧縮します。レベル1の場合は、比較的短い圧縮時間で多少大きめのファイルが生成されますが、レベル9の場合は、非常に長い時間がかかるものの、より圧縮率の高いファイルが生成されます。特殊な値0を指定した場合は、\fBpack200\fRコマンドは元のJARファイルを圧縮なしで直接コピーします。JSR 200標準では、すべての解凍プログラムが、この特別な場合をアーカイブ全体のパススルーと解釈するように規定しています。
|
||||
.sp
|
||||
デフォルトは5です。この場合、標準的な時間で適切な圧縮が行われます。
|
||||
デフォルトは5です。この場合、標準的な時間で適切な圧縮が行われます。
|
||||
.RE
|
||||
.PP
|
||||
\-H\fIvalue\fR, \-\-deflate\-hint=\fIvalue\fR
|
||||
\-H\fIvalue\fR
|
||||
.br
|
||||
\-\-deflate\-hint=\fIvalue\fR
|
||||
.RS 4
|
||||
入力情報を保存するというデフォルト値をオーバーライドします。転送されるアーカイブのサイズは大きくなる場合があります。指定可能な値は、\fItrue\fR、\fIfalse\fRまたは\fIkeep\fRです。
|
||||
入力情報を保存するというデフォルト値をオーバーライドします。転送されるアーカイブのサイズは大きくなる場合があります。指定可能な値は、\fBtrue\fR、\fBfalse\fRまたは\fBkeep\fRです。
|
||||
.sp
|
||||
\fIvalue\fRが\fItrue\fRまたはfalseの場合、\fIpacker200\fRコマンドは指定に従ってデフレーション・ヒントを出力アーカイブに設定します。アーカイブ要素の個々のデフレーション・ヒントは転送されません。
|
||||
\fBvalue\fRが\fBtrue\fRまたはfalseの場合、\fBpacker200\fRコマンドは指定に従ってデフレーション・ヒントを出力アーカイブに設定します。アーカイブ要素の個々のデフレーション・ヒントは転送されません。
|
||||
.sp
|
||||
\fIkeep\fR値は、入力JARで確認されたデフレーション・ヒントを保持します。これがデフォルトです。
|
||||
\fBkeep\fR値は、入力JARで確認されたデフレーション・ヒントを保持します。これがデフォルトです。
|
||||
.RE
|
||||
.PP
|
||||
\-m\fIvalue\fR, \-\-modification\-time=\fIvalue\fR
|
||||
\-m\fIvalue\fR
|
||||
.br
|
||||
\-\-modification\-time=\fIvalue\fR
|
||||
.RS 4
|
||||
指定可能な値は\fIlatest\fRと\fIkeep\fRです。
|
||||
指定可能な値は\fBlatest\fRと\fBkeep\fRです。
|
||||
.sp
|
||||
値が最新の場合、パック・ツールは、元のアーカイブの使用可能なすべてのエントリのうちの最終更新時刻か、そのセグメントの使用可能なすべてのエントリの最終更新時刻を特定しようとします。この単一の値はセグメントの一部として転送され、各セグメントの全エントリに適用されます。この場合、すべてのインストール・ファイルに単一の日付が設定されるという問題はありますが、アーカイブの転送サイズを少し小さくすることができます。
|
||||
値が最新の場合、パック・ツールは、元のアーカイブの使用可能なすべてのエントリのうちの最終更新時刻か、そのセグメントの使用可能なすべてのエントリの最終更新時刻を特定しようとします。この単一の値はセグメントの一部として転送され、各セグメントの全エントリに適用されます。この場合、すべてのインストール・ファイルに単一の日付が設定されるという問題はありますが、アーカイブの転送サイズを少し小さくすることができます。
|
||||
.sp
|
||||
値が\fIkeep\fRの場合、入力JARで確認された変更時間が保持されます。これがデフォルトです。
|
||||
値が\fBkeep\fRの場合、入力JARで確認された変更時間が保持されます。これがデフォルトです。
|
||||
.RE
|
||||
.PP
|
||||
\-P\fIfile\fR, \-\-pass\-file=\fIfile\fR
|
||||
\-P\fIfile\fR
|
||||
.br
|
||||
\-\-pass\-file=\fIfile\fR
|
||||
.RS 4
|
||||
ファイルを圧縮せず、バイト単位で転送するように指定します。このオプションを繰返し使用して、複数のファイルを指定できます。システム・ファイル・セパレータがJARファイル・セパレータのスラッシュ(/)に置き換えられる点を除き、パス名の変換は行われません。結果として得られるファイル名は、文字列として正確にJARファイルでの出現と一致している必要があります。\fIfile\fRにディレクトリ名を指定した場合、そのディレクトリ内のすべてのファイルが転送されます。
|
||||
ファイルを圧縮せず、バイト単位で転送するように指定します。このオプションを繰返し使用して、複数のファイルを指定できます。システム・ファイル・セパレータがJARファイル・セパレータのスラッシュ(/)に置き換えられる点を除き、パス名の変換は行われません。結果として得られるファイル名は、文字列として正確にJARファイルでの出現と一致している必要があります。\fBfile\fRにディレクトリ名を指定した場合、そのディレクトリ内のすべてのファイルが転送されます。
|
||||
.RE
|
||||
.PP
|
||||
\-U\fIaction\fR, \-\-unknown\-attribute=\fIaction\fR
|
||||
\-U\fIaction\fR
|
||||
.br
|
||||
\-\-unknown\-attribute=\fIaction\fR
|
||||
.RS 4
|
||||
デフォルトの動作をオーバーライドします。つまり、不明な属性を含むクラス・ファイルが、指定した\fIaction\fRによって渡されます。アクションとして指定可能な値は、\fIerror\fR、\fIstrip\fRまたは\fIpass\fRです。
|
||||
デフォルトの動作をオーバーライドします。つまり、不明な属性を含むクラス・ファイルが、指定した\fBaction\fRによって渡されます。アクションとして指定可能な値は、\fBerror\fR、\fBstrip\fRまたは\fBpass\fRです。
|
||||
.sp
|
||||
値が\fIerror\fRの場合、\fIpack200\fRコマンド操作全体が失敗して適切な説明が表示されます。
|
||||
値が\fBerror\fRの場合、\fBpack200\fRコマンド操作全体が失敗して適切な説明が表示されます。
|
||||
.sp
|
||||
値が\fIstrip\fRの場合、属性は削除されます。Java仮想マシン(JVM)必須属性を削除すると、クラス・ローダーの障害が発生することがあります。
|
||||
値が\fBstrip\fRの場合、属性は削除されます。Java Virtual Machine (JVM)必須属性を削除すると、クラス・ローダーの障害が発生することがあります。
|
||||
.sp
|
||||
値が\fIpass\fRの場合、クラス全体が1つのリソースとして転送されます。
|
||||
値が\fBpass\fRの場合、クラス全体が1つのリソースとして転送されます。
|
||||
.RE
|
||||
.PP
|
||||
\-C\fIattribute\-name\fR=\fIlayout\fR, \-\-class\-attribute=\fIattribute\-name\fR=\fIaction\fR
|
||||
\-C\fIattribute\-name\fR=\fIlayout\fR
|
||||
.br
|
||||
\-\-class\-attribute=\fIattribute\-name\fR=\fIaction\fR
|
||||
.RS 4
|
||||
次のオプションを参照してください。
|
||||
次のオプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\-F\fIattribute\-name\fR=\fIlayout\fR, \-\-field\-attribute=\fIattribute\-name\fR=\fIaction\fR
|
||||
\-F\fIattribute\-name\fR=\fIlayout\fR
|
||||
.br
|
||||
\-\-field\-attribute=\fIattribute\-name\fR=\fIaction\fR
|
||||
.RS 4
|
||||
次のオプションを参照してください。
|
||||
次のオプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\-M\fIattribute\-name\fR=\fIlayout\fR, \-\-method\-attribute=\fIattribute\-name\fR=\fIaction\fR
|
||||
\-M\fIattribute\-name\fR=\fIlayout\fR
|
||||
.br
|
||||
\-\-method\-attribute=\fIattribute\-name\fR=\fIaction\fR
|
||||
.RS 4
|
||||
次のオプションを参照してください。
|
||||
次のオプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\-D\fIattribute\-name\fR=\fIlayout\fR, \-\-code\-attribute=\fIattribute\-name\fR=\fIaction\fR
|
||||
\-D\fIattribute\-name\fR=\fIlayout\fR
|
||||
.br
|
||||
\-\-code\-attribute=\fIattribute\-name\fR=\fIaction\fR
|
||||
.RS 4
|
||||
前述の4つのオプションでは、クラス・エンティティに\fIclass\-attribute\fR、\fIfield\-attribute\fR、\fImethod\-attribute\fRおよび\fIcode\-attribute\fRなどの属性のレイアウトを指定できます。\fIattribute\-name\fRには、これからレイアウトまたはアクションを定義する属性の名前を指定します。\fIaction\fRとして指定可能な値は、\fIsome\-layout\-string\fR、\fIerror\fR、\fIstrip\fR、\fIpass\fRです。
|
||||
前述の4つのオプションでは、クラス・エンティティに\fBclass\-attribute\fR、\fBfield\-attribute\fR、\fBmethod\-attribute\fRおよび\fBcode\-attribute\fRなどの属性のレイアウトを指定できます。\fIattribute\-name\fRには、これからレイアウトまたはアクションを定義する属性の名前を指定します。\fIaction\fRとして指定可能な値は、\fBsome\-layout\-string\fR、\fBerror\fR、\fBstrip\fR、\fBpass\fRです。
|
||||
.sp
|
||||
\fIsome\-layout\-string\fR: レイアウト言語はJSR 200仕様で定義されています。例:
|
||||
\fI\-\-class\-attribute=SourceFile=RUH\fR。
|
||||
\fBsome\-layout\-string\fR: レイアウト言語はJSR 200仕様で定義されています。例:
|
||||
\fB\-\-class\-attribute=SourceFile=RUH\fR。
|
||||
.sp
|
||||
値が\fIerror\fRの場合、\fIpack200\fR操作が失敗して説明が表示されます。
|
||||
値が\fBerror\fRの場合、\fBpack200\fR操作が失敗して説明が表示されます。
|
||||
.sp
|
||||
値が\fIstrip\fRの場合、属性が出力から削除されます。VM必須属性を削除するとクラス・ローダーの障害が発生することがあります。たとえば、\fI\-\-class\-attribute=CompilationID=pass\fRというこの属性を含むクラス・ファイルを転送します。パック・ツールは、その他のアクションを行いません。
|
||||
値が\fBstrip\fRの場合、属性が出力から削除されます。VM必須属性を削除するとクラス・ローダーの障害が発生することがあります。たとえば、\fB\-\-class\-attribute=CompilationID=pass\fRというこの属性を含むクラス・ファイルを転送します。パック・ツールは、その他のアクションを行いません。
|
||||
.sp
|
||||
値が\fIpass\fRの場合、クラス全体が1つのリソースとして転送されます。
|
||||
値が\fBpass\fRの場合、クラス全体が1つのリソースとして転送されます。
|
||||
.RE
|
||||
.PP
|
||||
\-f \fIpack\&.properties\fR, \-\-config\-file=\fIpack\&.properties\fR
|
||||
\-f \fIpack\&.properties\fR
|
||||
.br
|
||||
\-\-config\-file=\fIpack\&.properties\fR
|
||||
.RS 4
|
||||
コマンドラインに、パック・ツールを初期化するためのJavaプロパティが含まれている構成ファイルを指定できます。
|
||||
コマンド行に、パック・ツールを初期化するためのJavaプロパティが含まれている構成ファイルを指定できます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
pack200 \-f pack\&.properties myarchive\&.pack\&.gz myarchive\&.jar
|
||||
more pack\&.properties
|
||||
# Generic properties for the packer\&.
|
||||
modification\&.time=latest
|
||||
deflate\&.hint=false
|
||||
keep\&.file\&.order=false
|
||||
# This option will cause the files bearing new attributes to
|
||||
# be reported as an error rather than passed uncompressed\&.
|
||||
unknown\&.attribute=error
|
||||
# Change the segment limit to be unlimited\&.
|
||||
segment\&.limit=\-1
|
||||
\fBpack200 \-f pack\&.properties myarchive\&.pack\&.gz myarchive\&.jar\fR
|
||||
\fBmore pack\&.properties\fR
|
||||
\fB# Generic properties for the packer\&.\fR
|
||||
\fBmodification\&.time=latest\fR
|
||||
\fBdeflate\&.hint=false\fR
|
||||
\fBkeep\&.file\&.order=false\fR
|
||||
\fB# This option will cause the files bearing new attributes to\fR
|
||||
\fB# be reported as an error rather than passed uncompressed\&.\fR
|
||||
\fBunknown\&.attribute=error\fR
|
||||
\fB# Change the segment limit to be unlimited\&.\fR
|
||||
\fBsegment\&.limit=\-1\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.RE
|
||||
.PP
|
||||
\-v, \-\-verbose
|
||||
\-v
|
||||
.br
|
||||
\-\-verbose
|
||||
.RS 4
|
||||
最小限のメッセージを出力します。このオプションを複数指定すると、より長いメッセージが作成されます。
|
||||
最小限のメッセージを出力します。このオプションを複数指定すると、より長いメッセージが作成されます。
|
||||
.RE
|
||||
.PP
|
||||
\-q, \-\-quiet
|
||||
\-q
|
||||
.br
|
||||
\-\-quiet
|
||||
.RS 4
|
||||
メッセージを表示せずに動作するように指定します。
|
||||
メッセージを表示せずに動作するように指定します。
|
||||
.RE
|
||||
.PP
|
||||
\-l\fIfilename\fR, \-\-log\-file=\fIfilename\fR
|
||||
\-l\fIfilename\fR
|
||||
.br
|
||||
\-\-log\-file=\fIfilename\fR
|
||||
.RS 4
|
||||
出力メッセージのログ・ファイルを指定します。
|
||||
出力メッセージのログ・ファイルを指定します。
|
||||
.RE
|
||||
.PP
|
||||
\-?, \-h, \-\-help
|
||||
\-?
|
||||
.br
|
||||
\-h
|
||||
.br
|
||||
\-\-help
|
||||
.RS 4
|
||||
このコマンドに関するヘルプ情報を出力します。
|
||||
このコマンドに関するヘルプ情報を出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-V, \-\-version
|
||||
\-V
|
||||
.br
|
||||
\-\-version
|
||||
.RS 4
|
||||
このコマンドに関するバージョン情報を出力します。
|
||||
このコマンドに関するバージョン情報を出力します。
|
||||
.RE
|
||||
.PP
|
||||
\-J\fIoption\fR
|
||||
.RS 4
|
||||
指定されたオプションをJava仮想マシンに渡します。詳細は、java(1)コマンドのリファレンス・ページを参照してください。たとえば、\fI\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。
|
||||
指定されたオプションをJava Virtual Machineに渡します。詳細は、java(1)コマンドのリファレンス・ページを参照してください。たとえば、\fB\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。
|
||||
.RE
|
||||
.SH "終了ステータス"
|
||||
.SH "終了ステータス"
|
||||
.PP
|
||||
次の終了値が返されます: 正常終了の場合は0、エラーが発生した場合は0より大きい値。
|
||||
.SH "注意"
|
||||
次の終了値が返されます: 正常終了の場合は0、エラーが発生した場合は0より大きい値。
|
||||
.SH "注意"
|
||||
.PP
|
||||
このコマンドと\fIpack\fR(1)を混同しないでください。\fIpack\fRおよび\fIpack200\fRコマンドは、別々の製品です。
|
||||
このコマンドと\fBpack\fR(1)を混同しないでください。\fBpack\fRおよび\fBpack200\fRコマンドは、別々の製品です。
|
||||
.PP
|
||||
JDKに付属するJava SE API仕様との相違が見つかった場合には、仕様を優先してください。
|
||||
.SH "関連項目"
|
||||
JDKに付属するJava SE API仕様との相違が見つかった場合には、仕様を優先してください。
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: policytool
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: セキュリティ・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "policytool" "1" "2013年11月21日" "JDK 8" "セキュリティ・ツール"
|
||||
.\" Title: policytool
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2015年3月3日
|
||||
.\" SectDesc: セキュリティ・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "policytool" "1" "2015年3月3日" "JDK 8" "セキュリティ・ツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
policytool \- ユーティリティGUI経由で取得したユーザー入力に基づいて、プレーン・テキストのポリシー・ファイルを読み書きします。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
policytool \- ユーティリティGUI経由で取得したユーザー入力に基づいて、プレーン・テキストのポリシー・ファイルを読み書きします。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIpolicytool\fR [ \fI\-file\fR ] [ \fIfilename\fR ]
|
||||
\fBpolicytool\fR [ \fB\-file\fR ] [ \fIfilename\fR ]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,50 +66,52 @@ policytool \- ユーティリティGUI経由で取得したユーザー入力に
|
||||
.PP
|
||||
\-file
|
||||
.RS 4
|
||||
ポリシー・ファイルを読み込むように\fIpolicytool\fRに指示します。
|
||||
ポリシー・ファイルを読み込むように\fBpolicytool\fRに指示します。
|
||||
.RE
|
||||
.PP
|
||||
\fIfilename\fR
|
||||
.RS 4
|
||||
ロードするファイルの名前。
|
||||
ロードするファイルの名前。
|
||||
.RE
|
||||
.PP
|
||||
\fB例\fR:
|
||||
\fB例\fR:
|
||||
.PP
|
||||
ポリシー・ツール管理ユーティリティを実行します:
|
||||
ポリシー・ツール管理ユーティリティを実行します:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
policytool
|
||||
\fBpolicytool\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fIpolicytool\fRコマンドを実行し、指定されたファイルをロードします:
|
||||
\fBpolicytool\fRコマンドを実行し、指定されたファイルをロードします:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
policytool\-file mypolicyfile
|
||||
\fBpolicytool \-file \fR\fB\fImypolicyfile\fR\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIpolicytool\fRコマンドは、管理者のGUIを呼び出します。これにより、システム管理者はローカル・ポリシー・ファイルの内容を管理できるようになります。ポリシー・ファイルは\fI\&.policy\fR拡張子を持つプレーンテキスト・ファイルで、ドメイン別にリモート・リクエスタを権限オブジェクトにマップします。詳細は、http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/PolicyFiles\&.htmlにある
|
||||
「Default Policy Implementation and Policy File Syntax」を参照してください
|
||||
.SH "オプション"
|
||||
\fBpolicytool\fRコマンドは、管理者のGUIを呼び出します。これにより、システム管理者はローカル・ポリシー・ファイルの内容を管理できるようになります。ポリシー・ファイルは\fB\&.policy\fR拡張子を持つプレーンテキスト・ファイルで、ドメイン別にリモート・リクエスタを権限オブジェクトにマップします。詳細は、http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/PolicyFiles\&.htmlにある
|
||||
「Default Policy Implementation and Policy File Syntax」を参照してください
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\-file
|
||||
.RS 4
|
||||
ポリシー・ファイルを読み込むように\fIpolicytool\fRに指示します。
|
||||
ポリシー・ファイルを読み込むように\fBpolicytool\fRに指示します。
|
||||
.RE
|
||||
.SH "関連項目"
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
@ -117,7 +121,7 @@ policytool\-file mypolicyfile
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
「Default Policy Implementation and Policy File Syntax」
|
||||
「Default Policy Implementation and Policy File Syntax」
|
||||
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/PolicyFiles\&.html)
|
||||
.RE
|
||||
.sp
|
||||
@ -129,7 +133,7 @@ policytool\-file mypolicyfile
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
「Policy File Creation and Management」
|
||||
「Policy File Creation and Management」
|
||||
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/PolicyGuide\&.html)
|
||||
.RE
|
||||
.sp
|
||||
@ -141,7 +145,7 @@ policytool\-file mypolicyfile
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
「Permissions in Java SE Development Kit (JDK)」
|
||||
「Permissions in Java SE Development Kit (JDK)」
|
||||
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/permissions\&.html)
|
||||
.RE
|
||||
.sp
|
||||
@ -153,7 +157,7 @@ policytool\-file mypolicyfile
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
「Java Security Overview」
|
||||
「Java Security Overview」
|
||||
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/overview/jsoverview\&.html)
|
||||
.RE
|
||||
.sp
|
||||
@ -165,7 +169,7 @@ policytool\-file mypolicyfile
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
「Java Cryptography Architecture (JCA) Reference Guide」
|
||||
「Java Cryptography Architecture (JCA) Reference Guide」
|
||||
(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec\&.html)
|
||||
.RE
|
||||
.br
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: rmic
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Remote Method Invocation (RMI)ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "rmic" "1" "2013年11月21日" "JDK 8" "Remote Method Invocation (RMI)"
|
||||
.\" Title: rmic
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Remote Method Invocation (RMI)ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "rmic" "1" "2013年11月21日" "JDK 8" "Remote Method Invocation (RMI)"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
rmic \- Java Remote Method Protocol (JRMP)またはInternet Inter\-Orb protocol (IIOP)を使用するリモート・オブジェクトのスタブ、スケルトンおよびTieクラスを生成します。Object Management Group (OMG)インタフェース定義言語(IDL)も生成します
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
rmic \- Java Remote Method Protocol (JRMP)またはInternet Inter\-Orb protocol (IIOP)を使用するリモート・オブジェクトのスタブ、スケルトンおよびTieクラスを生成します。Object Management Group (OMG)インタフェース定義言語(IDL)も生成します
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIrmic\fR [ \fIoptions\fR ] \fIpackage\-qualified\-class\-names\fR
|
||||
\fBrmic\fR [ \fIoptions\fR ] \fIpackage\-qualified\-class\-names\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,85 +66,87 @@ rmic \- Java Remote Method Protocol (JRMP)またはInternet Inter\-Orb protocol
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
コマンドライン・\fIオプション\fR。オプションを参照してください。
|
||||
コマンド行\fBオプション\fR。オプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIpackage\-qualified\-class\-names\fR
|
||||
.RS 4
|
||||
パッケージを含むクラス名。例:
|
||||
\fIjava\&.awt\&.Color\fR。
|
||||
パッケージを含むクラス名。例:
|
||||
\fBjava\&.awt\&.Color\fR。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fB非推奨に関する注意:\fR
|
||||
Java Remote Method Protocol (JRMP)スタブおよびスケルトンの静的な生成のサポートは非推奨になりました。動的に生成されるJRMPスタブをかわりに使用して、JRMPベースのアプリケーションにこのツールを使用する必要性をなくすことをお薦めします。詳細は、\fIjava\&.rmi\&.server\&.UnicastRemoteObject\fR仕様(http://docs\&.oracle\&.com/javase/8/docs/api/java/rmi/server/UnicastRemoteObject\&.html)を参照してください。
|
||||
\fB非推奨に関する注意:\fR
|
||||
Java Remote Method Protocol (JRMP)スタブおよびスケルトンの静的な生成のサポートは非推奨になりました。動的に生成されるJRMPスタブをかわりに使用して、JRMPベースのアプリケーションにこのツールを使用する必要性をなくすことをお薦めします。詳細は、\fBjava\&.rmi\&.server\&.UnicastRemoteObject\fR仕様(http://docs\&.oracle\&.com/javase/8/docs/api/java/rmi/server/UnicastRemoteObject\&.html)を参照してください。
|
||||
.PP
|
||||
\fIrmic\fRコンパイラは、Java Remote Method Protocol (JRMP)とスタブおよびTieクラス・ファイル(IIOPプロトコル)を使用して、リモート・オブジェクトのスタブおよびスケルトン・クラス・ファイルを生成します。リモート・オブジェクトの実装クラスであるこれらのクラス・ファイルは、Javaプログラミング言語のクラスをコンパイルしたときに生成されます。リモート実装クラスは、\fIjava\&.rmi\&.Remote\fRインタフェースを実装するクラスです。\fIrmic\fRコマンドでのクラス名は、そのクラスが\fIjavac\fRコマンドでコンパイルが成功していて、かつ完全修飾パッケージ名である必要があります。たとえば、次に示すクラス・ファイル名\fIHelloImpl\fRで\fIrmic\fRコマンドを実行すると、helloサブディレクトリ(クラスのパッケージの名前の付いた)に\fIHelloImpl_Stub\&.class \fRファイルが作成されます。
|
||||
\fBrmic\fRコンパイラは、Java Remote Method Protocol (JRMP)とスタブおよびTieクラス・ファイル(IIOPプロトコル)を使用して、リモート・オブジェクトのスタブおよびスケルトン・クラス・ファイルを生成します。リモート・オブジェクトの実装クラスであるこれらのクラス・ファイルは、Javaプログラミング言語のクラスをコンパイルしたときに生成されます。リモート実装クラスは、\fBjava\&.rmi\&.Remote\fRインタフェースを実装するクラスです。\fBrmic\fRコマンドでのクラス名は、そのクラスが\fBjavac\fRコマンドでコンパイルが成功していて、かつ完全修飾パッケージ名である必要があります。たとえば、次に示すクラス・ファイル名\fBHelloImpl\fRで\fBrmic\fRコマンドを実行すると、helloサブディレクトリ(クラスのパッケージの名前の付いた)に\fBHelloImpl_Stub\&.class \fRファイルが作成されます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
rmic hello\&.HelloImpl
|
||||
\fBrmic hello\&.HelloImpl\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
リモート・オブジェクトのスケルトンはJRMPプロトコル・サーバー側のエンティティで、リモート・オブジェクト実装を呼び出すメソッドを含みます。
|
||||
リモート・オブジェクトのスケルトンはJRMPプロトコル・サーバー側のエンティティで、リモート・オブジェクト実装を呼び出すメソッドを含みます。
|
||||
.PP
|
||||
リモート・オブジェクトのTieは、スケルトンと同様にサーバー側のエンティティですが、IIOPプロトコルを使用してクライアントと通信します。
|
||||
リモート・オブジェクトのTieは、スケルトンと同様にサーバー側のエンティティですが、IIOPプロトコルを使用してクライアントと通信します。
|
||||
.PP
|
||||
スタブとは、リモート・オブジェクトのクライアント側での代理です。スタブは、リモート・オブジェクトのメソッド呼出しを、実物のリモート・オブジェクトが常駐するサーバーと通信する役割を持ちます。したがって、クライアントのリモート・オブジェクトへの参照は、実際はローカル・スタブへの参照となります。
|
||||
スタブとは、リモート・オブジェクトのクライアント側での代理です。スタブは、リモート・オブジェクトのメソッド呼出しを、実物のリモート・オブジェクトが常駐するサーバーと通信する役割を持ちます。したがって、クライアントのリモート・オブジェクトへの参照は、実際はローカル・スタブへの参照となります。
|
||||
.PP
|
||||
デフォルトで\fIrmic\fRコマンドは、1\&.2 JRMPスタブ・プロトコル・バージョンのみを使用するスタブ・クラスを生成します。これは、\fI\-v1\&.2\fRオプションを指定した場合と同じ動作です。リリース5\&.0以前では\fI\-vcompat\fRオプションがデフォルトでした。IIOPプロトコル用のスタブおよびTieクラスを生成するには\fI\-iiop\fRオプションを使用します。オプションを参照してください。
|
||||
デフォルトで\fBrmic\fRコマンドは、1\&.2 JRMPスタブ・プロトコル・バージョンのみを使用するスタブ・クラスを生成します。これは、\fB\-v1\&.2\fRオプションを指定した場合と同じ動作です。リリース5\&.0以前では\fB\-vcompat\fRオプションがデフォルトでした。IIOPプロトコル用のスタブおよびTieクラスを生成するには\fB\-iiop\fRオプションを使用します。オプションを参照してください。
|
||||
.PP
|
||||
スタブはリモート・インタフェースのみを実装し、リモート・オブジェクトが実装するローカル・インタフェースは実装していません。JRMPスタブはリモート・オブジェクトが実装するリモート・インタフェースと同じものを実装しているので、クライアントは、キャストや型チェックにJavaプログラミング言語に組み込まれた演算子を使用することができます。IIOPの場合は、\fIPortableRemoteObject\&.narrow\fRメソッドを使用する必要があります。
|
||||
.SH "オプション"
|
||||
スタブはリモート・インタフェースのみを実装し、リモート・オブジェクトが実装するローカル・インタフェースは実装していません。JRMPスタブはリモート・オブジェクトが実装するリモート・インタフェースと同じものを実装しているので、クライアントは、キャストや型チェックにJavaプログラミング言語に組み込まれた演算子を使用することができます。IIOPの場合は、\fBPortableRemoteObject\&.narrow\fRメソッドを使用する必要があります。
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\-bootclasspath \fIpath\fR
|
||||
.RS 4
|
||||
ブートストラップ・クラス・ファイルの位置をオーバーライドします。
|
||||
ブートストラップ・クラス・ファイルの位置をオーバーライドします。
|
||||
.RE
|
||||
.PP
|
||||
\-classpath path
|
||||
.RS 4
|
||||
\fIrmic\fRコマンドがクラスを探すためのパスを指定します。このオプションは、デフォルトや\fICLASSPATH\fR環境変数設定をオーバーライドします。ディレクトリはコロンで分割します。パスの一般的な形式は\fI\&.;<your_path>\fRです。例:
|
||||
\fI\&.;/usr/local/java/classes\fR
|
||||
\fBrmic\fRコマンドがクラスを探すためのパスを指定します。このオプションは、デフォルトや\fBCLASSPATH\fR環境変数設定をオーバーライドします。ディレクトリはコロンで分割します。パスの一般的な形式は\fB\&.:<your_path>\fRです。例:
|
||||
\fB\&.:/usr/local/java/classes\fR
|
||||
.RE
|
||||
.PP
|
||||
\-d \fIdirectory\fR
|
||||
.RS 4
|
||||
生成されたクラス階層の出力先ディレクトリのルートを指定します。このオプションを使用すると、スタブ、スケルトン、およびTieファイルを格納するディレクトリを指定できます。たとえば、次のコマンドはMyClassから導出されたスタブおよびスケルトン・クラスをディレクトリ/java/classes/exampleclassに格納します。
|
||||
生成されたクラス階層の出力先ディレクトリのルートを指定します。このオプションを使用すると、スタブ、スケルトン、およびTieファイルを格納するディレクトリを指定できます。たとえば、次のコマンドはMyClassから導出されたスタブおよびスケルトン・クラスをディレクトリ/java/classes/exampleclassに格納します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
rmic \-d /java/classes exampleclass\&.MyClass
|
||||
\fBrmic \-d /java/classes exampleclass\&.MyClass\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
\fI\-d\fRオプションが指定されていない場合、デフォルトの動作は\fI\-d\fRが指定されていた場合と同じです。ターゲット・クラスのパッケージ階層が現在のディレクトリに作成され、stub/tie/skeletonファイルが格納されます。以前のリリースの\fIrmic\fRコマンドでは、\fI\-d\fRが指定されていない場合は、パッケージ階層は作成されず、出力ファイルはすべて現在のディレクトリに直接格納されていました。
|
||||
\fB\-d\fRオプションが指定されていない場合、デフォルトの動作は\fB\-d\fRが指定されていた場合と同じです。ターゲット・クラスのパッケージ階層が現在のディレクトリに作成され、stub/tie/skeletonファイルが格納されます。以前のリリースの\fBrmic\fRコマンドでは、\fB\-d\fRが指定されていない場合は、パッケージ階層は作成されず、出力ファイルはすべて現在のディレクトリに直接格納されていました。
|
||||
.RE
|
||||
.PP
|
||||
\-extdirs \fIpath\fR
|
||||
.RS 4
|
||||
インストール済拡張機能の位置をオーバーライドします。
|
||||
インストール済拡張機能の位置をオーバーライドします。
|
||||
.RE
|
||||
.PP
|
||||
\-g
|
||||
.RS 4
|
||||
ローカル変数を含むすべてのデバッグ情報を生成します。デフォルトでは、行番号情報のみ生成されます。
|
||||
ローカル変数を含むすべてのデバッグ情報を生成します。デフォルトでは、行番号情報のみ生成されます。
|
||||
.RE
|
||||
.PP
|
||||
\-idl
|
||||
.RS 4
|
||||
\fIrmic\fRコマンドによって、指定したクラスおよび参照されたクラスのOMG IDLが生成されます。IDLでは、プログラミング言語に依存せずに、宣言するだけでオブジェクトのAPIを指定することができます。IDLは、メソッドおよびデータの仕様として使用します。CORBAバインディングを提供する任意の言語で、メソッドおよびデータの作成および呼出しを行うことができます。これらの言語には、JavaおよびC++が含まれています。http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/mapping/jidlMapping\&.htmlの
|
||||
「Java IDL: IDL to Java Language Mapping」を参照してください
|
||||
\fBrmic\fRコマンドによって、指定したクラスおよび参照されたクラスのOMG IDLが生成されます。IDLでは、プログラミング言語に依存せずに、宣言するだけでオブジェクトのAPIを指定することができます。IDLは、メソッドおよびデータの仕様として使用します。CORBAバインディングを提供する任意の言語で、メソッドおよびデータの作成および呼出しを行うことができます。これらの言語には、JavaおよびC++が含まれています。http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/mapping/jidlMapping\&.htmlの
|
||||
「Java IDL: IDL to Java Language Mapping」を参照してください
|
||||
.sp
|
||||
\fI\-idl\fRオプションを使用するときには、他のオプションも指定できます。
|
||||
\fB\-idl\fRオプションを使用するときには、他のオプションも指定できます。
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
@ -152,7 +156,7 @@ rmic \-d /java/classes exampleclass\&.MyClass
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
既存のスタブ/Tie/IDLが入力クラスよりも新しい場合でも、\fI\-always\fRまたは\fI\-alwaysgenerate\fRオプションは再生成を強制します。
|
||||
既存のスタブ/Tie/IDLが入力クラスよりも新しい場合でも、\fB\-always\fRまたは\fB\-alwaysgenerate\fRオプションは再生成を強制します。
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@ -163,7 +167,7 @@ rmic \-d /java/classes exampleclass\&.MyClass
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
\fI\-factory\fRオプションは、生成されたIDLで\fIfactory\fRキーワードを使用します。
|
||||
\fB\-factory\fRオプションは、生成されたIDLで\fBfactory\fRキーワードを使用します。
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@ -174,15 +178,10 @@ rmic \-d /java/classes exampleclass\&.MyClass
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
The
|
||||
\fI\-idlModule\fR
|
||||
from J\fIavaPackage[\&.class]\fR
|
||||
\fItoIDLModule\fR
|
||||
specifies
|
||||
\fIIDLEntity\fR
|
||||
package mapping, for example:
|
||||
\fI\-idlModule\fR
|
||||
\fImy\&.module my::real::idlmod\fR\&.
|
||||
J\fBavaPackage[\&.class]\fR
|
||||
\fBtoIDLModule\fRの\fB\-idlModule\fRは\fBIDLEntity\fRパッケージ・マッピングを指定します。例:
|
||||
\fB\-idlModule\fR
|
||||
\fBmy\&.module my::real::idlmod\fR
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@ -193,27 +192,25 @@ package mapping, for example:
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
\fI\-idlFile\fR
|
||||
\fIfromJavaPackage[\&.class] toIDLFile\fR
|
||||
specifies
|
||||
\fIIDLEntity\fR
|
||||
file mapping, for example:
|
||||
\fI\-idlFile test\&.pkg\&.X TEST16\&.idl\fR\&.
|
||||
\fB\-idlFile\fR
|
||||
\fBfromJavaPackage[\&.class] toIDLFile\fRは\fBIDLEntity\fRファイル・マッピングを指定します。例:
|
||||
\fB\-idlFile test\&.pkg\&.X TEST16\&.idl\fR
|
||||
.RE
|
||||
.RE
|
||||
.PP
|
||||
\-iiop
|
||||
.RS 4
|
||||
\fIrmic\fRコマンドによって、JRMPのスタブとスケルトン・クラスのかわりに、IIOPのスタブとTieクラスが生成されます。スタブ・クラスは、リモート・オブジェクトのローカル・プロキシで、クライアントからサーバーに呼出しを送信するときに使用されます。各リモート・インタフェースにはスタブ・クラスが必要です。スタブ・クラスによってリモート・インタフェースが実装されます。クライアントでリモート・オブジェクトを参照するときは、スタブを参照することになります。タイ・クラスは、サーバー側で着呼を処理し、その呼出しを適切な実装クラスにディスパッチするときに使用されます。各実装クラスには、タイ・クラスが必要です。
|
||||
\fBrmic\fRコマンドによって、JRMPのスタブとスケルトン・クラスのかわりに、IIOPのスタブとTieクラスが生成されます。スタブ・クラスは、リモート・オブジェクトのローカル・プロキシで、クライアントからサーバーに呼出しを送信するときに使用されます。各リモート・インタフェースにはスタブ・クラスが必要です。スタブ・クラスによってリモート・インタフェースが実装されます。クライアントでリモート・オブジェクトを参照するときは、スタブを参照することになります。タイ・クラスは、サーバー側で着呼を処理し、その呼出しを適切な実装クラスにディスパッチするときに使用されます。各実装クラスには、タイ・クラスが必要です。
|
||||
.sp
|
||||
\fI\-iiop\fRを使用して\fIrmic\fRコマンドを呼び出すと、次の命名規則に準拠したスタブとTieが生成されます。
|
||||
\fB\-iiop\fRを使用して\fBrmic\fRコマンドを呼び出すと、次の命名規則に準拠したスタブとTieが生成されます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
_<implementationName>_stub\&.class
|
||||
_<interfaceName>_tie\&.class
|
||||
\fB_<implementationName>_stub\&.class\fR
|
||||
\fB_<interfaceName>_tie\&.class\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -227,7 +224,7 @@ _<interfaceName>_tie\&.class
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
\fI\-iiop\fRオプションを使用するときには、他のオプションも指定できます。
|
||||
\fB\-iiop\fRオプションを使用するときには、他のオプションも指定できます。
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@ -238,7 +235,7 @@ _<interfaceName>_tie\&.class
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
既存のスタブ/Tie/IDLが入力クラスよりも新しい場合でも、\fI\-always\fRまたは\fI\-alwaysgenerate\fRオプションは再生成を強制します。
|
||||
既存のスタブ/Tie/IDLが入力クラスよりも新しい場合でも、\fB\-always\fRまたは\fB\-alwaysgenerate\fRオプションは再生成を強制します。
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@ -249,7 +246,7 @@ _<interfaceName>_tie\&.class
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
\fI\-nolocalstubs\fRオプションでは、同じプロセスのクライアントとサーバーに最適化されたスタブは作成されません。
|
||||
\fB\-nolocalstubs\fRオプションでは、同じプロセスのクライアントとサーバーに最適化されたスタブは作成されません。
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@ -260,7 +257,7 @@ _<interfaceName>_tie\&.class
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
\fI\-noValueMethods\fRオプションは\fI\-idl\fRオプションとともに使用する必要があります。\fI\-noValueMethods\fRオプションは、送信されるIDLに\fIvaluetype\fRメソッドおよび初期化子を追加できないようにします。このメソッドおよび初期化子は、valuetypeの場合はオプションです。\fI\-idl\fRオプションとともに\fI\-noValueMethods\fRオプションを指定しないかぎり生成されます。
|
||||
\fB\-noValueMethods\fRオプションは\fB\-idl\fRオプションとともに使用する必要があります。\fB\-noValueMethods\fRオプションは、送信されるIDLに\fBvaluetype\fRメソッドおよび初期化子を追加できないようにします。このメソッドおよび初期化子は、valuetypeの場合はオプションです。\fB\-idl\fRオプションとともに\fB\-noValueMethods\fRオプションを指定しないかぎり生成されます。
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@ -271,57 +268,57 @@ _<interfaceName>_tie\&.class
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
\fI\-poa\fRオプションは継承を\fIorg\&.omg\&.CORBA_2_3\&.portable\&.ObjectImpl\fRから\fIorg\&.omg\&.PortableServer\&.Servant\fRに変更します。ポータブル・オブジェクト・アダプタ(POA)の\fIPortableServer\fRモジュールは、ネイティブの\fIServant\fR型を定義します。Javaプログラミング言語では、\fIServant\fR型はJavaの\fIorg\&.omg\&.PortableServer\&.Servant\fRクラスにマップされます。これは、すべてのPOAサーバント実装のベース・クラスとして機能し、アプリケーション・プログラマが呼び出すことのできるいくつかのメソッド、およびPOAによって呼び出され、サーバントの動作を制御するためにユーザーがオーバーライドできるメソッドを提供します。OMG IDL to Java Language Mapping Specification、CORBA V 2\&.3\&.1 ptc/00\-01\-08\&.pdfに準拠しています。
|
||||
\fB\-poa\fRオプションは継承を\fBorg\&.omg\&.CORBA_2_3\&.portable\&.ObjectImpl\fRから\fBorg\&.omg\&.PortableServer\&.Servant\fRに変更します。ポータブル・オブジェクト・アダプタ(POA)の\fBPortableServer\fRモジュールは、ネイティブの\fBServant\fR型を定義します。Javaプログラミング言語では、\fBServant\fR型はJavaの\fBorg\&.omg\&.PortableServer\&.Servant\fRクラスにマップされます。これは、すべてのPOAサーバント実装のベース・クラスとして機能し、アプリケーション・プログラマが呼び出すことのできるいくつかのメソッド、およびPOAによって呼び出され、サーバントの動作を制御するためにユーザーがオーバーライドできるメソッドを提供します。OMG IDL to Java Language Mapping Specification、CORBA V 2\&.3\&.1 ptc/00\-01\-08\&.pdfに準拠しています。
|
||||
.RE
|
||||
.RE
|
||||
.PP
|
||||
\-J
|
||||
.RS 4
|
||||
Javaコマンドとともに使用して、\fI\-J\fRオプションは\fI\-J\fRの後ろに続く引数をJavaインタプリタに渡します(\fI\-J\fRと引数の間にスペースは入れません)。
|
||||
Javaコマンドとともに使用して、\fB\-J\fRオプションは\fB\-J\fRの後ろに続く引数をJavaインタプリタに渡します(\fB\-J\fRと引数の間にスペースは入れません)。
|
||||
.RE
|
||||
.PP
|
||||
\-keep or \-keepgenerated
|
||||
.RS 4
|
||||
スタブ、スケルトン、またはTieクラスのために生成された\fI\&.java\fRソース・ファイルを保持し、\fI\&.class\fRファイルと同じディレクトリに書き込みます。
|
||||
スタブ、スケルトン、またはTieクラスのために生成された\fB\&.java\fRソース・ファイルを保持し、\fB\&.class\fRファイルと同じディレクトリに書き込みます。
|
||||
.RE
|
||||
.PP
|
||||
\-nowarn
|
||||
.RS 4
|
||||
警告をオフにします。\fI\-nowarn\fRオプションが使用される場合。コンパイラは警告を表示しません。
|
||||
警告をオフにします。\fB\-nowarn\fRオプションが使用される場合。コンパイラは警告を表示しません。
|
||||
.RE
|
||||
.PP
|
||||
\-nowrite
|
||||
.RS 4
|
||||
コンパイルしたクラスをファイル・システムに書き込みません。
|
||||
コンパイルしたクラスをファイル・システムに書き込みません。
|
||||
.RE
|
||||
.PP
|
||||
\-vcompat (非推奨)
|
||||
\-vcompat (非推奨)
|
||||
.RS 4
|
||||
1\&.1と1\&.2の両方のJRMPスタブ・プロトコル・バージョンと互換性のあるスタブおよびスケルトン・クラスを作成します。5\&.0以前のリリースではこのオプションがデフォルトでした。生成されたスタブ・クラスは、JDK 1\&.1仮想マシンにロードされると1\&.1スタブ・プロトコル・バージョンを使用し、JDK 1\&.2以降の仮想マシンにロードされると1\&.2スタブ・プロトコル・バージョンを使用します。生成されたスケルトン・クラスでは、1\&.1と1\&.2の両方のスタブ・プロトコル・バージョンをサポートします。生成されたクラスは両方の操作モードをサポートするために、サイズが大きくなります。注意:このオプションは非推奨になりました。説明を参照してください。
|
||||
1\&.1と1\&.2の両方のJRMPスタブ・プロトコル・バージョンと互換性のあるスタブおよびスケルトン・クラスを作成します。5\&.0以前のリリースではこのオプションがデフォルトでした。生成されたスタブ・クラスは、JDK 1\&.1仮想マシンにロードされると1\&.1スタブ・プロトコル・バージョンを使用し、JDK 1\&.2以降の仮想マシンにロードされると1\&.2スタブ・プロトコル・バージョンを使用します。生成されたスケルトン・クラスでは、1\&.1と1\&.2の両方のスタブ・プロトコル・バージョンをサポートします。生成されたクラスは両方の操作モードをサポートするために、サイズが大きくなります。注意:このオプションは非推奨になりました。説明を参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\-verbose
|
||||
.RS 4
|
||||
コンパイラやリンカーが、コンパイルされているクラスやロードされているクラス・ファイルについてのメッセージを表示するようにします。
|
||||
コンパイラやリンカーが、コンパイルされているクラスやロードされているクラス・ファイルについてのメッセージを表示するようにします。
|
||||
.RE
|
||||
.PP
|
||||
\-v1\&.1 (非推奨)
|
||||
\-v1\&.1 (非推奨)
|
||||
.RS 4
|
||||
1\&.1 JRMPスタブ・プロトコル・バージョンのみのスタブおよびスケルトン・クラスを生成します。\fI\-v1\&.1\fRオプションを使用できるのは、JDK 1\&.1から\fIrmic\fRコマンドで生成され、アップグレードできない(さらにダイナミック・クラス・ローディングを使用していない)、既存の静的デプロイされたスタブ・クラスに対し、直列化互換性のあるスタブ・クラスを生成する場合のみです。注意:このオプションは非推奨になりました。説明を参照してください。
|
||||
1\&.1 JRMPスタブ・プロトコル・バージョンのみのスタブおよびスケルトン・クラスを生成します。\fB\-v1\&.1\fRオプションを使用できるのは、JDK 1\&.1から\fBrmic\fRコマンドで生成され、アップグレードできない(さらにダイナミック・クラス・ローディングを使用していない)、既存の静的デプロイされたスタブ・クラスに対し、直列化互換性のあるスタブ・クラスを生成する場合のみです。注意:このオプションは非推奨になりました。説明を参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\-v1\&.2 (非推奨)
|
||||
\-v1\&.2 (非推奨)
|
||||
.RS 4
|
||||
(デフォルト)1\&.2 JRMPスタブ・プロトコル・バージョンのみのスタブ・クラスを生成します。スケルトン・クラスは1\&.2スタブ・プロトコル・バージョンで使用できないため、スケルトン・クラスは生成されません。生成されたスタブ・クラスは、JDK 1\&.1仮想マシンにロードされても動作しません。注意:このオプションは非推奨になりました。説明を参照してください。
|
||||
(デフォルト)1\&.2 JRMPスタブ・プロトコル・バージョンのみのスタブ・クラスを生成します。スケルトン・クラスは1\&.2スタブ・プロトコル・バージョンで使用できないため、スケルトン・クラスは生成されません。生成されたスタブ・クラスは、JDK 1\&.1仮想マシンにロードされても動作しません。注意:このオプションは非推奨になりました。説明を参照してください。
|
||||
.RE
|
||||
.SH "環境変数"
|
||||
.SH "環境変数"
|
||||
.PP
|
||||
CLASSPATH
|
||||
.RS 4
|
||||
ユーザー定義クラスへのパスをシステムに指定します。ディレクトリはコロンで区切られます。例:
|
||||
\fI\&.:/usr/local/java/classes\fR
|
||||
ユーザー定義クラスへのパスをシステムに指定します。ディレクトリはコロンで区切られます。例:
|
||||
\fB\&.:/usr/local/java/classes\fR
|
||||
.RE
|
||||
.SH "関連項目"
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
@ -353,7 +350,7 @@ java(1)
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
Setting the Class Path
|
||||
クラス・パスの設定
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: rmid
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Remote Method Invocation (RMI)ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "rmid" "1" "2013年11月21日" "JDK 8" "Remote Method Invocation (RMI)"
|
||||
.\" Title: rmid
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Remote Method Invocation (RMI)ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "rmid" "1" "2013年11月21日" "JDK 8" "Remote Method Invocation (RMI)"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
rmid \- 起動システム・デーモンを開始すると、オブジェクトをJava仮想マシン(VM)に登録してアクティブ化できるようになります。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
rmid \- 起動システム・デーモンを開始すると、オブジェクトをJava Virtual Machine(VM)に登録してアクティブ化できるようになります。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIrmid\fR [\fIoptions\fR]
|
||||
\fBrmid\fR [\fIoptions\fR]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,48 +66,48 @@ rmid \- 起動システム・デーモンを開始すると、オブジェクト
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
コマンドライン・オプション。オプションを参照してください。
|
||||
コマンド行オプション。オプションを参照してください。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIrmid\fRコマンドは、起動システム・デーモンを開始します。起動システム・デーモンを開始してからでないと、アクティブ化可能オブジェクトをアクティブ化システムに登録したり、JVM内でアクティブ化したりすることができません。アクティブ化可能なオブジェクトを使用するプログラムの作成方法の詳細は、\fIアクティブ化の使用\fRに関するチュートリアル(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/rmi/activation/overview\&.html)を参照してください
|
||||
\fBrmid\fRコマンドは、起動システム・デーモンを開始します。起動システム・デーモンを開始してからでないと、アクティブ化可能オブジェクトをアクティブ化システムに登録したり、JVM内でアクティブ化したりすることができません。アクティブ化可能なオブジェクトを使用するプログラムの作成方法の詳細は、\fIアクティブ化の使用\fRに関するチュートリアル(http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/rmi/activation/overview\&.html)を参照してください
|
||||
.PP
|
||||
\fIrmid\fRコマンドを実行し、次のようにセキュリティ・ポリシー・ファイルを指定して、デーモンを起動します。
|
||||
\fBrmid\fRコマンドを実行し、次のようにセキュリティ・ポリシー・ファイルを指定して、デーモンを起動します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
rmid \-J\-Djava\&.security\&.policy=rmid\&.policy
|
||||
\fBrmid \-J\-Djava\&.security\&.policy=rmid\&.policy\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
\fIrmid\fRコマンドのOracleの実装を実行する場合、デフォルトでは、セキュリティ・ポリシー・ファイルを指定する必要があります。それは、\fIrmid\fRコマンドが起動グループ用にJVMを起動するために各\fIActivationGroupDesc\fR内の情報を使用できるかどうかを検証できるようにするためです特に、\fIActivationGroupDesc\fRコンストラクタに渡される\fICommandEnvironment\fRや任意のプロパティによって指定されるコマンドおよびオプションは、\fIrmid\fRコマンドのセキュリティ・ポリシー・ファイルの中で明示的に許可することが必要になりました。\fIsun\&.rmi\&.activation\&.execPolicy\fRプロパティの値は、起動グループ用にJVMを起動するために\fIActivationGroupDesc\fR内の情報を使用できるかどうかを判断するときに\fIrmid\fRコマンドが使用するポリシーを決定します。詳細は、\-J\-Dsun\&.rmi\&.activation\&.execPolicy=policyオプションの説明を参照してください。
|
||||
\fBrmid\fRコマンドのOracleの実装を実行する場合、デフォルトでは、セキュリティ・ポリシー・ファイルを指定する必要があります。それは、\fBrmid\fRコマンドが起動グループ用にJVMを起動するために各\fBActivationGroupDesc\fR内の情報を使用できるかどうかを検証できるようにするためです特に、\fBActivationGroupDesc\fRコンストラクタに渡される\fBCommandEnvironment\fRや任意のプロパティによって指定されるコマンドおよびオプションは、\fBrmid\fRコマンドのセキュリティ・ポリシー・ファイルの中で明示的に許可することが必要になりました。\fBsun\&.rmi\&.activation\&.execPolicy\fRプロパティの値は、起動グループ用にJVMを起動するために\fBActivationGroupDesc\fR内の情報を使用できるかどうかを判断するときに\fBrmid\fRコマンドが使用するポリシーを決定します。詳細は、\-J\-Dsun\&.rmi\&.activation\&.execPolicy=policyオプションの説明を参照してください。
|
||||
.PP
|
||||
\fIrmid\fRコマンドを実行すると、デフォルト・ポート1098でアクティベータと内部レジストリが起動され、\fIActivationSystem\fRがこの内部レジストリ内の名前\fIjava\&.rmi\&.activation\&.ActivationSystem\fRにバインドされます。
|
||||
\fBrmid\fRコマンドを実行すると、デフォルト・ポート1098でアクティベータと内部レジストリが起動され、\fBActivationSystem\fRがこの内部レジストリ内の名前\fBjava\&.rmi\&.activation\&.ActivationSystem\fRにバインドされます。
|
||||
.PP
|
||||
レジストリに他のポートを指定するには、\fIrmid\fRコマンドの実行時に\fI\-port\fRオプションを指定する必要があります。たとえば、次のコマンドは、レジストリのデフォルト・ポート1099で、起動システム・デーモンとレジストリを起動します。
|
||||
レジストリに他のポートを指定するには、\fBrmid\fRコマンドの実行時に\fB\-port\fRオプションを指定する必要があります。たとえば、次のコマンドは、レジストリのデフォルト・ポート1099で、起動システム・デーモンとレジストリを起動します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
rmid \-J\-Djava\&.security\&.policy=rmid\&.policy \-port 1099
|
||||
\fBrmid \-J\-Djava\&.security\&.policy=rmid\&.policy \-port 1099\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "必要に応じてRMIDを開始"
|
||||
.SH "必要に応じてRMIDを開始"
|
||||
.PP
|
||||
\fIrmid\fRをコマンドラインから開始するには、\fIinetd\fR
|
||||
(Oracle Solarisの場合)、または\fIxinetd\fR
|
||||
(Linuxの場合)を構成して\fIrmid\fRを必要に応じて開始する方法もあります。
|
||||
\fBrmid\fRをコマンド行から開始するには、\fBinetd\fR(Oracle Solarisの場合)、または\fBxinetd\fR(Linuxの場合)を構成して\fBrmid\fRを必要に応じて開始する方法もあります。
|
||||
.PP
|
||||
RMIDを開始すると、\fISystem\&.inheritedChannel\fRメソッドを呼び出して、継承されたチャンネル(\fIinetd\fR/\fIxinetd\fRから継承)を取得しようとします。継承されたチャンネルがnullであるか、\fIjava\&.nio\&.channels\&.ServerSocketChannel\fRのインスタンスでなかった場合、RMIDはそのチャンネルは\fIinetd\fR/\fIxinetd\fRによって起動されたものではないと判断し、前述のように起動します。
|
||||
RMIDを開始すると、\fBSystem\&.inheritedChannel\fRメソッドを呼び出して、継承されたチャンネル(\fBinetd\fR/\fBxinetd\fRから継承)を取得しようとします。継承されたチャンネルがnullであるか、\fBjava\&.nio\&.channels\&.ServerSocketChannel\fRのインスタンスでなかった場合、RMIDはそのチャンネルは\fBinetd\fR/\fBxinetd\fRによって起動されたものではないと判断し、前述のように起動します。
|
||||
.PP
|
||||
継承されたチャンネルが\fIServerSocketChannel\fRインスタンスである場合は、RMIDはエクスポートするリモート・オブジェクト、つまり\fIjava\&.rmi\&.activation\&.ActivationSystem\fRがバインドされているレジストリと\fIjava\&.rmi\&.activation\&.Activator\fRリモート・オブジェクトに対するリクエストを受信するサーバー・ソケットとして、\fIServerSocketChannel\fRから取得した\fIjava\&.net\&.ServerSocket\fRを使用します。このモードでは、RMIDの動作は、次のことを除いて、コマンドラインから起動した場合と同じです。
|
||||
継承されたチャンネルが\fBServerSocketChannel\fRインスタンスである場合は、RMIDはエクスポートするリモート・オブジェクト、つまり\fBjava\&.rmi\&.activation\&.ActivationSystem\fRがバインドされているレジストリと\fBjava\&.rmi\&.activation\&.Activator\fRリモート・オブジェクトに対するリクエストを受信するサーバー・ソケットとして、\fBServerSocketChannel\fRから取得した\fBjava\&.net\&.ServerSocket\fRを使用します。このモードでは、RMIDの動作は、次のことを除いて、コマンド行から起動した場合と同じです。
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
@ -115,7 +117,7 @@ RMIDを開始すると、\fISystem\&.inheritedChannel\fRメソッドを呼び出
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
\fISystem\&.err\fRに対する出力は、ファイルにリダイレクトされる。このファイルは\fIjava\&.io\&.tmpdir\fRシステム・プロパティで指定されるディレクトリ(通常は\fI/var/tmp\fRまたは\fI/tmp\fR)にある。ファイル名の接頭辞は\fIrmid\-err\fRで、接尾辞は\fItmp\fRである。
|
||||
\fBSystem\&.err\fRに対する出力は、ファイルにリダイレクトされる。このファイルは\fBjava\&.io\&.tmpdir\fRシステム・プロパティで指定されるディレクトリ(通常は\fB/var/tmp\fRまたは\fB/tmp\fR)にある。ファイル名の接頭辞は\fBrmid\-err\fRで、接尾辞は\fBtmp\fRである。
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@ -126,7 +128,7 @@ RMIDを開始すると、\fISystem\&.inheritedChannel\fRメソッドを呼び出
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
\fI\-port\fRオプションは使用できません。このオプションが指定されている場合、RMIDはエラー・メッセージが表示されて終了します。
|
||||
\fB\-port\fRオプションは使用できません。このオプションが指定されている場合、RMIDはエラー・メッセージが表示されて終了します。
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@ -137,34 +139,36 @@ RMIDを開始すると、\fISystem\&.inheritedChannel\fRメソッドを呼び出
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
\fI\-log\fRオプションは必須。このオプションが指定されていない場合、RMIDはエラー・メッセージが表示されて終了します。
|
||||
\fB\-log\fRオプションは必須。このオプションが指定されていない場合、RMIDはエラー・メッセージが表示されて終了します。
|
||||
.RE
|
||||
.PP
|
||||
必要に応じてサービスを開始するように構成する方法の詳細は、\fIinetd\fR
|
||||
(Oracle Solarisの場合)、または\fIxinetd\fR
|
||||
(Linux)のマニュアル・ページを参照してください。
|
||||
.SH "オプション"
|
||||
必要に応じてサービスを開始するように構成する方法の詳細は、\fBinetd\fR
|
||||
(Oracle Solarisの場合)、または\fBxinetd\fR
|
||||
(Linux)のマニュアル・ページを参照してください。
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\-C\fIオプション\fR
|
||||
\-C\fIオプション\fR
|
||||
.RS 4
|
||||
\fIrmid\fRコマンドの子プロセス(起動グループ)が作成されたときに、それぞれの子プロセスにコマンドライン引数として渡されるオプションを指定します。たとえば、次のように指定すると、起動システム・デーモンによって生成される各仮想マシンにプロパティを渡すことができます。
|
||||
\fBrmid\fRコマンドの子プロセス(起動グループ)が作成されたときに、それぞれの子プロセスにコマンド行引数として渡されるオプションを指定します。たとえば、次のように指定すると、起動システム・デーモンによって生成される各仮想マシンにプロパティを渡すことができます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
rmid \-C\-Dsome\&.property=value
|
||||
\fBrmid \-C\-Dsome\&.property=value\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
コマンドライン引数を子プロセスに渡す機能は、デバッグを行う場合に便利です。たとえば、次のコマンドでは、すべての子JVMでserver\-callロギングが可能です。
|
||||
コマンド行引数を子プロセスに渡す機能は、デバッグを行う場合に便利です。たとえば、次のコマンドでは、すべての子JVMでserver\-callロギングが可能です。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
rmid \-C\-Djava\&.rmi\&.server\&.logCalls=true
|
||||
\fBrmid \-C\-Djava\&.rmi\&.server\&.logCalls=true\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -173,13 +177,14 @@ rmid \-C\-Djava\&.rmi\&.server\&.logCalls=true
|
||||
.PP
|
||||
\-J\fIoption\fR
|
||||
.RS 4
|
||||
RMIDを実行しているJavaインタプリタに渡すオプションを指定します。たとえば、\fIrmid\fRコマンドが\fIrmid\&.policy\fRという名前のポリシー・ファイルを使用するように指定するには、\fIrmid\fRのコマンドラインで\fI\-J\fRオプションを使用して、\fIjava\&.security\&.policy\fRプロパティを定義します。次に例を示します。
|
||||
RMIDを実行しているJavaインタプリタに渡すオプションを指定します。たとえば、\fBrmid\fRコマンドが\fBrmid\&.policy\fRという名前のポリシー・ファイルを使用するように指定するには、\fBrmid\fRのコマンド行で\fB\-J\fRオプションを使用して、\fBjava\&.security\&.policy\fRプロパティを定義します。次に例を示します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
rmid \-J\-Djava\&.security\&.policy\-rmid\&.policy
|
||||
\fBrmid \-J\-Djava\&.security\&.policy\-rmid\&.policy\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -188,7 +193,7 @@ rmid \-J\-Djava\&.security\&.policy\-rmid\&.policy
|
||||
.PP
|
||||
\-J\-Dsun\&.rmi\&.activation\&.execPolicy=\fIpolicy\fR
|
||||
.RS 4
|
||||
起動グループが実行されることになるJVMの起動に使用するコマンドおよびコマンドライン・オプションをチェックするために、RMIDが採用するポリシーを指定します。このオプションは、Java RMI起動デーモンのOracleの実装のみに存在することに注意してください。コマンドラインにこのプロパティを指定しない場合、結果は\fI\-J\-Dsun\&.rmi\&.activation\&.execPolicy=default\fRを指定した場合と同じになります。\fIpolicy\fRに指定可能な値は、\fIdefault\fR、\fIpolicyClassName\fRまたは\fInone\fRです。
|
||||
起動グループが実行されることになるJVMの起動に使用するコマンドおよびコマンド行オプションをチェックするために、RMIDが採用するポリシーを指定します。このオプションは、Java RMI起動デーモンのOracleの実装のみに存在することに注意してください。コマンド行にこのプロパティを指定しない場合、結果は\fB\-J\-Dsun\&.rmi\&.activation\&.execPolicy=default\fRを指定した場合と同じになります。\fBpolicy\fRに指定可能な値は、\fBdefault\fR、\fBpolicyClassName\fRまたは\fBnone\fRです。
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
@ -198,67 +203,68 @@ rmid \-J\-Djava\&.security\&.policy\-rmid\&.policy
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
デフォルト
|
||||
デフォルト
|
||||
.sp
|
||||
\fIdefault\fRまたは未指定値の\fIexecPolicy\fRの場合、\fIrmid\fRコマンドが実行できるのは、\fIrmid\fRコマンドが使用するセキュリティ・ポリシー・ファイルの中で、実行する権限が\fIrmid\fRに与えられているコマンドおよびコマンドライン・オプションのみです。デフォルトの実行ポリシーで使用できるのは、デフォルトの起動グループ実装のみです。
|
||||
\fBdefault\fRまたは未指定値の\fBexecPolicy\fRの場合、\fBrmid\fRコマンドが実行できるのは、\fBrmid\fRコマンドが使用するセキュリティ・ポリシー・ファイルの中で、実行する権限が\fBrmid\fRに与えられているコマンドおよびコマンド行オプションのみです。デフォルトの実行ポリシーで使用できるのは、デフォルトの起動グループ実装のみです。
|
||||
.sp
|
||||
\fIrmid\fRコマンドは、起動グループ用のJVMを起動するときに、そのグループについて登録された起動グループ記述子である\fIActivationGroupDesc\fR内の情報を使用します。グループ記述子は、\fIActivationGroupDesc\&.CommandEnvironment\fRを指定します(省略可能)。これには、起動グループを開始するコマンドと、そのコマンドラインに追加できるコマンドライン・オプションが含まれています。デフォルトでは、\fIrmid\fRコマンドは\fIjava\&.home\fRにある\fIjava\fRコマンドを使用します。グループ記述子には、コマンドラインにオプションとして追加されるプロパティ・オーバーライドも含まれます(\fI\-D<property>=<value>\fRとして定義されます)。\fIcom\&.sun\&.rmi\&.rmid\&.ExecPermission\fR権限は\fIrmid\fRコマンドに、起動グループを開始するためにグループ記述子の\fICommandEnvironment\fRで指定されたコマンドを実行する権限を付与します。\fIcom\&.sun\&.rmi\&.rmid\&.ExecOptionPermission\fR権限は起動グループの開始時に、グループ記述子でプロパティ・オーバーライドとして、または\fICommandEnvironment\fRでオプションとして指定されたコマンドライン・オプションを、\fIrmid\fRコマンドが使用することを許可します。\fIrmid\fRコマンドに様々なコマンドおよびオプションを実行する権限を付与する場合、権限\fIExecPermission\fRおよび\fIExecOptionPermission\fRをすべてのコード・ソースに付与する必要があります。
|
||||
\fBrmid\fRコマンドは、起動グループ用のJVMを起動するときに、そのグループについて登録された起動グループ記述子である\fBActivationGroupDesc\fR内の情報を使用します。グループ記述子は、\fBActivationGroupDesc\&.CommandEnvironment\fRを指定します(省略可能)。これには、起動グループを開始するコマンドと、そのコマンド行に追加できるコマンド行オプションが含まれています。デフォルトでは、\fBrmid\fRコマンドは\fBjava\&.home\fRにある\fBjava\fRコマンドを使用します。グループ記述子には、コマンド行にオプションとして追加されるプロパティ・オーバーライドも含まれます(\fB\-D<property>=<value>\fRとして定義されます)。\fBcom\&.sun\&.rmi\&.rmid\&.ExecPermission\fR権限は\fBrmid\fRコマンドに、起動グループを開始するためにグループ記述子の\fBCommandEnvironment\fRで指定されたコマンドを実行する権限を付与します。\fBcom\&.sun\&.rmi\&.rmid\&.ExecOptionPermission\fR権限は起動グループの開始時に、グループ記述子でプロパティ・オーバーライドとして、または\fBCommandEnvironment\fRでオプションとして指定されたコマンド行オプションを、\fBrmid\fRコマンドが使用することを許可します。\fBrmid\fRコマンドに様々なコマンドおよびオプションを実行する権限を付与する場合、権限\fBExecPermission\fRおよび\fBExecOptionPermission\fRをすべてのコード・ソースに付与する必要があります。
|
||||
.sp
|
||||
\fBExecPermission\fR
|
||||
.sp
|
||||
\fIExecPermission\fRクラスは、起動グループを開始するために\fIrmid\fRコマンドが特定のコマンドを実行する権限を表します。
|
||||
\fBExecPermission\fRクラスは、起動グループを開始するために\fBrmid\fRコマンドが特定のコマンドを実行する権限を表します。
|
||||
.sp
|
||||
\fB構文\fR:
|
||||
\fIExecPermission\fRの名前は、\fIrmid\fRコマンドに実行を許可するコマンドのパス名です。スラッシュ(/)およびアスタリスク(*)で終わるパス名は、そのディレクトリに含まれるすべてのファイルを示します。スラッシュはファイル区切り文字\fIFile\&.separatorChar\fRです。スラッシュ(/)およびマイナス符号(\-)で終わるパス名は、そのディレクトリに含まれるすべてのファイルとサブディレクトリ(再帰的に)を示します。パス名に特別なトークン\fI<<ALL FILES>>\fRを指定した場合は、任意のファイルを示します。
|
||||
\fB構文\fR:
|
||||
\fBExecPermission\fRの名前は、\fBrmid\fRコマンドに実行を許可するコマンドのパス名です。スラッシュ(/)およびアスタリスク(*)で終わるパス名は、そのディレクトリに含まれるすべてのファイルを示します。スラッシュはファイル区切り文字\fBFile\&.separatorChar\fRです。スラッシュ(/)およびマイナス符号(\-)で終わるパス名は、そのディレクトリに含まれるすべてのファイルとサブディレクトリ(再帰的に)を示します。特殊なトークン\fB<<ALL FILES>>\fRで構成されるパス名は、どのファイルとも一致します。
|
||||
.sp
|
||||
パス名にアスタリスク(*)を指定した場合は、現在のディレクトリ内のすべてのファイルを示します。パス名にマイナス符号(\-)を指定した場合は、現在のディレクトリ内のすべてのファイルおよび(再帰的に)現在のディレクトリに含まれるすべてのファイルとサブディレクトリを示します。
|
||||
パス名にアスタリスク(*)を指定した場合は、現在のディレクトリ内のすべてのファイルを示します。パス名にマイナス符号(\-)を指定した場合は、現在のディレクトリ内のすべてのファイルおよび(再帰的に)現在のディレクトリに含まれるすべてのファイルとサブディレクトリを示します。
|
||||
.sp
|
||||
\fBExecOptionPermission\fR
|
||||
.sp
|
||||
\fIExecOptionPermission\fRクラスは、起動グループを開始するときに\fIrmid\fRコマンドで特定のコマンドライン・オプションを使用できる権限を表します。\fIExecOptionPermission\fRの名前は、コマンドライン・オプションの値です。
|
||||
\fBExecOptionPermission\fRクラスは、起動グループを開始するときに\fBrmid\fRコマンドで特定のコマンド行オプションを使用できる権限を表します。\fBExecOptionPermission\fRの名前は、コマンド行オプションの値です。
|
||||
.sp
|
||||
\fB構文\fR: オプションでは、ワイルドカードが限定的にサポートされます。アスタリスクは、ワイルドカード・マッチを表します。アスタリスク(*)は、オプション名そのものとして使用できます。つまり、任意のオプションを表すことができます。また、オプション名の末尾に使用することもできます。ただし、ドット(\&.)か等号(=)の直後にアスタリスク(*)を指定する必要があります。
|
||||
\fB構文\fR: オプションでは、ワイルドカードが限定的にサポートされます。アスタリスクは、ワイルドカード・マッチを表します。アスタリスク(*)は、オプション名そのものとして使用できます。つまり、任意のオプションを表すことができます。また、オプション名の末尾に使用することもできます。ただし、ドット(\&.)か等号(=)の直後にアスタリスク(*)を指定する必要があります。
|
||||
.sp
|
||||
例:
|
||||
\fI*\fRや\fI\-Dmydir\&.*\fRや\fI\-Da\&.b\&.c=*\fRは有効ですが、\fI*mydir\fRや\fI\-Da*b\fRや\fIab*\fRは無効です。
|
||||
例:
|
||||
\fB*\fRや\fB\-Dmydir\&.*\fRや\fB\-Da\&.b\&.c=*\fRは有効ですが、\fB*mydir\fRや\fB\-Da*b\fRや\fBab*\fRは無効です。
|
||||
.sp
|
||||
\fBrmidのポリシー・ファイル\fR
|
||||
\fBrmidのポリシー・ファイル\fR
|
||||
.sp
|
||||
\fIrmid\fRコマンドに様々なコマンドおよびオプションを実行する権限を許可する場合は、権限\fIExecPermission\fRおよび\fIExecOptionPermission\fRをすべてのコード・ソースに付与する必要があります(汎用的に)。これらの権限をチェックするのは\fIrmid\fRコマンドのみなので、これらの権限を汎用的に付与しても安全です。
|
||||
\fBrmid\fRコマンドに様々なコマンドおよびオプションを実行する権限を許可する場合は、権限\fBExecPermission\fRおよび\fBExecOptionPermission\fRをすべてのコード・ソースに付与する必要があります(汎用的に)。これらの権限をチェックするのは\fBrmid\fRコマンドのみなので、これらの権限を汎用的に付与しても安全です。
|
||||
.sp
|
||||
\fIrmid\fRコマンドに各種の実行権限を付与するポリシー・ファイルの例を、次に示します。
|
||||
\fBrmid\fRコマンドに各種の実行権限を付与するポリシー・ファイルの例を、次に示します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
grant {
|
||||
permission com\&.sun\&.rmi\&.rmid\&.ExecPermission
|
||||
"/files/apps/java/jdk1\&.7\&.0/solaris/bin/java";
|
||||
\fBgrant {\fR
|
||||
\fB permission com\&.sun\&.rmi\&.rmid\&.ExecPermission\fR
|
||||
\fB "/files/apps/java/jdk1\&.7\&.0/solaris/bin/java";\fR
|
||||
\fB \fR
|
||||
\fB permission com\&.sun\&.rmi\&.rmid\&.ExecPermission\fR
|
||||
\fB "/files/apps/rmidcmds/*";\fR
|
||||
\fB \fR
|
||||
\fB permission com\&.sun\&.rmi\&.rmid\&.ExecOptionPermission\fR
|
||||
\fB "\-Djava\&.security\&.policy=/files/policies/group\&.policy";\fR
|
||||
\fB \fR
|
||||
\fB permission com\&.sun\&.rmi\&.rmid\&.ExecOptionPermission\fR
|
||||
\fB "\-Djava\&.security\&.debug=*";\fR
|
||||
\fB \fR
|
||||
\fB permission com\&.sun\&.rmi\&.rmid\&.ExecOptionPermission\fR
|
||||
\fB "\-Dsun\&.rmi\&.*";\fR
|
||||
\fB};\fR
|
||||
|
||||
permission com\&.sun\&.rmi\&.rmid\&.ExecPermission
|
||||
"/files/apps/rmidcmds/*";
|
||||
|
||||
permission com\&.sun\&.rmi\&.rmid\&.ExecOptionPermission
|
||||
"\-Djava\&.security\&.policy=/files/policies/group\&.policy";
|
||||
|
||||
permission com\&.sun\&.rmi\&.rmid\&.ExecOptionPermission
|
||||
"\-Djava\&.security\&.debug=*";
|
||||
|
||||
permission com\&.sun\&.rmi\&.rmid\&.ExecOptionPermission
|
||||
"\-Dsun\&.rmi\&.*";
|
||||
};
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
最初に付与されている権限は、\fIrmid\fRコマンドに対し、パス名により明示的に指定される\fIjava\fRコマンドの1\&.7\&.0リリースの実行を許可します。デフォルトでは、\fIjava\&.home\fRにあるバージョンの\fIjava\fRコマンドを使用します。\fIrmid\fRコマンドが使用するのと同じバージョンが使用されるため、そのコマンドは、ポリシー・ファイルで指定する必要はありません。2番目の権限は、\fIrmid\fRコマンドに対して、ディレクトリ\fI/files/apps/rmidcmds\fR内の任意のコマンドの実行権限を許可します。
|
||||
最初に付与されている権限は、\fBrmid\fRコマンドに対し、パス名により明示的に指定される\fBjava\fRコマンドの1\&.7\&.0リリースの実行を許可します。デフォルトでは、\fBjava\&.home\fRにあるバージョンの\fBjava\fRコマンドを使用します。\fBrmid\fRコマンドが使用するのと同じバージョンが使用されるため、そのコマンドは、ポリシー・ファイルで指定する必要はありません。2番目の権限は、\fBrmid\fRコマンドに対して、ディレクトリ\fB/files/apps/rmidcmds\fR内の任意のコマンドの実行権限を許可します。
|
||||
.sp
|
||||
3番目に付与されている権限\fIExecOptionPermission\fRは、\fIrmid\fRコマンドに対して、セキュリティ・ポリシー・ファイルを\fI/files/policies/group\&.policy\fRとして定義している起動グループの開始を許可します。次の権限は、起動グループが\fIjava\&.security\&.debug property\fRを使用することを許可しています。最後の権限は、起動グループが\fIsun\&.rmi property\fR名の階層内の任意のプロパティを使用することを許可しています。
|
||||
3番目に付与されている権限\fBExecOptionPermission\fRは、\fBrmid\fRコマンドに対して、セキュリティ・ポリシー・ファイルを\fB/files/policies/group\&.policy\fRとして定義している起動グループの開始を許可します。次の権限は、起動グループが\fBjava\&.security\&.debug property\fRを使用することを許可しています。最後の権限は、起動グループが\fBsun\&.rmi property\fR名の階層内の任意のプロパティを使用することを許可しています。
|
||||
.sp
|
||||
ポリシー・ファイルを指定して\fIrmid\fRコマンドを起動するには、\fIrmid\fRのコマンドラインで\fIjava\&.security\&.policy\fRプロパティを指定する必要があります。次に例を示します。
|
||||
ポリシー・ファイルを指定して\fBrmid\fRコマンドを起動するには、\fBrmid\fRのコマンド行で\fBjava\&.security\&.policy\fRプロパティを指定する必要があります。次に例を示します。
|
||||
.sp
|
||||
\fIrmid \-J\-Djava\&.security\&.policy=rmid\&.policy\fR\&.
|
||||
\fBrmid \-J\-Djava\&.security\&.policy=rmid\&.policy\fR\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@ -271,21 +277,22 @@ grant {
|
||||
.\}
|
||||
<policyClassName>
|
||||
.sp
|
||||
デフォルトの動作では十分な柔軟性が得られない場合、管理者は、\fIrmid\fRの起動時に、\fIcheckExecCommand\fRメソッドが所属するクラスの名前を指定して、\fIrmid\fRコマンドが実行するコマンドをチェックすることができます。
|
||||
デフォルトの動作では十分な柔軟性が得られない場合、管理者は、\fBrmid\fRの起動時に、\fBcheckExecCommand\fRメソッドが所属するクラスの名前を指定して、\fBrmid\fRコマンドが実行するコマンドをチェックすることができます。
|
||||
.sp
|
||||
\fIpolicyClassName\fRには、引数なしのコンストラクタを持ち、次のような\fIcheckExecCommand\fRメソッドを実装しているpublicクラスを指定します。
|
||||
\fBpolicyClassName\fRには、引数なしのコンストラクタを持ち、次のような\fBcheckExecCommand\fRメソッドを実装しているpublicクラスを指定します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
public void checkExecCommand(ActivationGroupDesc desc, String[] command)
|
||||
throws SecurityException;
|
||||
\fB public void checkExecCommand(ActivationGroupDesc desc, String[] command)\fR
|
||||
\fB throws SecurityException;\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
起動グループを開始する前に、\fIrmid\fRコマンドは、ポリシーの\fIcheckExecCommand\fRメソッドを呼び出します。このとき、起動グループの記述子と、起動グループを開始するための完全なコマンドを含む配列をそのメソッドに渡します。\fIcheckExecCommand\fRが\fISecurityException\fRをスローすると、\fIrmid\fRコマンドはその起動グループを開始せず、オブジェクトの起動を試行している呼出し側には\fIActivationException\fRがスローされます。
|
||||
起動グループを開始する前に、\fBrmid\fRコマンドは、ポリシーの\fBcheckExecCommand\fRメソッドを呼び出します。このとき、起動グループの記述子と、起動グループを開始するための完全なコマンドを含む配列をそのメソッドに渡します。\fBcheckExecCommand\fRが\fBSecurityException\fRをスローすると、\fBrmid\fRコマンドはその起動グループを開始せず、オブジェクトの起動を試行している呼出し側には\fBActivationException\fRがスローされます。
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@ -298,28 +305,29 @@ grant {
|
||||
.\}
|
||||
none
|
||||
.sp
|
||||
\fIsun\&.rmi\&.activation\&.execPolicy\fRプロパティの値が\fInone\fRの場合、\fIrmid\fRコマンドは、起動グループを開始するコマンドをまったく検証しません。
|
||||
\fBsun\&.rmi\&.activation\&.execPolicy\fRプロパティの値が\fBnone\fRの場合、\fBrmid\fRコマンドは、起動グループを開始するコマンドをまったく検証しません。
|
||||
.RE
|
||||
.RE
|
||||
.PP
|
||||
\-log \fIdir\fR
|
||||
.RS 4
|
||||
起動システム・デーモンがデータベースおよび関連情報を書き込むのに使用するディレクトリの名前を指定します。デフォルトでは、\fIrmid\fRコマンドを実行したディレクトリに、logというログ・ディレクトリが作成されます。
|
||||
起動システム・デーモンがデータベースおよび関連情報を書き込むのに使用するディレクトリの名前を指定します。デフォルトでは、\fBrmid\fRコマンドを実行したディレクトリに、logというログ・ディレクトリが作成されます。
|
||||
.RE
|
||||
.PP
|
||||
\-port \fIport\fR
|
||||
.RS 4
|
||||
レジストリが使用するポートを指定します。起動システム・デーモンは、このレジストリの中で、\fIjava\&.rmi\&.activation\&.ActivationSystem\fRという名前で\fIActivationSystem\fRをバインドします。ローカル・マシン上の\fIActivationSystem\fRは、次のように\fINaming\&.lookup\fRメソッドを呼び出すことによって取得できます。
|
||||
レジストリが使用するポートを指定します。起動システム・デーモンは、このレジストリの中で、\fBjava\&.rmi\&.activation\&.ActivationSystem\fRという名前で\fBActivationSystem\fRをバインドします。ローカル・マシン上の\fBActivationSystem\fRは、次のように\fBNaming\&.lookup\fRメソッドを呼び出すことによって取得できます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
import java\&.rmi\&.*;
|
||||
import java\&.rmi\&.activation\&.*;
|
||||
\fBimport java\&.rmi\&.*; \fR
|
||||
\fB import java\&.rmi\&.activation\&.*;\fR
|
||||
\fB \fR
|
||||
\fB ActivationSystem system; system = (ActivationSystem)\fR
|
||||
\fB Naming\&.lookup("//:port/java\&.rmi\&.activation\&.ActivationSystem");\fR
|
||||
|
||||
ActivationSystem system; system = (ActivationSystem)
|
||||
Naming\&.lookup("//:port/java\&.rmi\&.activation\&.ActivationSystem");
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -328,16 +336,16 @@ import java\&.rmi\&.*;
|
||||
.PP
|
||||
\-stop
|
||||
.RS 4
|
||||
\fI\-port\fRオプションによって指定されたポートの、現在の\fIrmid\fRコマンドの呼出しを停止します。ポートが指定されていない場合は、このオプションはポート1098で実行されている\fIrmid\fRの呼出しを停止します。
|
||||
\fB\-port\fRオプションによって指定されたポートの、現在の\fBrmid\fRコマンドの呼出しを停止します。ポートが指定されていない場合は、このオプションはポート1098で実行されている\fBrmid\fRの呼出しを停止します。
|
||||
.RE
|
||||
.SH "環境変数"
|
||||
.SH "環境変数"
|
||||
.PP
|
||||
CLASSPATH
|
||||
.RS 4
|
||||
ユーザー定義クラスへのパスをシステムに指定します。ディレクトリはコロンで区切られます。例:
|
||||
\fI\&.:/usr/local/java/classes\fR
|
||||
ユーザー定義クラスへのパスをシステムに指定します。ディレクトリはコロンで区切られます。例:
|
||||
\fB\&.:/usr/local/java/classes\fR
|
||||
.RE
|
||||
.SH "関連項目"
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
@ -358,7 +366,7 @@ java(1)
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
Setting the Class Path
|
||||
クラス・パスの設定
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: rmiregistry
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Remote Method Invocation (RMI)ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "rmiregistry" "1" "2013年11月21日" "JDK 8" "Remote Method Invocation (RMI)"
|
||||
.\" Title: rmiregistry
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Remote Method Invocation (RMI)ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "rmiregistry" "1" "2013年11月21日" "JDK 8" "Remote Method Invocation (RMI)"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
rmiregistry \- 現在のホストの指定したポート上にリモート・オブジェクト・レジストリを開始します。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
rmiregistry \- 現在のホストの指定したポート上にリモート・オブジェクト・レジストリを開始します。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIrmiregistry\fR [ \fIport\fR ]
|
||||
\fBrmiregistry\fR [ \fIport\fR ]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,36 +66,37 @@ rmiregistry \- 現在のホストの指定したポート上にリモート・
|
||||
.PP
|
||||
\fIport\fR
|
||||
.RS 4
|
||||
リモート・オブジェクト・レジストリを開始する現在のホスト上の\fIport\fRの数。
|
||||
リモート・オブジェクト・レジストリを開始する現在のホスト上の\fBport\fRの数。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIrmiregistry\fRコマンドは、現在のホストの指定したポート上にリモート・オブジェクト・レジストリを作成し、開始します。portの指定を省略した場合、レジストリはポート1099で開始します。\fIrmiregistry\fRコマンドに、出力機能はありません。通常、これはバックグラウンドで実行されます。次に例を示します。
|
||||
\fBrmiregistry\fRコマンドは、現在のホストの指定したポート上にリモート・オブジェクト・レジストリを作成し、開始します。portの指定を省略した場合、レジストリはポート1099で開始します。\fBrmiregistry\fRコマンドに、出力機能はありません。通常、これはバックグラウンドで実行されます。次に例を示します。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
rmiregistry &
|
||||
\fBrmiregistry &\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
リモート・オブジェクト・レジストリは、ブートストラップのネーム・サービスです。同一ホストのRMIサーバーが、リモート・オブジェクトを名前にバインドするために使用されます。次に、ローカルおよびリモート・ホストのクライアントはリモート・オブジェクトを検索し、リモート・メソッドの呼出しを行います。
|
||||
リモート・オブジェクト・レジストリは、ブートストラップのネーム・サービスです。同一ホストのRMIサーバーが、リモート・オブジェクトを名前にバインドするために使用されます。次に、ローカルおよびリモート・ホストのクライアントはリモート・オブジェクトを検索し、リモート・メソッドの呼出しを行います。
|
||||
.PP
|
||||
レジストリは、一般的に、最初のリモート・オブジェクトの位置を指定します。そこで、アプリケーションはメソッドを呼び出す必要があります。その後、そのオブジェクトはアプリケーション指定のサポートを提供し、他のオブジェクトを探します。
|
||||
レジストリは、一般的に、最初のリモート・オブジェクトの位置を指定します。そこで、アプリケーションはメソッドを呼び出す必要があります。その後、そのオブジェクトはアプリケーション指定のサポートを提供し、他のオブジェクトを探します。
|
||||
.PP
|
||||
\fIjava\&.rmi\&.registry\&.LocateRegistry\fRクラスのメソッドは、ローカル・ホスト、またはローカル・ホストとポートで動作するレジストリを取得するために使用されます。
|
||||
\fBjava\&.rmi\&.registry\&.LocateRegistry\fRクラスのメソッドは、ローカル・ホスト、またはローカル・ホストとポートで動作するレジストリを取得するために使用されます。
|
||||
.PP
|
||||
\fIjava\&.rmi\&.Naming\fRクラスのURLベース・メソッドはレジストリに対して操作を実行し、任意のホストおよびローカル・ホストでのリモート・オブジェクトの検索に使用できます。単純名(文字列)をリモート・オブジェクトにバインドし、新しい名前をリモート・オブジェクトに再バインドし(古いバインドをオーバーライド)、リモート・オブジェクトをアンバインドし、レジストリにバインドされているURLをリスト表示します。
|
||||
.SH "オプション"
|
||||
\fBjava\&.rmi\&.Naming\fRクラスのURLベース・メソッドはレジストリに対して操作を実行し、任意のホストおよびローカル・ホストでのリモート・オブジェクトの検索に使用できます。単純名(文字列)をリモート・オブジェクトにバインドし、新しい名前をリモート・オブジェクトに再バインドし(古いバインドをオーバーライド)、リモート・オブジェクトをアンバインドし、レジストリにバインドされているURLをリスト表示します。
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\-J
|
||||
.RS 4
|
||||
Javaオプションとともに使用して、\fI\-J\fRの後ろに続くオプションをJavaインタプリタに引き渡します(\fI\-J\fRとオプションの間にスペースは入れません)。
|
||||
Javaオプションとともに使用して、\fB\-J\fRの後ろに続くオプションをJavaインタプリタに引き渡します(\fB\-J\fRとオプションの間にスペースは入れません)。
|
||||
.RE
|
||||
.SH "関連項目"
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
@ -114,7 +117,7 @@ java(1)
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
\fI「java\&.rmi\&.registry\&.LocateRegistry」\fR(http://docs\&.oracle\&.com/javase/8/docs/api/java/rmi/registry/LocateRegistry\&.html)
|
||||
\fB「java\&.rmi\&.registry\&.LocateRegistry」\fR(http://docs\&.oracle\&.com/javase/8/docs/api/java/rmi/registry/LocateRegistry\&.html)
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@ -125,7 +128,7 @@ java(1)
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
\fI「java\&.rmi\&.Naming class description」\fR(http://docs\&.oracle\&.com/javase/8/docs/api/java/rmi/Naming\&.html)
|
||||
\fB「java\&.rmi\&.Naming class description」\fR(http://docs\&.oracle\&.com/javase/8/docs/api/java/rmi/Naming\&.html)
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: schemagen
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Java Webサービス・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "schemagen" "1" "2013年11月21日" "JDK 8" "Java Webサービス・ツール"
|
||||
.\" Title: schemagen
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Java Webサービス・ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "schemagen" "1" "2013年11月21日" "JDK 8" "Java Webサービス・ツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
schemagen \- Javaクラス内で参照されているネームスペースごとにスキーマを生成します。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
schemagen \- Javaクラス内で参照されているネームスペースごとにスキーマを生成します。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIschemagen\fR [ \fIoptions\fR ] \fIjava\-files\fR
|
||||
\fBschemagen\fR [ \fIoptions\fR ] \fIjava\-files\fR
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,69 +66,70 @@ schemagen \- Javaクラス内で参照されているネームスペースごと
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
コマンドライン・オプション。オプションを参照してください。
|
||||
コマンド行オプション。オプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIjava\-files\fR
|
||||
.RS 4
|
||||
処理するJavaクラス・ファイル。
|
||||
処理するJavaクラス・ファイル。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
スキーマ・ジェネレータは、Javaクラス内で参照されているネームスペースごとに1つのスキーマ・ファイルを作成します。現在、生成されるスキーマ・ファイルの名前は制御できません。スキーマ・ファイル名を制御する場合は、http://jaxb\&.java\&.net/nonav/2\&.2\&.3u1/docs/schemagenTask\&.htmlにある
|
||||
「Using SchemaGen with Ant」を参照してください
|
||||
スキーマ・ジェネレータは、Javaクラス内で参照されているネームスペースごとに1つのスキーマ・ファイルを作成します。現在、生成されるスキーマ・ファイルの名前は制御できません。スキーマ・ファイル名を制御する場合は、http://jaxb\&.java\&.net/nonav/2\&.2\&.3u1/docs/schemagenTask\&.htmlにある
|
||||
「Using SchemaGen with Ant」を参照してください
|
||||
.PP
|
||||
プラットフォームのbinディレクトリにある適切な\fIschemagen\fRシェル・スクリプトを使用して、スキーマ・ジェネレータを起動します。現在のスキーマ・ジェネレータは、Javaソース・ファイルとクラス・ファイルのいずれも処理できます。
|
||||
プラットフォームのbinディレクトリにある適切な\fBschemagen\fRシェル・スクリプトを使用して、スキーマ・ジェネレータを起動します。現在のスキーマ・ジェネレータは、Javaソース・ファイルとクラス・ファイルのいずれも処理できます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
schemagen\&.sh Foo\&.java Bar\&.java \&.\&.\&.
|
||||
Note: Writing schema1\&.xsd
|
||||
\fBschemagen\&.sh Foo\&.java Bar\&.java \&.\&.\&.\fR
|
||||
\fBNote: Writing schema1\&.xsd\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
javaファイルが他のクラスを参照している場合、それらのクラスにシステム\fICLASSPATH\fR環境変数でアクセスできる必要があります。または、クラス・パス・オプションを指定して\fIschemagen\fRコマンド・ラインで指定する必要があります。オプションを参照してください。参照されるファイルにアクセスできない、または参照されるファイルが指定されていない場合、スキーマの生成時にエラーが表示されます。
|
||||
.SH "オプション"
|
||||
javaファイルが他のクラスを参照している場合、それらのクラスにシステム\fBCLASSPATH\fR環境変数でアクセスできる必要があります。または、クラス・パス・オプションを指定して\fBschemagen\fRコマンド行で指定する必要があります。オプションを参照してください。参照されるファイルにアクセスできない、または参照されるファイルが指定されていない場合、スキーマの生成時にエラーが表示されます。
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\-d \fIpath\fR
|
||||
.RS 4
|
||||
\fIschemagen\fRコマンドがプロセッサ生成および\fIjavac\fR生成クラス・ファイルを配置する場所。
|
||||
\fBschemagen\fRコマンドがプロセッサ生成および\fBjavac\fR生成クラス・ファイルを配置する場所。
|
||||
.RE
|
||||
.PP
|
||||
\-cp \fIpath\fR
|
||||
.RS 4
|
||||
\fIschemagen\fRコマンドがユーザー指定ファイルを配置する場所。
|
||||
\fBschemagen\fRコマンドがユーザー指定ファイルを配置する場所。
|
||||
.RE
|
||||
.PP
|
||||
\-classpath \fIpath\fR
|
||||
.RS 4
|
||||
\fIschemagen\fRコマンドがユーザー指定ファイルを配置する場所。
|
||||
\fBschemagen\fRコマンドがユーザー指定ファイルを配置する場所。
|
||||
.RE
|
||||
.PP
|
||||
\-encoding \fIencoding\fR
|
||||
.RS 4
|
||||
\fIapt\fRまたは\fIjavac\fRコマンドの呼出しに使用するエンコーディングを指定します。
|
||||
\fBapt\fRまたは\fBjavac\fRコマンドの呼出しに使用するエンコーディングを指定します。
|
||||
.RE
|
||||
.PP
|
||||
\-episode \fIfile\fR
|
||||
.RS 4
|
||||
コンパイルごとにエピソード・ファイルを生成します。
|
||||
コンパイルごとにエピソード・ファイルを生成します。
|
||||
.RE
|
||||
.PP
|
||||
\-version
|
||||
.RS 4
|
||||
リリース情報を表示します。
|
||||
リリース情報を表示します。
|
||||
.RE
|
||||
.PP
|
||||
\-help
|
||||
.RS 4
|
||||
ヘルプ・メッセージを表示します。
|
||||
ヘルプ・メッセージを表示します。
|
||||
.RE
|
||||
.SH "関連項目"
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: serialver
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Remote Method Invocation (RMI)ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "serialver" "1" "2013年11月21日" "JDK 8" "Remote Method Invocation (RMI)"
|
||||
.\" Title: serialver
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Remote Method Invocation (RMI)ツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "serialver" "1" "2013年11月21日" "JDK 8" "Remote Method Invocation (RMI)"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
serialver \- 指定したクラスのシリアル・バージョンUIDを戻します。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
serialver \- 指定したクラスのシリアル・バージョンUIDを戻します。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIserialver\fR [ \fIoptions\fR ] [ \fIclassnames\fR ]
|
||||
\fBserialver\fR [ \fIoptions\fR ] [ \fIclassnames\fR ]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,58 +66,60 @@ serialver \- 指定したクラスのシリアル・バージョンUIDを戻し
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
コマンドライン・オプション。オプションを参照してください。
|
||||
コマンド行オプション。オプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIclassnames\fR
|
||||
.RS 4
|
||||
\fIserialVersionUID\fRを戻すクラスです。
|
||||
\fBserialVersionUID\fRを戻すクラスです。
|
||||
.RE
|
||||
.SH "説明"
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIserialver\fRコマンドは、1つ以上のクラスの\fIserialVersionUID\fRを、展開しているクラスへコピーするのに適した形式で返します。引数なしで呼び出された場合、\fIserialver\fRコマンドは使用率行を出力します。
|
||||
.SH "オプション"
|
||||
\fBserialver\fRコマンドは、1つ以上のクラスの\fBserialVersionUID\fRを、展開しているクラスへコピーするのに適した形式で返します。引数なしで呼び出された場合、\fBserialver\fRコマンドは使用率行を出力します。
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\-classpath \fIpath\-files\fR
|
||||
.RS 4
|
||||
アプリケーションのクラスおよびリソースの検索パスを設定します。クラスとリソースをコロン(:)で区切ります。
|
||||
アプリケーションのクラスおよびリソースの検索パスを設定します。クラスとリソースをコロン(:)で区切ります。
|
||||
.RE
|
||||
.PP
|
||||
\-show
|
||||
.RS 4
|
||||
簡単なユーザー・インタフェースを表示します。完全指定のクラス名を入力して、Enterキーか「表示」ボタンを押し、\fIserialVersionUID\fRを表示します。
|
||||
簡単なユーザー・インタフェースを表示します。完全指定のクラス名を入力して、Enterキーか「表示」ボタンを押し、\fBserialVersionUID\fRを表示します。
|
||||
.RE
|
||||
.PP
|
||||
\-J\fIoption\fR
|
||||
.RS 4
|
||||
Java仮想マシンに\fIoption\fRを渡します。optionには、Javaアプリケーション起動ツールのリファレンス・ページに記載されているオプションを1つ指定します。たとえば、\fI\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。java(1)を参照してください。
|
||||
Java Virtual Machineに\fBoption\fRを渡します。optionには、Javaアプリケーション起動ツールのリファレンス・ページに記載されているオプションを1つ指定します。たとえば、\fB\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。java(1)を参照してください。
|
||||
.RE
|
||||
.SH "注意"
|
||||
.SH "注意"
|
||||
.PP
|
||||
\fIserialver\fRコマンドは、指定されたクラスをその仮想マシン内に読み込んで初期化しますが、デフォルトではセキュリティ・マネージャの設定は行いません。信頼できないクラスとともに\fIserialver\fRコマンドを実行する場合には、次のオプションを使用してセキュリティ・マネージャを設定できます。
|
||||
\fBserialver\fRコマンドは、指定されたクラスをその仮想マシン内に読み込んで初期化しますが、デフォルトではセキュリティ・マネージャの設定は行いません。信頼できないクラスとともに\fBserialver\fRコマンドを実行する場合には、次のオプションを使用してセキュリティ・マネージャを設定できます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\-J\-Djava\&.security\&.manager
|
||||
\fB\-J\-Djava\&.security\&.manager\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
必要であれば、次のオプションを使用してセキュリティ・ポリシーを指定できます。
|
||||
必要であれば、次のオプションを使用してセキュリティ・ポリシーを指定できます。
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\-J\-Djava\&.security\&.policy=<policy file>
|
||||
\fB\-J\-Djava\&.security\&.policy=<policy file>\fR
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "関連項目"
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
@ -136,8 +140,8 @@ policytool(1)
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
http://docs\&.oracle\&.com/javase/8/docs/api/java/io/ObjectStreamClass\&.htmlにある
|
||||
\fIjava\&.io\&.ObjectStream\fRクラス記述
|
||||
http://docs\&.oracle\&.com/javase/8/docs/api/java/io/ObjectStreamClass\&.htmlにある
|
||||
\fBjava\&.io\&.ObjectStream\fRクラス記述
|
||||
.RE
|
||||
.br
|
||||
'pl 8.5i
|
||||
|
||||
@ -1,12 +1,5 @@
|
||||
'\" t
|
||||
.\" Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" Title: servertool
|
||||
.\" Language: English
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Java IDLおよびRMI-IIOPツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\"
|
||||
.\" Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
.\"
|
||||
.\" This code is free software; you can redistribute it and/or modify it
|
||||
@ -15,7 +8,7 @@
|
||||
.\"
|
||||
.\" This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
.\" version 2 for more details (a copy is included in the LICENSE file that
|
||||
.\" accompanied this code).
|
||||
.\"
|
||||
@ -27,8 +20,17 @@
|
||||
.\" or visit www.oracle.com if you need additional information or have any
|
||||
.\" questions.
|
||||
.\"
|
||||
.pl 99999
|
||||
.TH "servertool" "1" "2013年11月21日" "JDK 8" "Java IDLおよびRMI-IIOPツール"
|
||||
.\" Title: servertool
|
||||
.\" Language: Japanese
|
||||
.\" Date: 2013年11月21日
|
||||
.\" SectDesc: Java IDLおよびRMI-IIOPツール
|
||||
.\" Software: JDK 8
|
||||
.\" Arch: 汎用
|
||||
.\" Part Number: E58103-01
|
||||
.\" Doc ID: JSSON
|
||||
.\"
|
||||
.if n .pl 99999
|
||||
.TH "servertool" "1" "2013年11月21日" "JDK 8" "Java IDLおよびRMI-IIOPツール"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@ -48,15 +50,15 @@
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * MAIN CONTENT STARTS HERE *
|
||||
.\" -----------------------------------------------------------------
|
||||
.SH "NAME"
|
||||
servertool \- 開発者が永続サーバーを登録、登録解除、起動、停止するための使いやすいユーザー・インタフェースを提供します。
|
||||
.SH "概要"
|
||||
.SH "名前"
|
||||
servertool \- 開発者が永続サーバーを登録、登録解除、起動、停止するための使いやすいユーザー・インタフェースを提供します。
|
||||
.SH "概要"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\fIservertool\fR \-ORBInitialPort \fInameserverport\fR [ \fIoptions\fR ] [ \fIcommands \fR]
|
||||
\fBservertool\fR \-ORBInitialPort \fInameserverport\fR [ \fIoptions\fR ] [ \fIcommands \fR]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
@ -64,35 +66,35 @@ servertool \- 開発者が永続サーバーを登録、登録解除、起動、
|
||||
.PP
|
||||
\fIoptions\fR
|
||||
.RS 4
|
||||
コマンドライン・オプション。オプションを参照してください。
|
||||
コマンド行オプション。オプションを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
commands
|
||||
.RS 4
|
||||
コマンドライン・コマンド。コマンドを参照してください。
|
||||
コマンド行コマンド。コマンドを参照してください。
|
||||
.RE
|
||||
.PP
|
||||
\fIservertool\fR\fIservertool >\fR\fIservertool >\fR
|
||||
.SH "説明"
|
||||
\fBservertool\fR\fBservertool >\fR\fBservertool >\fR
|
||||
.SH "説明"
|
||||
.PP
|
||||
\fIservertool\fRコマンドは、開発者が永続サーバーを登録、登録解除、起動、停止するためのコマンドライン・インタフェースを提供します。コマンドライン・コマンドを使用すると、サーバーに関する様々な統計情報を取得できます。コマンドを参照してください。
|
||||
.SH "オプション"
|
||||
\fBservertool\fRコマンドは、開発者が永続サーバーを登録、登録解除、起動、停止するためのコマンド行インタフェースを提供します。コマンド行コマンドを使用すると、サーバーに関する様々な統計情報を取得できます。コマンドを参照してください。
|
||||
.SH "オプション"
|
||||
.PP
|
||||
\-ORBInitialHost \fInameserverhost\fR
|
||||
.RS 4
|
||||
このオプションは必須です。ネーム・サーバーが実行され、着信リクエストをリスニングするホスト・マシンを指定します。\fInameserverhost\fR値は、\fIorb\fRが実行され、リクエストをリスニングしているポートを指定する必要があります。このオプションを指定しない場合、値はデフォルトで\fIlocalhost\fRに設定されます。\fIorbd\fRと\fIservertool\fRが異なるマシン上で実行されている場合は、\fIorbd\fRが実行されているホストの名前またはIPアドレスを指定する必要があります。
|
||||
このオプションは必須です。ネーム・サーバーが実行され、着信リクエストをリスニングするホスト・マシンを指定します。\fBnameserverhost\fR値は、\fBorb\fRが実行され、リクエストをリスニングしているポートを指定する必要があります。このオプションを指定しない場合、値はデフォルトで\fBlocalhost\fRに設定されます。\fBorbd\fRと\fBservertool\fRが異なるマシン上で実行されている場合は、\fBorbd\fRが実行されているホストの名前またはIPアドレスを指定する必要があります。
|
||||
.sp
|
||||
\fB注意:\fR
|
||||
Oracle Solarisでは、1024より小さいポート上でプロセスを開始するには、rootユーザーになる必要があります。\fInameserverport\fR値には、1024以上のポート番号を使用することをお薦めします。
|
||||
\fB注意:\fR
|
||||
Oracle Solarisでは、1024より小さいポート上でプロセスを開始するには、rootユーザーになる必要があります。\fBnameserverport\fR値には、1024以上のポート番号を使用することをお薦めします。
|
||||
.RE
|
||||
.PP
|
||||
\-J\fIoption\fR
|
||||
.RS 4
|
||||
Java仮想マシンに\fIoption\fRを渡します。\fIoption\fRには、Javaアプリケーション起動ツールのリファレンス・ページに記載されているオプションを1つ指定します。たとえば、\fI\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。java(1)を参照してください。
|
||||
Java Virtual Machineに\fBoption\fRを渡します。\fBoption\fRには、Javaアプリケーション起動ツールのリファレンス・ページに記載されているオプションを1つ指定します。たとえば、\fB\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。java(1)を参照してください。
|
||||
.RE
|
||||
.SH "コマンド"
|
||||
.SH "コマンド"
|
||||
.PP
|
||||
\fIservertool\fRコマンドは、コマンドライン・コマンドを使用して、または使用せずに起動できます。
|
||||
\fBservertool\fRコマンドは、コマンド行コマンドを使用して、または使用せずに起動できます。
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
@ -102,8 +104,8 @@ Java仮想マシンに\fIoption\fRを渡します。\fIoption\fRには、Javaア
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
\fIservertool\fRの起動時にコマンドを指定しなかった場合、コマンドライン・ツールにコマンド入力を求める\fIservertool\fRプロンプトが表示されます:
|
||||
\fIservertool >\fR。
|
||||
\fBservertool\fRの起動時にコマンドを指定しなかった場合、コマンド行ツールにコマンド入力を求める\fBservertool\fRプロンプトが表示されます:
|
||||
\fBservertool >\fR。
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@ -114,75 +116,75 @@ Java仮想マシンに\fIoption\fRを渡します。\fIoption\fRには、Javaア
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
\fIservertool\fRの起動時にコマンドを指定した場合、Java IDL Server Toolが起動してコマンドを実行し、終了します。
|
||||
\fBservertool\fRの起動時にコマンドを指定した場合、Java IDL Server Toolが起動してコマンドを実行し、終了します。
|
||||
.RE
|
||||
.PP
|
||||
register \-server \fIserver\-class\-name\fR \-classpath \fIclasspath\-to\-server\fR [ \-applicationName \fIapplication\-name\fR \-args \fIargs\-to\-server\fR \-vmargs \fIflags\-for\-JVM\fR ]
|
||||
.RS 4
|
||||
Object Request Broker Daemon (ORBD)に新規永続サーバーを登録します。サーバーが未登録の場合、登録してアクティブ化します。このコマンドによって、\fI\-server\fRオプションで識別されるサーバーの\fIメイン\fR・クラス内でインストール・メソッドが呼び出されます。このインストール・メソッドは、\fIpublic static void install(org\&.omg\&.CORBA\&.ORB)\fRになっている必要があります。インストール・メソッドはオプションであり、開発者はデータベース・スキーマの作成など独自のサーバー・インストール動作を指定できます。
|
||||
Object Request Broker Daemon (ORBD)に新規永続サーバーを登録します。サーバーが未登録の場合、登録してアクティブ化します。このコマンドによって、\fB\-server\fRオプションで識別されるサーバーの\fBメイン\fR・クラス内でインストール・メソッドが呼び出されます。このインストール・メソッドは、\fBpublic static void install(org\&.omg\&.CORBA\&.ORB)\fRになっている必要があります。インストール・メソッドはオプションであり、開発者はデータベース・スキーマの作成など独自のサーバー・インストール動作を指定できます。
|
||||
.RE
|
||||
.PP
|
||||
unregister \-serverid \fIserver\-id\fR | \-applicationName \fIapplication\-name\fR
|
||||
.RS 4
|
||||
サーバーIDまたはアプリケーション名で、サーバーをORBDから登録解除します。このコマンドによって、\fI\-server\fRオプションで識別されるサーバーの\fIメイン\fR・クラス内でアンインストール・メソッドが呼び出されます。
|
||||
\fIuninstall\fRメソッドは、\fIpublic static void uninstall(org\&.omg\&.CORBA\&.ORB)\fRになっている必要があります。\fIuninstall\fRメソッドはオプションであり、開発者は\fIinstall\fRメソッドの動作の取消など、独自のサーバー・アンインストール動作を指定できます。
|
||||
サーバーIDまたはアプリケーション名で、サーバーをORBDから登録解除します。このコマンドによって、\fB\-server\fRオプションで識別されるサーバーの\fBメイン\fR・クラス内でアンインストール・メソッドが呼び出されます。
|
||||
\fBuninstall\fRメソッドは、\fBpublic static void uninstall(org\&.omg\&.CORBA\&.ORB)\fRになっている必要があります。\fBuninstall\fRメソッドはオプションであり、開発者は\fBinstall\fRメソッドの動作の取消など、独自のサーバー・アンインストール動作を指定できます。
|
||||
.RE
|
||||
.PP
|
||||
getserverid \-applicationName \fIapplication\-name\fR
|
||||
.RS 4
|
||||
\fIapplication\-name\fR値に対応するサーバーIDを返します。
|
||||
\fBapplication\-name\fR値に対応するサーバーIDを返します。
|
||||
.RE
|
||||
.PP
|
||||
list
|
||||
.RS 4
|
||||
ORBDに登録されているすべての永続サーバーに関する情報を一覧表示します。
|
||||
ORBDに登録されているすべての永続サーバーに関する情報を一覧表示します。
|
||||
.RE
|
||||
.PP
|
||||
listappnames
|
||||
.RS 4
|
||||
現在ORBDに登録されているすべてのサーバーのアプリケーション名を一覧表示します。
|
||||
現在ORBDに登録されているすべてのサーバーのアプリケーション名を一覧表示します。
|
||||
.RE
|
||||
.PP
|
||||
listactive
|
||||
.RS 4
|
||||
ORBDによって起動され、現在実行されているすべての永続サーバーに関する情報を一覧表示します。
|
||||
ORBDによって起動され、現在実行されているすべての永続サーバーに関する情報を一覧表示します。
|
||||
.RE
|
||||
.PP
|
||||
locate \-serverid \fIserver\-id\fR | \-applicationName \fIapplication\-name\fR [ \-endpointType \fIendpointType\fR ]
|
||||
.RS 4
|
||||
登録されたサーバーで作成したすべてのORBの特定のタイプについてエンドポイント(ポート)を検出します。サーバーが実行されていない場合、アクティブ化されます。\fIendpointType\fR値が指定されていない場合、サーバーのORBごとに関連付けられているplainタイプまたはnon\-protectedタイプのエンドポイントが返されます。
|
||||
登録されたサーバーで作成したすべてのORBの特定のタイプについてエンドポイント(ポート)を検出します。サーバーが実行されていない場合、アクティブ化されます。\fBendpointType\fR値が指定されていない場合、サーバーのORBごとに関連付けられているplainタイプまたはnon\-protectedタイプのエンドポイントが返されます。
|
||||
.RE
|
||||
.PP
|
||||
locateperorb \-serverid \fIserver\-id\fR | \-applicationName \fIapplication\-name\fR [ \-orbid \fIORB\-name\fR ]
|
||||
.RS 4
|
||||
登録されたサーバーの特定のObject Request Broker (ORB)で登録されたエンドポイント(ポート)を検出します。サーバーが実行されていない場合、アクティブ化されます。\fIorbid\fRが指定されていない場合、デフォルト値の\fI""\fRが\fIorbid\fRに割り当てられます。ORBが空文字列の\fIorbid\fRで作成されている場合、登録したポートがすべて返されます。
|
||||
登録されたサーバーの特定のObject Request Broker (ORB)で登録されたエンドポイント(ポート)を検出します。サーバーが実行されていない場合、アクティブ化されます。\fBorbid\fRが指定されていない場合、デフォルト値の\fB""\fRが\fBorbid\fRに割り当てられます。ORBが空文字列の\fBorbid\fRで作成されている場合、登録したポートがすべて返されます。
|
||||
.RE
|
||||
.PP
|
||||
orblist \-serverid \fIserver\-id\fR | \-applicationName \fIapplication\-name\fR
|
||||
.RS 4
|
||||
サーバー上に定義されたORBの\fIORBId\fRを一覧表示します。\fIORBId\fRはサーバーで作成されたORBの文字列名です。サーバーが実行されていない場合、アクティブ化されます。
|
||||
サーバー上に定義されたORBの\fBORBId\fRを一覧表示します。\fBORBId\fRはサーバーで作成されたORBの文字列名です。サーバーが実行されていない場合、アクティブ化されます。
|
||||
.RE
|
||||
.PP
|
||||
shutdown \-serverid \fIserver\-id\fR | \-applicationName application\-name
|
||||
.RS 4
|
||||
ORBDに登録されたアクティブなサーバーを停止します。このコマンドの実行中に、\fI\-serverid\fRパラメータまたは\fI\-applicationName\fRパラメータで指定されたクラス内に定義された\fIshutdown\fRメソッドも呼び出されてサーバー・プロセスを停止します。
|
||||
ORBDに登録されたアクティブなサーバーを停止します。このコマンドの実行中に、\fB\-serverid\fRパラメータまたは\fB\-applicationName\fRパラメータで指定されたクラス内に定義された\fBshutdown\fRメソッドも呼び出されてサーバー・プロセスを停止します。
|
||||
.RE
|
||||
.PP
|
||||
startup \-serverid \fIserver\-id\fR | \-applicationName application\-name
|
||||
.RS 4
|
||||
ORBDに登録されたサーバーを起動またはアクティブ化します。サーバーが実行されていない場合、このコマンドがサーバーを起動します。サーバーがすでに実行されている場合は、エラー・メッセージが表示されます。
|
||||
ORBDに登録されたサーバーを起動またはアクティブ化します。サーバーが実行されていない場合、このコマンドがサーバーを起動します。サーバーがすでに実行されている場合は、エラー・メッセージが表示されます。
|
||||
.RE
|
||||
.PP
|
||||
help
|
||||
.RS 4
|
||||
\fIservertool\fRコマンドを介してサーバーが利用できるすべてのコマンドをリストします。
|
||||
\fBservertool\fRコマンドを介してサーバーが利用できるすべてのコマンドをリストします。
|
||||
.RE
|
||||
.PP
|
||||
quit
|
||||
.RS 4
|
||||
\fIservertool\fRコマンドを終了します。
|
||||
\fBservertool\fRコマンドを終了します。
|
||||
.RE
|
||||
.SH "関連項目"
|
||||
.SH "関連項目"
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user