1extcheck(1)                       Basic Tools                      extcheck(1)
2
3
4

NAME

6       extcheck - Detects version conflicts between a target Java Archive
7       (JAR) file and currently installed extension JAR files.
8

SYNOPSIS

10       extcheck [options] targetfile.jar
11
12
13       options
14              The command-line options. See Options.
15
16       targetfile.jar
17              The target JAR file against which the currently installed
18              extension JAR files are compared to detect version conflicts.
19

DESCRIPTION

21       The extcheck command checks a specified JAR file for title and version
22       conflicts with any extensions installed in the Java SE SDK. Before
23       installing an extension, you can use this utility to see whether the
24       same or a more recent version of the extension is already installed.
25
26       The extcheck command compares the Specification-title and
27       Specification-version headers in the manifest of the targetfile.jar
28       file against the corresponding headers in all JAR files currently
29       installed in the extension directory. By default, the extension
30       directory is jre/lib/ext on Oracle Solaris and \jre\lib\ext on Windows.
31       The extcheck command compares version numbers in the same way as the
32       java.lang.Package.isCompatibleWith method.
33
34       If no conflict is detected, then the return code is 0.
35
36       If the manifest of any JAR file in the extensions directory has the
37       same Specification-title and the same or a newer Specification-version
38       number, then a non-zero error code is returned. A non-zero error code
39       is also returned when targetfile.jar does not have the Specification-
40       title or Specification-version attributes in its manifest file.
41

OPTIONS

43       -verbose
44              Lists JAR files in the extension directory as they are checked.
45              Additionally, manifest attributes of the target JAR file and any
46              conflicting JAR files are also reported.
47
48       -Joption
49              Passes option to the Java Virtual Machine (JVM), where option is
50              one of the options described on the reference page for the Java
51              launcher. For example, -J-Xms48m sets the startup memory to 48
52              MB. See java(1).
53

SEE ALSO

55       ยท jar(1)
56
57
58
59JDK 8                          21 November 2013                    extcheck(1)
Impressum