This discussion is archived
1 Reply Latest reply: Jan 10, 2012 11:57 PM by ddevienne RSS

no ocijdbc11 in java.library.path

mdesouza-OC Newbie
Currently Being Moderated
I have downloaded the instant client for HP-UX itanium as i want to run swingbench using oci , once downloaded i have set the LD_LIBRARY_PATH to the instant client directory

when i start swingbench , i get the following error

EVERE: Thread 48 : Error in establishConnection() :
java.lang.UnsatisfiedLinkError: no ocijdbc11 in java.library.path
at java.lang.ClassLoader.loadLibrary(
at java.lang.Runtime.loadLibrary0(
at java.lang.System.loadLibrary(
at oracle.jdbc.driver.T2CConnection$
at Method)
at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(
at oracle.jdbc.driver.T2CConnection.logon(
at oracle.jdbc.driver.PhysicalConnection.<init>(
at oracle.jdbc.driver.T2CConnection.<init>(
at oracle.jdbc.driver.T2CDriverExtension.getConnection(
at oracle.jdbc.driver.OracleDriver.connect(
at java.sql.DriverManager.getConnection(
at java.sql.DriverManager.getConnection(
at com.dom.benchmarking.swingbench.datasource.DataBaseDataSourceFactory.getDataBaseConnection(
at com.dom.benchmarking.swingbench.kernel.UserSession.getDedicatedConnection(
at com.dom.benchmarking.swingbench.kernel.UserSession.establishConnection(

I am really stuggling trying to sort this out , What else do i need to do or download to get oci working

what is it complainign about ?

Any help would be appreciated

The instant client for HP-UX has the following files

oracle@cruz:/u01/drop/swingbench/instantclient_11_2 > ls -lrt
total 741790
-rw-rw-r-- 1 oracle oinstall 387 Oct 21 07:39 BASIC_README
-rwxrwxr-x 1 oracle oinstall 95824 Oct 21 07:39 adrci
-rwxrwxr-x 1 oracle oinstall 88832 Oct 21 07:39 genezi
-rwxrwxr-x 1 oracle oinstall 427096 Oct 21 07:39 uidrvci
-rwxrwxr-x 1 oracle oinstall 118431720 Oct 21 07:39
-r-xr-xr-x 1 oracle oinstall 10787592 Oct 21 07:39
-rwxr-xr-x 1 oracle oinstall 120567408 Oct 21 07:40
-rwxr-xr-x 1 oracle oinstall 120567408 Oct 21 07:40
-rwxrwxr-x 1 oracle oinstall 3923040 Oct 21 07:40
-r--r--r-- 1 oracle oinstall 2095661 Oct 21 07:40 ojdbc5.jar
-r--r--r-- 1 oracle oinstall 2714016 Oct 21 07:40 ojdbc6.jar
-rw-rw-r-- 1 oracle oinstall 66779 Oct 21 07:40 xstreams.jar

  • 1. Re: no ocijdbc11 in java.library.path
    ddevienne Newbie
    Currently Being Moderated
    I'm afraid this is the wrong forum for this issue. This forum deals with the programmatic use (in C and C++) of the Oracle OCI API, not with Java-based applications nor Instant-Client issues. You may have more luck getting help in the Instant-Client forum perhaps, and more likely in the forum dedicated to that particular Java-based application. --DD                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               


  • Correct Answers - 10 points
  • Helpful Answers - 5 points