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

JDBC Problem

Nelson Nadal
Ranch Hand

Joined: Jun 06, 2002
Posts: 170
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: 170
Thanks Lasse!!
I agree. Here's the link:
subject: JDBC Problem
jQuery in Action, 3rd edition