Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: java.sql.SQLException: No suitable driver

Re: java.sql.SQLException: No suitable driver

From: Vladimir M. Zakharychev <vladimir.zakharychev_at_gmail.com>
Date: 19 Apr 2007 09:10:10 -0700
Message-ID: <1176999010.259162.160760@n59g2000hsh.googlegroups.com>


On Apr 19, 8:04 pm, raghu <raghu_v..._at_yahoo.com> wrote:
> My application is connecting to a 10g database through 9i client. OS
> is HP-UX. I get the following error:
>
> java.sql.SQLException: No suitable driver
> at java.sql.DriverManager.getConnection(DriverManager.java:
> 532)
> at java.sql.DriverManager.getConnection(DriverManager.java:
> 171)
> .....
>
> Classpath is
>
> /ora/product/9.2.0/client/jdbc/lib/nls_charset12.zip:/ora/product/
> 9.2.0/client/jdbc/lib/classes12.zip:/ora/product/9.2.0/client/jdbc/lib/
> ojdbc14.jar:/ora/product/9.2.0/client/jdbc/lib/classes12.jar:/ora/
> product/9.2.0/client/jdbc/lib/nls_charset12.jar:/home/inbasp/dbteam/
> version/config:/opt/cbus1.3.d02/bin/CBus.jar
>
> What could be wrong here?

What's the connect string you're using? Also, I'd put ojdbc14.jar before classes12 and remove redundant references to classes12 and nls_charset12.

Regards,

   Vladimir M. Zakharychev
   N-Networks, makers of Dynamic PSP(tm)    http://www.dynamicpsp.com Received on Thu Apr 19 2007 - 11:10:10 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US