I just put it in the classpath.

"Barbara von Euw" <barbara.voneuwmobi.ch> wrote in message
news:915b81e9.0306250600.2e81096posting.google.co m...
> Today, we've got the same problem. Can you tell me, what you've done
> with the db2cc.jar?
> Thanks
>
>
>
> "dfdfd" <dfdfaol.com> wrote in message
news:<irZJa.16211$pH3.382news2.east.cox.net>...
> > * Never Mind *.
> >
> > I found it in db2cc.jar.
> >
> >
> > "dfdfd" <dfdfaol.com> wrote in message
> > news:SdZJa.16185$pH3.5303news2.east.cox.net...
> > > I'm getting an error: NoClassDefFoundError:
com/ibm/db2/jcc/SQLJPackage
> > > when
> > > I try to create a prepared statement. I am using DB2 8.1/FP1 and Java
> > > 1.3.1.
> > > My code looks like this:
> > >
> > > String query = "INSERT INTO FOO (X, Y, Z) VALUES (?, ?, ?)
> > > PreparedStatement stmt = conn.prepareStatement(query);
> > >
> > > I am using the type 4 JDBC driver. Non-prepared statements work just
> > fine.
> > >
> > > Any clues?
> > >
> > > thanks
> > >
> > >