File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Databases
»
JDBC
Author
JDBC connection troubles
Shadab Khan
Greenhorn
Joined: Jul 11, 2002
Posts: 20
posted
Jun 06, 2003 01:00:00
0
Hi
iam trying to oracle 8i through a simple
JDBC
program.iam able to connect to the db using the thindriver but when i try to connect it through OCI iam getting the following exception
Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path at java.lang.Throwable.fillInStackTrace(Native Method) at java.lang.Throwable.fillInStackTrace(Compiled Code) at java.lang.Throwable.<init>(Compiled Code) at java.lang.Error.<init>(Error.java:50) at java.lang.LinkageError.<init>(LinkageError.java:43) at java.lang.UnsatisfiedLinkError.<init>(UnsatisfiedLinkError.java:42) at java.lang.ClassLoader.loadLibrary(Compiled Code) at java.lang.Runtime.loadLibrary0(Runtime.java:470) at java.lang.System.loadLibrary(System.java:778) at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:233) at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:269) at oracle.jdbc.driver.OracleDriver.getConnectionInstance(Compiled Code) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:266) at java.sql.DriverManager.getConnection(Compiled Code) at java.sql.DriverManager.getConnection(DriverManager.java:137) at JdbcTest.main(Compiled Code)
I agree. Here's the link:
http://aspose.com/file-tools
subject: JDBC connection troubles
Similar Threads
Installation of JDriver (weblogic 5.1) for Oracle on Solaris
RMI vs JNI problem
jdbc in Unix
unsatisfiedlinkerror while loading library file
"Unable to load JdbcOdbc library". Help please?!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter