123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- @echo off
- REM ************************************************************************REM
- REM IBM Confidential REM
- REM OCO Source Materials REM
- REM 5724-E34 REM
- REM (c) Copyright IBM Corporation 2007, 2011. REM
- REM All rights reserved. REM
- REM REM
- REM The source code for this program is not published or otherwise REM
- REM divested of its trade secrets, irrespective of what has been REM
- REM deposited with the U.S. Copyright Office. REM
- REM ************************************************************************REM
- rem Place all jdbc driver files in the area below and add them to the classpath
- rem WARNING: This file is overwritten during upgrades and reinstallation of
- rem the Cube Server. If you modify this file, make a backup copy to replace
- rem this file with your modifications after upgrading or reinstalling.
- rem DB2_INST_DIR should be of the form c:\Program Files\IBM\SQLLIB
- SET DB2_INST_DIR=
- SET JDBC_DRIVER_DIR=%CUBE_SERVER_LIB%
- if not "%DB2_INST_DIR%"=="" (
-
- if exist %DB2_INST_DIR%\java\db2jcc4.jar (
-
- if exist %DB2_INST_DIR%\java\db2jcc_license_cu.jar (
- if exist %DB2_INST_DIR%\java\db2jcc_license_cisuz.jar (
-
- set JDBC_DRIVER_DIR=%DB2_INST_DIR%\java
- )
- )
- )
- )
- rem The jdbc driver must be first on the classpath (for Win64.. see
- rem defect 156385), hence we don't include the previous CLASSPATH
- set CLASSPATH=%JDBC_DRIVER_DIR%\db2jcc4.jar
- set CLASSPATH=%CLASSPATH%;%JDBC_DRIVER_DIR%\db2jcc_license_cu.jar
- set CLASSPATH=%CLASSPATH%;%JDBC_DRIVER_DIR%\db2jcc_license_cisuz.jar
|