Z
zhjwjan
Unregistered / Unconfirmed
GUEST, unregistred user!
我在Jbuilder中用thin连接oracle没问题,但用oci连接Oracle时出现一下错误,请问是
怎么回事?
conn = DriverManager.getConnection("jdbcracleci8MYDB.WORLD", "user", "pwd");
java.lang.UnsatisfiedLinkError: make_c_state
at oracle.jdbc.oci7.OCIDBAccess.make_c_state(Native Method)
at oracle.jdbc.oci7.OCIDBAccess.logon(OCIDBAccess.java:148)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:103)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:148)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at test.Frame1.jbInit(Frame1.java:59)
at test.Frame1.<init>(Frame1.java:47)
at test.Application1.<init>(Application1.java:20)
at test.Application1.main(Application1.java:49)
怎么回事?
conn = DriverManager.getConnection("jdbcracleci8MYDB.WORLD", "user", "pwd");
java.lang.UnsatisfiedLinkError: make_c_state
at oracle.jdbc.oci7.OCIDBAccess.make_c_state(Native Method)
at oracle.jdbc.oci7.OCIDBAccess.logon(OCIDBAccess.java:148)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:103)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:148)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at test.Frame1.jbInit(Frame1.java:59)
at test.Frame1.<init>(Frame1.java:47)
at test.Application1.<init>(Application1.java:20)
at test.Application1.main(Application1.java:49)