ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

This manual page is associated with the Mac OS X developer tools. The software or headers described may not be present on your Mac OS X installation until you install the developer tools package. This package is available on your Mac OS X installation DVD, and the latest versions can be downloaded from developer.apple.com.

For more information about the manual page format, see the manual page for manpages(5).



extcheck(1)                                                                                      extcheck(1)



NAME
       extcheck - jar conflict detection utility

SYNOPSIS
       extcheck [ -verbose ] [ -Joption ] targetfile.jar

DESCRIPTION
       The  extcheck utility checks a specified jar file for title and version conflicts with any extensions
       installed in the JDK software.  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.

       The  extcheck utility compares the Specification-title and Specification-version headers in the mani-fest manifest
       fest of targetfile.jar file against the corresponding headers in all Jar files currently installed in
       the  extension  directory.  (The extension directory is jre/lib/ext by default.) The extcheck utility
       compares version numbers in the same way as the method java.lang.Package.isCompatibleWith.

       If no conflict is detected, the return code is 0.

       If the manifest of any jar file in the extensions directory has the same Specification-title and  the
       same  or  a  newer  Specification-version number, a non-zero error code is returned. A non-zero error
       code is also returned if targetfile.jar does not have the Specification-title  or  Specification-ver-sion Specification-version
       sion attributes in its manifest.

OPTIONS
       The following options are supported:

       -verbose       Lists  jar  files in the extension directory as they are checked.  Additionally, mani-fest manifest
                      fest attributes of the target  jar  file  and  any  conflicting  jar  files  are  also
                      reported.

       -Joption       Pass  option to the Java virtual machine, where option is one of the options described
                      on the man page for the java application launcher, java(1).   For  example,  -J-Xms48m
                      sets the startup memory to 48 megabytes.

SEE ALSO
       jar(1)



                                                13 June 2000                                     extcheck(1)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.