Name

uninstjar — Uninstalls one or more previously installed jar files

Synopsis

uninstjar -all | -f file | -i index [-f file | -i index [...]]

Description

This command uninstalls previously installed jar files that contain additional shell commands. Once uninstalled, the commands available in that jar file are no longer available to the shell. An arbitrary number of jar files to uninstall can be given by supplying the paths to the jar files themselves or through their indexes, which can be obtained by invoking the instjars command with no arguments. The list of installed jar files is stored in the instjars environment variable.

Example

To uninstall a jar file by supplying the path:

JXTA>uninstjar -f c:/userlib/usrcmds.jar

Note that the pathname in this command always uses a forward slash, regardless of the platform on which you’re running.

To uninstall a jar file by its index:

JXTA>instjar
0 c:/userlib/usrcmds.jar
1 c:/userlib/toolcmds.jar
JXTA>uninstjar -i 1

To uninstall all jar files:

JXTA>uninstjar -all

See Also

instjar

Get JXTA in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.