Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: jdbc
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 SternReceived on Thu Mar 07 2002 - 10:21:28 CST
![]() |
![]() |