Usage Note 39911: Copying JAR files from the SAS Versioned Jar Repository to a directory
Sometimes, you might find it necessary to copy SAS JAR files from the SAS Versioned Jar Repository to another directory. For example, you might need to do this if you use those JAR files in custom Java applications that access APIs or that use SAS JDBC drivers.
To copy your JAR files to another directory:
-
Click the Downloads tab in this note. Then download and uncompress the vjrextract.zip file this file to a directory on your machine.
- Edit the appropriate script file for your system to reflect your directory names as well as the name of the directory to which the JAR file are to be copied. You can edit the following parameters:
-
JAVA_CMD= parameter: This parameter specifies the location of your Java executable file.
- VJR_LOC= parameter: This parameter specifies the location of your SAS Versioned Jar Repository.
- PICKLIST= parameter: This parameter specifies the pick list that contains the JAR files that you want copied.
- OUTPUT_DIR= parameter: This parameter specifies the directory to which the JAR files should be copied.
- After you edit these parameters, simply run the script files.
Example of an Extract.bat File in Microsoft Windows Operating Environments
set JAVA_CMD="C:\Program Files\Java\jdk1.5.0_15\bin\java"
set VJR_LOC="C:\Program Files\SAS92\SASVersionedJarRepository\9.2"
set PICKLIST="C:\Program Files\SAS92\SASDriversforJDBC\9.2\picklist"
set OUTPUT_DIR=".\jars"
%JAVA_CMD% -jar VJRExtract.jar %VJR_LOC% %PICKLIST% %OUTPUT_DIR%
Example of an Extract.sh File in UNIX Operating Environments
JAVA_CMD="/usr/local/Java/jdk1.5.0_15/bin/java"
VJR_LOC="/usr/local/SAS92/SASVersionedJarRepository/9.2"
PICKLIST="/usr/local/SAS92/SASDriversforJDBC/9.2/picklist"
OUTPUT_DIR="/usr/local/SAS92/jars"
$JAVA_CMD -jar VJRExtract.jar $VJR_LOC $PICKLIST $OUTPUT_DIR
Operating System and Release Information
SAS System | SAS Enterprise BI Server | Solaris for x64 | 4.2 | | | |
Linux for x64 | 4.2 | | | |
HP-UX IPF | 4.2 | | | |
Linux | 4.2 | | | |
64-bit Enabled Solaris | 4.2 | | | |
64-bit Enabled HP-UX | 4.2 | | | |
64-bit Enabled AIX | 4.2 | | | |
Windows Vista | 4.2 | | | |
Windows Vista for x64 | 4.2 | | | |
Windows Millennium Edition (Me) | 4.2 | | | |
Windows 7 Ultimate x64 | 4.2 | | | |
Windows 7 Ultimate 32 bit | 4.2 | | | |
Windows 7 Professional x64 | 4.2 | | | |
Windows 7 Professional 32 bit | 4.2 | | | |
Windows 7 Home Premium 32 bit | 4.2 | | | |
Windows 7 Home Premium x64 | 4.2 | | | |
Windows 7 Enterprise x64 | 4.2 | | | |
Windows 7 Enterprise 32 bit | 4.2 | | | |
Microsoft Windows XP Professional | 4.2 | | | |
Microsoft Windows Server 2008 for x64 | 4.2 | | | |
Microsoft Windows Server 2008 | 4.2 | | | |
Microsoft Windows Server 2003 for x64 | 4.2 | | | |
Microsoft Windows Server 2003 Standard Edition | 4.2 | | | |
Microsoft Windows Server 2003 Enterprise Edition | 4.2 | | | |
Microsoft Windows Server 2003 Datacenter Edition | 4.2 | | | |
Microsoft Windows 2000 Professional | 4.2 | | | |
Microsoft Windows NT Workstation | 4.2 | | | |
Microsoft Windows 2000 Server | 4.2 | | | |
Microsoft Windows 2000 Datacenter Server | 4.2 | | | |
Microsoft Windows 2000 Advanced Server | 4.2 | | | |
Microsoft Windows 95/98 | 4.2 | | | |
Microsoft Windows XP 64-bit Edition | 4.2 | | | |
Microsoft® Windows® for x64 | 4.2 | | | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 4.2 | | | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 4.2 | | | |
z/OS | 4.2 | | | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 4.2 | | | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Download and uncompress the following file to a directory on your machine:
vjrextract.zip
Date Modified: | 2011-05-18 10:48:11 |
Date Created: | 2010-06-06 21:09:17 |