All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class utilities.AS400ToolboxInstaller

java.lang.Object
   |
   +----utilities.AS400ToolboxInstaller

public class AS400ToolboxInstaller
extends Object

The AS400ToolboxInstaller class is used to install, update, compare, and uninstall the AS/400 Toolbox for Java packages. Note that this class writes to the local file system, so it may fail if used in an applet.

The AS400ToolboxInstaller class can be included in the user's program, or it can be run as a command line program, as follows:

 java utilities.AS400ToolboxInstaller [ options ]
 

Options

-install
Indicates that the specified packages are to be installed. If the -package option is not specified, all packages will be installed. The source and target options must be specified when using this option. The -install option may be abbreviated to -i.
-uninstall
Indicates that the specified packages are to be removed. The package and target options must be specified when using this option. The -uninstall option may be abbreviated to -u.
-compare
Indicates that the source package with be compared with the target package to determine if an update is needed. The package, source, and target options must be specified when using this option. The -compare option may be abbreviated to -c.
-package package1[,package2[, ...]]
Specifies the package to install, compare, or uninstall. If -package is specified, at least one package name must be specified. The -package option may be abbreviated to -p.
-source sourceURL
Specifies the location of the source files. The HTTP server is used to access the files. The system name or the fully-qualified URL may be specified. If the system name is specified, it will automatically be converted to the URL where the licensed program installed the files. For example, if mySystem is specified, http://mySystem/QIBM/ProdData/HTTP/Public/jt400/ will be used. The -source option may be abbreviated to -s.
-target targetDirectory
Specifies the fully-qualified path name of where to store the files. The -target option may be abbreviated to -t.
-prompt
Specifies that the user will be prompted before updating the packages on the workstation. If not specified, the packages will be updated. The -prompt option may be abbreviated to -pr.
-?
Displays the help text.
-help
Displays the help text. The -help parameter may be abbreviated to -h.

Install Example