File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC Problem

 
Nelson Nadal
Ranch Hand
Posts: 170
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm new to JDBC also...
I tried compiling my java program but encountered a problem like this...

Connecting_JDBC.java:15: 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
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to download the Oracle JDBC driver from otn.oracle.com and include it (the .zip file) in your application's classpath.
 
Nelson Nadal
Ranch Hand
Posts: 170
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Lasse!!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic