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

Home -> Community -> Mailing Lists -> Oracle-L -> jdbc oci driver - UnsatisfiedLinkError

jdbc oci driver - UnsatisfiedLinkError

From: Híves Zoltán <hives_at_jmester.hu>
Date: Tue, 02 Apr 2002 05:38:20 -0800
Message-ID: <F001.00438A04.20020402053820@fatcity.com>


Hi gurus,

we would like to connect to 8i databases with jdbc oci driver.

Our environment:
Db servers:

    Oracle Standard Ed. v. 8.1.6.1.0 on RedHat Linux 6.2     Oracle Enterprise Ed. v. 8.1.7.0.0 on Windows 2000

Client:

    8.1.7 client on RedHat Linux
    java version: 1.2.2
    CLASSPATH=$ORACLE_HOME/jdbc/lib/classes12.jar     LD_LIBRARY_PATH=/lib:$ORACLE_HOME/lib

There is no classes11* file in $OH/jdbc/lib directory. libocijdbc8.so and libocijdbc8_g.so files are in $OH/lib.

The tnsnames.ora on client contains valid entries to databases so connection via sqlplus works fine.

We compiled JdbcCheckup.java according to JDBC Developer's Guide and Reference. But we get the following error when we launch it:

Exception in thread "main" java.lang.UnsatisfiedLinkError: get_env_handle

Any suggestion to solve this problem?
Thanks in advance!

Zoltan Hives

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: =?ISO-8859-1?Q?H=EDves=20Zolt=E1n?=   INET: hives_at_jmester.hu

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Apr 02 2002 - 07:38:20 CST

Original text of this message

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