Thank u very much for the replies. I guess I'll use derby-client.jar
 

On 5/18/06, David Van Couvering <David.Vancouvering@sun.com> wrote:
db2jcc.jar is the DB2 JDBC driver (binary only, not part of Apache
Derby, actually).

Is there a reason you're using the DB2 JDBC driver rather than the Derby
JDBC driver (found in derby-client.jar)?

David

Maryam Moazeni wrote:
> Hi,
>
> I'm trying to use the Geronimo's built-in Derby. I installed Geronimo and
> put db2jcc.jar and db2jcc_license_c.jar in my application CLASSPATH.
>
> but I still get NoClassDefFoundError for com.ibm.db2.* and
> sqlj.runtime.ref.*
> Then I extracted the db2jcc.jar and and put the com.ibm.db2.jcc.* in my
> current directory.
> therefore, my problem with com.ibm.db2.* was solved, but I still have
> problems with sqlj.runtime.ref.* .
>
> I don't know if I'm on the wrong track, I would appreciate if some one
> could help me figure out the problem.
>
> Thanks in advance,
> --Maryam