File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and the fly likes JDBC Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC Problem" Watch "JDBC Problem" New topic

JDBC Problem

Nelson Nadal
Ranch Hand

Joined: Jun 06, 2002
Posts: 169
I'm new to JDBC also...
I tried compiling my java program but encountered a problem like this... cannot resolve symbol
symbol : class OracleDriver
location: package jdbc
DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
If I need a driver for this where can I get the driver? Thanks....
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
You need to download the Oracle JDBC driver from and include it (the .zip file) in your application's classpath.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Nelson Nadal
Ranch Hand

Joined: Jun 06, 2002
Posts: 169
Thanks Lasse!!
wood burning stoves
subject: JDBC Problem
Similar Threads
connection url
Weird number been put to DB table through JDBC
getting compile time error
Servlet and JDBC.
Using Hibernate with MSAccess