jdk/src/linux/doc/man/ja/extcheck.1
author jjg
Tue, 11 Mar 2008 13:14:55 -0700
changeset 168 25697c18650b
parent 2 90ce3da70b43
child 2692 345bc8d65b19
permissions -rw-r--r--
6307187: clean up code for -Xlint:options Summary: introduce common code for handling one-of and any-of options Reviewed-by: mcimadamore
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
'\" t
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
.\" Copyright 2000-2006 Sun Microsystems, Inc.  All Rights Reserved.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
.\" This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
.\" under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
.\" published by the Free Software Foundation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
.\" This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
.\" version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
.\" accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
.\" You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
.\" 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
.\" Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
.\" CA 95054 USA or visit www.sun.com if you need additional information or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
.\" have any questions.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
.\" `
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
'\"macro stdmacro
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
.TH extcheck 1 "2006 年 9 月 4 日" "Java SE 6" "ユーザーコマンド"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
.SH "名前"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
extcheck \- jar の競合検出ユーティリティ
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
\f3extcheck\fP は、ターゲットの jar ファイルと現在インストールされている拡張機能の jar ファイル間のバージョンの競合を検出します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
.SH "形式"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
.B extcheck 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
[ 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
.B \-verbose 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
] 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
.B targetfile.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
.SH "機能説明"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
.IX "jar conflict detection utility" "" "jar conflict detection utility \(em \fLextcheck\fP"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
.IX "extcheck" "" "\fLextcheck\fP \(em jar conflict detection utility"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
.B extcheck 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
ユーティリティは、指定された
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
.B jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
ファイルのタイトルおよびバージョンが Java(TM) SDK 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
ソフトウェアにインストールされている拡張機能と競合していないかを
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
検査します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
拡張機能をインストールする前に、このユーティリティを使って、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
バージョンが同じか、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
より新しい拡張機能がすでにインストールされていないかどうかを調べる
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
ことができます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
.B extcheck
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
ユーティリティは、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
.I targetfile.jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
ファイルのマニフェスト内のヘッダ
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
.I Specification-title 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
および 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
.I Specification-version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
を、拡張機能ディレクトリ内に現在インストールされているすべての jar 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
ファイル内の対応するヘッダと比較します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
デフォルトでは、拡張機能ディレクトリは、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
.I jre/lib/ext
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
です。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
.B extcheck 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
ユーティリティは、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
.I java.lang.Package.isCompatibleWith
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
メソッドと同様の方法でバージョン番号を比較します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
競合が検出されない場合、リターンコードは
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
.I 0 です。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
拡張機能ディレクトリ内の 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
.B jar 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
ファイルのマニフェストに、同一の 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
.I Specification-title、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
および同一またはより新しい 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
.I Specification-version 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
番号がある場合、ゼロでないエラー
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
コードが返されます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
.I targetfile.jar 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
のマニフェストに 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
.I Specification-title 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
または 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
.I Specification-version 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
属性がない場合も、ゼロでないエラーコードが返されます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
.SH "オプション"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
以下のオプションが指定できます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
.TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
.B -verbose
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
拡張機能ディレクトリ内の
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
.B jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
ファイルを、検査時に一覧表示します。また、ターゲット 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
.B jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
ファイルのマニフェストの属性、および競合する
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
.B jar
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
ファイルについても報告します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
.TP 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
.BI \-J "option"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
.I option
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
を Java 仮想マシンに渡します。ここで、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
.I option
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
は、Java アプリケーション起動プログラム java(1) のマニュアルページで
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
説明されているオプションの 1 つです。たとえば、-J-Xms48m
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
は、起動時に使用するメモリを 48M バイトに設定します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
.SH "関連項目"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
.BR jar (1)