This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "package oracle.jdbc.driver does not exist" Watch "package oracle.jdbc.driver does not exist" New topic
Author

package oracle.jdbc.driver does not exist

Amar Naik
Ranch Hand

Joined: Sep 26, 2003
Posts: 43
my classpath in system variables is
.;C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc.jar;C:\PROGRA~1\IBM\SQLLIB\java\sqlj.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cisuz.jar;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\PROGRA~1\IBM\SQLLIB\bin;C:\PROGRA~1\IBM\SQLLIB\java\common.jar;
C:\Program Files\Oracle\ora92\jdbc\ojdbc14.jar;
C:\Sun\AppServer\jdk\bin

and my path in System variables is
C:\CA%SystemRoot%\system32;
%SystemRoot%;
%SystemRoot%\System32\Wbem;
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:\CA\USD\BIN;
C:\Program Files\Oracle\ora92\NET80\BIN;
C:\Program Files\Attachmate\E!E2K\;
C:\PROGRA~1\IBM\SQLLIB\BIN;
C:\PROGRA~1\IBM\SQLLIB\FUNCTION;
C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;
C:\Sun\AppServer\jdk\bin;
C:\Program Files\Oracle\ora92\jdbc;

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

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.
 
wood burning stoves
 
subject: package oracle.jdbc.driver does not exist
 
Similar Threads
Can not find symbol isEmpty location java.lang.String
error finding package when compiling
cannot resolve symbol - help
Cant use java to execute files
TOMCAT error