my dog learned polymorphism*
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
JavaRanch » Java Forums » Databases » JDBC
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: 14687
    
  16

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: 14687
    
  16

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: 14687
    
  16

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://aspose.com/file-tools
 
subject: jdbc problem
 
Similar Threads
Null pointer exception in con.createStatement();
returning an int
an easy test question relating to Bean Management Persistent
data mismatch error
Connection Pooling Problem