• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

JDBC For Oracle 8

 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi..
Can anybody give me the link for installing jdbc for oracle8 i follow the instruction given in jdbc\readme.txt but the sample example jdbccheckup and employee throwing the exception "UnsatisfiedLink" so any one can give me the like for how to install the driver how to give tsnnames or servidename to databse etc.
thank you
sanjay jadhav
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First you are probably using classes12.zip? If so just rename it to classes12.jar and make sure the jar file is in your class path.
Second the tnsnames stuff.
If you are using the OCI driver use:

For the thin driver use

Hope that helps.
It really is that easy. The most important thing to do is get that jar in the classpath. Then make sure you are using what is the SID, or what is the actual tnsnames entry.
Mark
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The only time I've heard of the "UnsatisfiedLink" exception being thrown is when you try to use the OCI driver but the Oracle client hasn't been correctyl installed.
 
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a bunch of useful Oracle links posted here. You might specifically be interested in Enabling the Java Client. The "UnsatisfiedLinkError" is explained in the jdbc FAQ's.
Jamie
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Jamie, can I borrow those links to use in the Oracle Forum that I am currently moderating?
Mark
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
go ahead, that's why I post them!
 
If we don't do the shopping, we won't have anything for dinner. And I've invited this tiny ad:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic