aspose file tools
The moose likes JDBC and the fly likes jdbc problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "jdbc problem" Watch "jdbc problem" New topic
Author

jdbc problem

jain vaibhav
Greenhorn

Joined: Jun 18, 2010
Posts: 4
hello
i m connecting my java program with oracle 10 g. But it is giving error Driver not found..Please help me..
this is my code...i m new to jdbc...
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14672
    
  11

The next time you post some code, please UseCodeTags to make it more readable.


[My Blog]
All roads lead to JavaRanch
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14672
    
  11

Where did you put the JDBC driver ? Is it in your CLASSPATH ? This FAQ may help you.
jain vaibhav
Greenhorn

Joined: Jun 18, 2010
Posts: 4
NO I didnt put in class path...should i do so?from where i can find the driver?
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14672
    
  11

should i do so?

Yes, otherwise it's never going to work.

from where i can find the driver?

If you installed Oracle, the driver should be somewhere in the installation path (like jdbc\lib). Otherwise, you can download it.
jain vaibhav
Greenhorn

Joined: Jun 18, 2010
Posts: 4
Christophe Verré wrote:
should i do so?

Yes, otherwise it's never going to work.
ok thanks

from where i can find the driver?

If you installed Oracle, the driver should be somewhere in the installation path (like jdbc\lib). Otherwise, you can download it.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: jdbc problem
 
Similar Threads
data mismatch error
Connection Pooling Problem
Null pointer exception in con.createStatement();
an easy test question relating to Bean Management Persistent
returning an int