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: jdbc

Re: jdbc

From: Nicolas Stern <spip46_at_hotmail.com>
Date: Thu, 7 Mar 2002 17:21:28 +0100
Message-ID: <3c87938f$1@news.psi.ch>


Hi Giles

Seems that your classpath is not set :

If you have a call like this for a jdbc driver in your source...

DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());

...Then you must include the zip or jars where your jdbc drivers are in your classpath. (Compile with -classpath option: javac -classpath "...\jdbc\lib\classes12.jar" yourclass.java if your drivers are stored in ...\jdbc\lib\classes12.jar

Hope this helps

--
Nicolas Stern
Received on Thu Mar 07 2002 - 10:21:28 CST

Original text of this message

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