This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes package oracle.jdbc.driver does not exist Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "package oracle.jdbc.driver does not exist" Watch "package oracle.jdbc.driver does not exist" New topic

package oracle.jdbc.driver does not exist

Amar Naik
Ranch Hand

Joined: Sep 26, 2003
Posts: 43
my classpath in system variables is
C:\Program Files\Oracle\ora92\jdbc\ojdbc14.jar;

and my path in System variables is
C:\Program Files\Oracle\ora92\bin;
C:\Program Files\Oracle\jre\1.3.1\bin\;
C:\Program Files\Oracle\jre\1.1.8\bin;
C:\Program Files\Oracle\ora92\NET80\BIN;
C:\Program Files\Attachmate\E!E2K\;
C:\Program Files\Oracle\ora92\jdbc;

and i get the error as
package oracle.jdbc.driver does not exist
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Are you running a stand-alone application or an application server? Usually this problem is caused by setting the driver on the classpath but not placing the JAR in the correct location for the app serever.
It is sorta covered in the JavaRanch Style Guide.
subject: package oracle.jdbc.driver does not exist
It's not a secret anymore!