You need to have the path of the oracle driver files also in the path.

- Harjit

-----Original Message-----
From: Troy Rowe [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 24, 2000 11:25 AM
To: [EMAIL PROTECTED]
Subject: JDBC connection (oracle class not found)


Can anyone tell me why this piece of code is being rejected??

Class.forName("oracle.jdbc.driver.OracleDriver");


The error says class not found oracle.jdbc.driver.OracleDriver



my CLASSPATH is as follows:
c:\jdk1.1.8\lib;c:\jsdk2.1;c:\javawebserver2.0\classes;

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to