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

Home -> Community -> Usenet -> c.d.o.tools -> Re: JDBC Java -> Oracle connection problem ...

Re: JDBC Java -> Oracle connection problem ...

From: <info_at_soft-land.org>
Date: 20 Dec 2000 07:10:22 GMT
Message-ID: <91pm0u$4vk6i$11@ID-18487.news.dfncis.de>

In comp.lang.java.programmer cwang9_at_yahoo.com wrote:
> symbol : class OracleDriver
> location: package driver
> DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
> ^
> 1 error

The problem is not that it can't create the driver, but that it does not find the specified class, because oracle.jdbc is not a Java class. If you want to use the Oracle thin or oci driver you have to provide the Oracle Driver shipped with Oracle. The file is into classes111.zip or classes112.zip depending on your release. See into the /oracle/jdbc/lib directory on your installation.

Davide Received on Wed Dec 20 2000 - 01:10:22 CST

Original text of this message

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