Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: the problem about JDBC driver of Oracle
I'm afraid I'm not of much help. I tried thin JDBS drivers from Oracle 8.0.5.1 with Sun JDK 1.2.2, it works fine, at least all samples worked as they supposed to do.
In article <8unm03$161$1_at_sunlight.pku.edu.cn>,
"sadder lee" <sadder_at_china.com> wrote:
> 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_HO
ME/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
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Sun Nov 12 2000 - 22:30:28 CST