• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem while getting database connection in solaris7.0

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.,
I am getting problem when connecting to oracle 8i database through java program. os is sun solaris7.0.
Class.forName("oracle.jdbc.driver.OracleDriver");
DriverManager.getConnection("jdbc racle ci8@sundb","username","password");i have given username and password according to software installation.

The driver is loaded . But the error is while connecting to database.
Exception in thread "main" java.lang.UnsatisfiedLinkError . no ocijdbc8 in java.library.path.
Is it classpath problem. But i am unable to find in which folder all the ocidrivers are available. Please help if u have encounter the same problem.
 
naga bush
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.,I got the solutions. I tried with thin driver and the programs is working fine.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic