Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Databases > Re: Newbie - pr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 15 Topic 3678 of 3800
Post > Topic >>

Re: Newbie - problem accessing DB2 with Java program.

by davide.grandi@[EMAIL PROTECTED] (Davide Grandi) Mar 17, 2008 at 01:16 AM

zalek <zalekbloom@[EMAIL PROTECTED]
> wrote:

> In my installation we have DB2 on a mainframe computer. I am able to
> access DB2 from my PC (WinXP) using some utilities. I wrote a Java
> program to access DB2, but I am getting errors.
> After command:
> Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");
> 
> I am getting exception:
> Exception java.lang.ClassNotFoundException:
> COM.ibm.db2.jdbc.app.DB2Driver
> 
> I copied db2java.zip and db2jcc.jar files to a default directory of
> JBuilder, even to the same directory where I have my program,  but it
> did not help.
> What I am doing wrong?
> 
> Thanks,
> 
> Zalek

Thre's a good series of IBM DB2 Technical articles on mix-and-match DB2
client and server platform named :

    Connectivity cheat sheet for Application Developers

on Part 4 :

http://www.ibm.com/developerworks/db2/library/techarticle/dm-0401chong/i
ndex.html

you could find a detailed answer.

Best regards,

    Davide
--
Ing. Davide Grandi
davide.grandi@[EMAIL PROTECTED]

 




 15 Posts in Topic:
Newbie - problem accessing DB2 with Java program.
zalek <zalekbloom@[EMA  2008-03-16 15:38:16 
Re: Newbie - problem accessing DB2 with Java program.
=?ISO-8859-1?Q?Arne_Vajh=  2008-03-16 18:49:23 
Re: Newbie - problem accessing DB2 with Java program.
zalek <zalekbloom@[EMA  2008-03-16 16:17:28 
Re: Newbie - problem accessing DB2 with Java program.
=?ISO-8859-1?Q?Arne_Vajh=  2008-03-16 19:21:19 
Re: Newbie - problem accessing DB2 with Java program.
zalek <zalekbloom@[EMA  2008-03-16 17:04:48 
Re: Newbie - problem accessing DB2 with Java program.
=?ISO-8859-1?Q?Arne_Vajh=  2008-03-16 22:05:51 
Re: Newbie - problem accessing DB2 with Java program.
davide.grandi@[EMAIL PROT  2008-03-17 01:16:35 
Re: Newbie - problem accessing DB2 with Java program.
Alex.From.Ohio.Java@[EMAI  2008-03-16 18:37:29 
Re: Newbie - problem accessing DB2 with Java program.
Lew <lew@[EMAIL PROTEC  2008-03-16 21:50:02 
Re: Newbie - problem accessing DB2 with Java program.
=?ISO-8859-1?Q?Arne_Vajh=  2008-03-16 22:17:27 
Re: Newbie - problem accessing DB2 with Java program.
zalek <zalekbloom@[EMA  2008-03-16 18:50:05 
Re: Newbie - problem accessing DB2 with Java program.
RedGrittyBrick <RedGri  2008-03-17 11:33:59 
Re: Newbie - problem accessing DB2 with Java program.
Lew <lew@[EMAIL PROTEC  2008-03-17 08:38:17 
Re: Newbie - problem accessing DB2 with Java program.
=?ISO-8859-1?Q?Arne_Vajh=  2008-03-17 20:36:17 
Re: Newbie - problem accessing DB2 with Java program.
zalek <zalekbloom@[EMA  2008-03-17 18:20:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 17:33:46 CDT 2008.