Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> the problem about JDBC driver of Oracle

the problem about JDBC driver of Oracle

From: sadder lee <sadder_at_china.com>
Date: Mon, 13 Nov 2000 10:57:54 +0800
Message-ID: <8unm03$161$1@sunlight.pku.edu.cn>

hi:

I want to develop a java application with Oracle and hope to utilize JDBC to communicate with ORACLE on solaris 7.

I use java 1.2.1(Solaris VM (build Solaris_JDK_1.2.1_03a, native threads, sunwjit)) as my tool,but this version of my Oracle is 8.0.5 and it is not support java 1.2.
In java 1.1,the JDBC interface works well. In java 1.2,the OCI JDBC driver can't run in a right way. But I must use java 1.2 and OCI JDBC driver.

how to do I can?

I tried to download the Oracle JDBC Drivers release 8.1.6.2.0--"JDBC 8.1.6 drivers can talk to RDBMS 8.1.6, 8.1.6sdk, 8.1.5, 8.0.6, 8.0.5, 8.0.4 and 7.3.4. ".

Its README said "Support for JDK 1.2.x".

I copied "classes12.zip,nls_charset12.zip" to $ORACLE_HOME/jdbc/lib and copied "libocijdbc8.so" to $ORACLE_HOME/lib.

LD_LIBRARY_PATH=$ORACLE_HOME/lib:usr/openwin/lib:/usr/dt/lib:$ORACLE_HOME/jd bc/lib
CLASSPATH=$ORACLE_HOME/jdbc/lib/classes12.zip:$ORACLE_HOME/jdbc/lib/nls_char set12.zip:/usr/local/JSDK2.0/lib/jsdk.jar:.:

But I run the Employee.java program of OCI verion. I got "$ java Employee
Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path ".

Why?
How to do?

Help me,please.

       lee Received on Sun Nov 12 2000 - 20:57:54 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US