Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Oracle OCI Driver on HPUX
Hi there,
Situation:
liboci806jdbc.sl is located in /soft/oracle/product/8.0.6/lib ($ORACLE_HOME/lib)
The LPATH variable also points to $ORACLE_HOME/lib
When I launch a test application
java -Djava.library.path=$ORACLE_HOME/lib Test
which connects via
ctx = new BatchContext(Oracle.connect
("jdbc:oracle:oci8:@test", "usis", "pwd"));
I get the following error.
Exception in thread "main"
java.lang.UnsatisfiedLinkError: /soft/oracle/product/
8.0.6/lib/liboci806jdbc.sl: No such file or directory
When I launch with pure Java thin JDBC driver it works fine.
What am I overlooking?
Regards,
Peter
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Fri Oct 27 2000 - 00:14:58 CDT