wood burning stoves
The moose likes JDBC and Relational Databases and the fly likes Unsatisfied Link Error oci8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Unsatisfied Link Error oci8" Watch "Unsatisfied Link Error oci8" New topic

Unsatisfied Link Error oci8

zoha umraz

Joined: Jan 24, 2005
Posts: 1
When I am trying to connect to Oracle from my java program , I am getting the following run time error.
Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.l
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at DB.main(DB.java:28)
I tried by setting the classpath to get the shared library oci8jdbc.dll, but the problem still persists.Can any of you help me , Thanks in advance.
I agree. Here's the link: http://aspose.com/file-tools
subject: Unsatisfied Link Error oci8
It's not a secret anymore!