Home » Developer & Programmer » JDeveloper, Java & XML » Problems connecting with JDBC driver
Problems connecting with JDBC driver [message #91564] Mon, 11 November 2002 06:32 Go to next message
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 #91570 is a reply to message #91564] Mon, 18 November 2002 02:14 Go to previous messageGo to next message
Manoj
Messages: 101
Registered: August 2000
Senior Member
hi David

try unzipping classes12.zip to a directory
and then set the classpath to that directory

manoj
Re: Problems connecting with JDBC driver [message #91688 is a reply to message #91564] Thu, 09 January 2003 18:05 Go to previous messageGo to next message
Dawn
Messages: 10
Registered: April 2001
Junior Member
I have the exact same problem, and unzipping the file doesn't help. Any other suggestions??
Re: Problems connecting with JDBC driver [message #92029 is a reply to message #91564] Mon, 09 February 2004 20:33 Go to previous messageGo to next message
joe n
Messages: 2
Registered: February 2004
Junior Member
could you please send me ojdbc14.jar or at least a link to it. thank you!
Re: Problems connecting with JDBC driver [message #92362 is a reply to message #91564] Wed, 16 June 2004 06:32 Go to previous messageGo to next message
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.
Re: Problems connecting with JDBC driver [message #92575 is a reply to message #92029] Tue, 21 September 2004 01:25 Go to previous message
mohammed v
Messages: 1
Registered: September 2004
Junior Member
http://download.oracle.com/otn/utilities_drivers/jdbc/9201/ojdbc14.jar
Previous Topic: Fail to construct descriptor: Unable to resolve type:
Next Topic: unable to connect ora9i to JDBC
Goto Forum:
  


Current Time: Thu Apr 25 04:30:09 CDT 2024