wood burning stoves
The moose likes JDBC and Relational Databases and the fly likes problem in connecting to database. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Reply locked New topic

problem in connecting to database.

saurabh dudeja

Joined: Mar 26, 2009
Posts: 11
Hi I have written a simple program in java to connect to a database

for this funcions


I am getting error

java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

please help me out with this.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2904

saurabh dudeja wrote:

Look for the oracle driver .jar file is on classpath or not?

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Please do not post the same question more than once. Thanks

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link: http://aspose.com/file-tools
subject: problem in connecting to database.
It's not a secret anymore!