Have u db2 client installed.
Check the ODBC drivers in administrative tool,check for IBM DB2 ODBC Driver.
If driver is present Create an ODBC connection with this Driver .
test the new ODBC Driver via access to see it is accurate.
Now if it work here it should work fine in the Jbuilder env.