Hi there, i can able to run in webserver by using oracle oci8. i cannot able to eun as a standalone program.If i changed the "oci8 to thin" it is working properly.so please give me a solution. thank in advance. regards suresh.n -------------- the error is below java.lang.UnsatisfiedLinkError: do_open at oracle.jdbc.oci8.OCIDBAccess.do_open(Native Method) at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:309) at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:198) at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224) at java.sql.DriverManager.getConnection(DriverManager.java:517) at java.sql.DriverManager.getConnection(DriverManager.java:177) at com.mxic.tdsplus.TestDB.main(TestDB.java:16) Exception in thread "main"
posted 13 years ago
Originally posted by suresh nagalingam: the error is below java.lang.UnsatisfiedLinkError: do_open at oracle.jdbc.oci8.OCIDBAccess.do_open(Native Method)
The OCI driver relies on native libraries to do its work. Whenever you use the OCI driver you must have the appropriate native library on the PATH (ocijdbc8.dll for Win) or LD_LIBRARY_PATH (libocijdbc8.so for Solaris). The thin driver is pure Java which is why there is no problem (it doesn't need to load a native library). See also http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#_19_ [ November 19, 2002: Message edited by: Kevin Mukhar ]