To upload JAR files, select Team -> Upload JAR Files.
This function allows you to copy supporting JAR files to the SCLM host machine to enable the building of Java™ files with dependent libraries (JARs). The Library Selection dialog allows you to select the destination directory using Unix file system naming conventions. This is the location where the JAR files will be copied. For example, /usr/project/jars could be a location destination. The location must be a valid location or the function will fail.
The Add button provides access to the local file system to select desired Jar files. The Retrieve button on the destination directory retrieves the JAR file location variable that is set in the Build Script Parameter Options page in the SCLM preferences. The Remove button deletes selected JARs from the list. If you invoke this function by selecting the Java/J2EE project, right clicking and selecting Upload JAR files, the Retrieve button reads the project .classpath entries and copies these into the list. When you click OK any selected JAR files are uploaded to the destination directory on the z/OS® host.
It might not be necessary to use this function to upload JARs to the classpath to resolve classpath dependencies during build. An alternative method is to use the CLASSPATH_JARS_FILES directive on the Java/J2EE build script to specify the name of SCLM controlled JAR files that need to included in a build for classpath dependency reasons. For information on the CLASSPATH_JARS_FILES directive see the section (J2EE ANT build script). Also see Copy file from SCLM to CLASSPATH.