Unix Technical Forum

Development Center build

This is a discussion on Development Center build within the DB2 forums, part of the Database Server Software category; --> Hi, I have DB2 8.2 on Win 2K. When I try to use some external *.jar files in a ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 04:07 AM
hubert_s
 
Posts: n/a
Default Development Center build


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





Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:39 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com