extcheck.1 revision 2362
4880N/A." Copyright 2002-2006 Sun Microsystems, Inc. All Rights Reserved.
4601N/A." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4601N/A."
4601N/A." This code is free software; you can redistribute it and/or modify it
4601N/A." under the terms of the GNU General Public License version 2 only, as
4601N/A." published by the Free Software Foundation.
4601N/A."
4601N/A." This code is distributed in the hope that it will be useful, but WITHOUT
4601N/A." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4601N/A." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4601N/A." version 2 for more details (a copy is included in the LICENSE file that
4601N/A." accompanied this code).
4601N/A."
4601N/A." You should have received a copy of the GNU General Public License version
4601N/A." 2 along with this work; if not, write to the Free Software Foundation,
4601N/A." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4601N/A."
4601N/A." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4601N/A." or visit www.oracle.com if you need additional information or have any
4601N/A." questions.
4601N/A."
5183N/A.TH extcheck 1 "04 May 2009"
4601N/A." Generated from HTML by html2man (author: Eric Armstrong)
4601N/A
4601N/A.LP
4601N/A.SH "Name"
4880N/Aextcheck \- A utility to detect jar conflicts
4880N/A.LP
4880N/A.RS 3
4601N/A
4601N/A.LP
4601N/A.LP
4601N/A\f3extcheck\fP detects version conflicts between a target jar file and currently installed extension jar files.
4601N/A.LP
4601N/A.RE
4880N/A.SH "SYNOPSIS"
4601N/A.LP
4880N/A
4601N/A.LP
4880N/A.nf
4601N/A\f3
4880N/A.fl
4601N/Aextcheck [ \-verbose ] targetfile.jar
4601N/A.fl
4601N/A\fP
4601N/A.fi
4601N/A
4601N/A.LP
4601N/A.SH "DESCRIPTION"
4880N/A.LP
4880N/A
4880N/A.LP
4880N/A.LP
4880N/AThe \f3extcheck\fP utility checks a specified Jar file for title and version conflicts with any extensions installed in the Java(TM) SDK. Before installing an extension, you can use this utility to see if the same or a more recent version of the extension is already installed.
4880N/A.LP
4880N/A.LP
4880N/AThe \f3extcheck\fP utility compares the \f2Specification\-title\fP and \f2Specification\-version\fP headers in the manifest of the \f2targetfile.jar\fP file against the corresponding headers in all Jar files currently installed in the extension directory. (The extension directory is \f2jre/lib/ext\fP by default.) The \f3extcheck\fP utility compares version numbers in the same way as the method \f2java.lang.Package.isCompatibleWith\fP.
4601N/A.LP
5183N/A.LP
4880N/AIf no conflict is detected, the return code is \f20\fP.
4880N/A.LP
4880N/A.LP
4880N/AIf the manifest of any jar file in the extensions directory has the same \f2Specification\-title\fP and the same or a newer \f2Specification\-version\fP number, a non\-zero error code is returned. A non\-zero error code is also returned if \f2targetfile.jar\fP does not have the \f2Specification\-title\fP or \f2Specification\-version\fP attributes in its manifest.
4880N/A.LP
4880N/A.SH "OPTIONS"
4880N/A.LP
4601N/A
4601N/A.LP
4601N/A.RS 3
4601N/A.TP 3
4601N/A\-verbose
4601N/ALists Jar files in the extension directory as they are checked. Additionally, manifest attributes of the target jar file and any conflicting jar files are also reported.
4601N/A.TP 3
4601N/A\-Joption
4880N/APass \f2option\fP to the Java virtual machine, where \f2option\fP is one of the options described on the reference page for the java(1). For example, \f3\-J\-Xms48m\fP sets the startup memory to 48 megabytes.
4601N/A.RE
4601N/A
4880N/A.LP
4601N/A.SH "SEE ALSO"
4601N/A.LP
4880N/A
4601N/A.LP
4601N/A.LP
4601N/Ajar(1)
4601N/A.LP
4601N/A
4601N/A.LP
4601N/A
4880N/A