Problems connecting with JDBC driver [message #91564] |
Mon, 11 November 2002 06:32 |
David Ring
Messages: 1 Registered: November 2002
|
Junior Member |
|
|
I'm trying to connect to an Oracle 7.34 database using the Oracle JDBC Oci driver. However, when I try to compile the program I get an error message saying "package oracle.jdbc.driver does not exist". I have set my CLASSPATH to include <ORACLE_HOME>jdbclibclasses12.zip and <ORACLE_HOME>jdbclibnls_charset12.zip, as instructed. Has anyone any ideas why this could be happening? I'm using JDK 1.4 with Win2k, and have also tried placing ojdbc14.jar in the lib directory and editing the CLASSPATH to include this file, but then the error message becomes "package oracle.jdbc does not exist". What could be the problem?
|
|
|
|
|
|
Re: Problems connecting with JDBC driver [message #92362 is a reply to message #91564] |
Wed, 16 June 2004 06:32 |
waqas
Messages: 3 Registered: May 2002
|
Junior Member |
|
|
I am using a JRun 4 web server to dynamic link my Java files and MySQL. The problem is that it doesn't find the jar file for JDBC. I have placed it in Windows and tried to place it with the class files but it couldn't able to search for the driver.
Please advice me where to place my JDBC Driver in according to JRun server.
|
|
|
|