Talk About Network



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 > Newbie - proble...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 15 Topic 3678 of 3747
Post > Topic >>

Newbie - problem accessing DB2 with Java program.

by zalek <zalekbloom@[EMAIL PROTECTED] > Mar 16, 2008 at 03:38 PM

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




 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 Wed May 14 8:54:17 CDT 2008.