Connecting Tech Pros Worldwide Forums | Help | Site Map

Development Center build

hubert_s
Guest
 
Posts: n/a
#1: Nov 12 '05

Hi,

I have DB2 8.2 on Win 2K.
When I try to use some external *.jar files in a stored procedure I have
to put them directly in "Properties->Build->Compile options" instead of
just adding the jar to the Classpath.
This is because the classpath used during compile has nothing to do with
the enviromental variable.

DB2ADMIN.START_REP - Build started.
C:\PROGRA~1\IBM\SQLLIB\java\jdk\bin\javac -classpath
".;C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROG RA~1\IBM\SQLLIB\java\runtime.zip;C:\PROGRA~1\IBM\S QLLIB\java\sqlj.zip";"c:\jt400.jar"
START_REP.java
DB2ADMIN.START_REP - Javac completed.
...

The "c:\jt400.jar" is on the Classpath, still I have to put it explicitly
with the procedure, otherwise the build fails.

Is there any way to alter this classpath ?

Any help appreciated,

Hubert






Closed Thread