aspose file tools*
The moose likes JDBC and the fly likes Unsatisfied Link Error oci8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Unsatisfied Link Error oci8" Watch "Unsatisfied Link Error oci8" New topic
Author

Unsatisfied Link Error oci8

zoha umraz
Greenhorn

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
ibrary.path
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
va)
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
 
Similar Threads
MYSQL Connection error Plz help
Urgent: Driver class loaded but getting no suitable driver found exception
java.lang.ClassCastException error
jdbc connection to ms sql (urgent)
Exception in thread "main" java.sql.SQLException: No suitable driver