JDBC_oracle error [message #91374] |
Wed, 31 July 2002 13:30 |
Abhijeet
Messages: 5 Registered: July 2002
|
Junior Member |
|
|
im trying to connect to an Oracle database...using the OCI method
my java code is on my machine and the database (and table )instance is on the host Im trying to establish a connection to
The statement
Connection conn=DriverManager.getConnection("jdbc:oracle:oci8:@VIS", "abi", "abi");
where VIS is the Instance for the ORASID and abi, abi are the username and passowords respectively ....
gives me the following error.
package oracle.jdbc.driver does not exist
do i have to install some driver info on the host which has the database instance where I am trying to connect ?
and do I have to make changes in the classpath ?
Infact...even the import statement...
import oracle.jdbc.driver.*;
seems to throw an error...
someone please advice me ...especially with regard to the driver info and classpath ..
Thank you very much..
Regards
Abhijeet
|
|
|
|