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 12 of 15 Topic 3678 of 3800
Post > Topic >>

Re: Newbie - problem accessing DB2 with Java program.

by RedGrittyBrick <RedGrittyBrick@[EMAIL PROTECTED] > Mar 17, 2008 at 11:33 AM

zalek 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


Case matters, I've not used DB2 but are you certain the COM is
capitalised?

I'd expect
   com.ibm.db2.jdbc.app.DB2Driver
instead of
   COM.ibm.db2.jdbc.app.DB2Driver


Also, you are cross-posting to four newsgroups, a lot of people will 
have their newsreaders configured to treat highly cross-posted messages 
as SPAM and ignore them. IME it is better to pick one newsgroup.

Followups set to c.l.j.d only.


-- 
RGB
 




 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 Sat Jul 26 4:54:49 CDT 2008.