• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jdbc problem

 
jain vaibhav
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The next time you post some code, please UseCodeTags to make it more readable.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where did you put the JDBC driver ? Is it in your CLASSPATH ? This FAQ may help you.
 
jain vaibhav
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NO I didnt put in class path...should i do so?from where i can find the driver?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic