Exception: no ocijdbc9.dll in java.lib.path

I have oracle9i Minimal Edition for Win2000 installed, I tried to run my sample java code to test ocijdbc driver.
The exception has been thrown like this:
no ocijdbc9.dll in java.lib.path
I've tried to search this file but not found.
I don't know where I can download this file?
I succeed with thin driver with my sample code.
Anyway, I want to use oci.
Please help.

Hallo,
the Lib is in ORACLE_HOME/bin and not in the lib-Directory like the documentation says.
Hope i can help you.
Michael

Similar Messages

  • Error with System.loadLibrary(...) with java.library.path set

    I'm trying to get my feet wet with JavaMonkeyEngine using netbeans (on Windows XP SP3, Java 1.6).
    When I try to run a simple example program, I'm getting
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl.dll in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)
    My runtime arguments include: -Djava.library.path="../../../../../projectSupport/jME2/lib/lib/lwjgl/native/windows/:etc
    I'm pretty sure that the path is correct, because I tried the following code:
    String [] dirs = System.getProperties().getProperty("java.library.path").split(":");
    for(int i = 0; i < dirs.length; i++ ){
    String path = dirs[i] + java.io.File.separatorChar + "lwjgl.dll";
    if( (new java.io.File(path)).exists()) {
    System.out.println("found in dir " + dirs);
    path = (new java.io.File(path)).getAbsolutePath();
    System.load(path);
    System.out.println("was able to load library manually");
    and the System.load method was reached and didn't throw an exception.
    However, the below call does throw an exception.
    System.loadLibrary("lwjgl.dll");
    Presumably, I shouldn't need to put the dlls into my Path (otherwise whats the purpose of the -D argument).
    I would appreciate some brilliant illuminating thought about now, something like "you forgot the magical snafu parameter" or such.
    Thanks in advance.
    Eric.

    My runtime arguments include:
    -Djava.library.path="../../../../../projectSupport/jME2/lib/lib/lwjgl/native/windows/:{code}So, you're on a Windows OS, and looking for a Windows DLL?
    I'm pretty sure that the path is correct, because I tried the following code:
    {code}String [] dirs = System.getProperties().getProperty("java.library.path").split(":");{code}So, you're specifying a path using the UNIX separator ':', instead of the Windows one ';'?
    Your test code has the knowledge to parse a LINUX-like path, but the Windows VM doesn't have this knowledge (I admit the misleading part is that the VM generally accepts '/' as a file separator (instead of the Windows-standard '\' one), but doesn't recognize the ':' separator). Try using ';' to separate multiple pathes in your command line:
    {code}-Djava.library.path="../../../../../projectSupport/jME2/lib/lib/lwjgl/native/windows/;<noticeTheSeparators>;...    J.
    Edited by: jduprez on Jan 12, 2010 1:39 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Still got java.lang.UnsatisfiedLinkError even after I set java.library.path

    Hi,
    I developed a Java application which uses JNI. Before I run the application, I set an environment variable JAVA_LIBRARY_PATH to where I put the .dll file required by my application. But when I try to run the application, I always get the exception of "java.lang.UnsatisfiedLinkError " saying that no the required .dll in java.library.path. Could anyone please tell me what's going on there ?(I am using JDK1.5.0_05.)
    thanks !

    Hi Scott,
    Thanks for your help !
    I also tried setting PATH before. But with this setting I got another problem that if I tried to the application the second time or more times, it always gives me an exception saying that the dll library already loaded by another loader. That's why I moved to set JAVA_LIBRARY_PATH because this way ever worked for me when I used lower version of Java. I did not use -Djava.library.path= option because I want to invoke my application from web application which may use RMI or HTTP.

  • Using dlls in java

    can u help me in creating a java application that incorporates a dll created in visual basic or visual c++?

    hey, throw your dukes ;-)
    here's sample code for JACOB that shows you how easy it is:
    import java.math.BigDecimal;
    import java.util.*;
    //jacob.jar:
    import com.jacob.com.*;
    import com.jacob.activeX.*;
    * Test usage of Visual Basic DLLs in Java with JACOB (JAva-COM Bridge). Requires a DLL in the Java
    * Lib Path with classes "TestProject.TestClass" and "TestProject.TestClass2" and the corresponding
    * functions/subs.
    * <p><b>Links:</b>
    * <ul>
    * <li><a href="http://danadler.com/jacob/">The JACOB Project: A JAva-COM Bridge</a>
    * <li><a href="http://groups.yahoo.com/group/jacob-project/">Yahoo group: jacob-project</a>
    * <li><a href="http://www.officecomputertraining.com/vbtutorial/tutpages/page32.asp">VB Dates and Time</a>
    * </ul>
    public class JacobTest {
         * Test application for JACOB.
         * @param args Not required.
        public static void main(String[] args) {
            System.out.println("Library path: "+System.getProperty("java.library.path"));
            ActiveXComponent activex = null;
            String dllClassName = "TestProject.TestClass";
            long time = System.currentTimeMillis();
            try {
                activex = new ActiveXComponent(dllClassName); //ProgId
                Object o = activex.getObject();
                Variant variant = null;
                System.out.println("\n*** Test function that returns a String:");
                variant = Dispatch.call(o, "getString", "Hello");
                System.out.println("getString('Hello'): "+variant.getString());
                List ml = new ArrayList();
                ml.add("mytest");
                System.out.println("\n*** Test function that returns a String:");
                variant = Dispatch.call(o, "getString", ml.get(0));
                System.out.println("getString('"+ml.get(0)+"'): "+variant.getString());
                System.out.println("\n*** Test function that returns an integer:");
                variant = Dispatch.call(o, "getInteger", new Integer(7));
                System.out.println("getInteger(7): "+variant.getShort());
                System.out.println("\n*** Test function that returns a double:");
                variant = Dispatch.call(o, "getDouble", new Double("12.34"));
                System.out.println("getDouble(12.34): "+variant.getDouble());
                System.out.println("\n*** Test function that returns a boolean:");
                variant = Dispatch.call(o, "getBoolean", new Boolean(true));
                System.out.println("getBoolean(true): "+variant.getBoolean());
                System.out.println("\n*** Test function that returns a date:");
                variant = Dispatch.call(o, "getDate");
                System.out.println("getDate(): "+variant.getDate());
                System.out.println("Java: "+new Date(toMilliseconds(variant.getDate())));
                System.out.println("\n*** Test function that returns a time:");
                variant = Dispatch.call(o, "getTime");
                System.out.println("getTime(): "+variant.getDate());
                System.out.println("Java: "+new Date(toMilliseconds(variant.getDate())));
                System.out.println("\n*** Test function that returns a timestamp:");
                variant = Dispatch.call(o, "getTimestamp");
                System.out.println("getTimestamp(): "+variant.getDate());
                System.out.println("Java: "+new Date(toMilliseconds(variant.getDate())));
                System.out.println("\n*** Test function that returns a timestamp:");
                variant = Dispatch.call(o, "getTimestamp");
                System.out.println("getTimestamp(): "+variant.getDate());
                System.out.println("Java: "+   new Date(toMilliseconds(variant.getDate())));
                System.out.println("\n*** Test function with optional parameter:");
                variant = Dispatch.call(o, "callOptionalParas", "eins", null, "drei");
                System.out.println("callOptionalParas(): "+variant.getString());
                System.out.println("\n*** Test function that returns a 2 dimensional array:");
                variant = Dispatch.call(o, "getArray", "*!*");
                SafeArray array = variant.toSafeArray(false);
                System.out.println("getArray('zwo'): "+array.getString(0,2));
                System.out.println("\n*** Test function with more than 8 parameters:");
                Object[] paras = new String[] {"1", "2", "3", "4", "five", "six", "seven", "eight", "nine", "ten"};
                variant = Dispatch.callN(o, "callNParas", paras);
                System.out.println("callNParas(..."+paras[9]+"): "+variant.getString());
                System.out.println("\n*** Test function that returns another COM object:");
                variant = Dispatch.call(o, "getTestClass2", "Test Object 1");
                Object class2 = variant.getDispatchRef();
                variant = Dispatch.call(class2, "getValue", "myPara!");
                System.out.println("getTestClass2().getValue('myPara'): "+variant);
    //            System.out.println("\n*** Open a Microsoft Word document:");
    //            ActiveXComponent oWord = new ActiveXComponent("Word.Application");
    //            oWord.setProperty("Visible", new Variant(true));
    //            Object oDocuments = oWord.getProperty("Documents").toDispatch();
    //            Object oDocument = Dispatch.call(oDocuments, "Open", "E:/temp/TestDoc.doc").toDispatch();
    //            Object oSelection = oWord.getProperty("Selection").toDispatch();
                System.out.println("\n*** Test function with new COM object parameter:");
                ActiveXComponent com2 = new ActiveXComponent("TestProject.TestClass2"); //ProgId
    //            Dispatch d2 = (Dispatch) com2.getObject();
    //            Variant v = new Variant(d2);
    //            Dispatch vp = v.toDispatch();
                variant = Dispatch.call(o, "callWithComPara", com2);
                System.out.println("callWithComPara(): "+variant.getString());
                System.out.println("\nDuration [ms]: "+(System.currentTimeMillis() - time));
            } catch (Throwable t) {
                System.err.println("ERROR with ActiceX component '"+dllClassName+"': "+t);
        }//main()
         * Convert a Visual Basic time double value (e.g. from functions Date(), Time(), Now()) to a Java long value (milliseconds).
         * Visual Basic time values are based to 30.12.1899, Java time values are based to 1.1.1970 (= 0 milliseconds).
         * The difference is added to the Visual Basic value to get the corresponding Java value. The Visual Basic double value reads:
         * <day count delta since 30.12.1899>.<1 day percentage fraction>, e.g. "38100.6453" means: 38100 days since 30.12.1899
         * plus (24 hours * 0.6453). Example usage: <code>Date javaDate = new Date(toMilliseconds(vbDate));</code>.
         * @param vbTimestamp Time value from Visual Basic.
         * @return Number of milliseconds since 1.1.1970.
        static public long toMilliseconds(double vbTimestamp) {
            long result = 0;
            final long vbZeroTime = -2209165200000L; //30.12.1899 00:00:00 in milliseconds
            final long oneDay = 86400000; //1 day in milliseconds (24 * 60 * 60 * 1000)
            BigDecimal bd = new BigDecimal(""+vbTimestamp);
            long dayCount = bd.longValue(); //value left of point; number of days since 30.12.1899
            BigDecimal tp = bd.subtract(new BigDecimal(""+dayCount)); //fractional part is factor for 1 day (e.g. 0.5 => 12 hours)
            long date = vbZeroTime + (dayCount * oneDay); //compute java date
            //avoid problems with daylight savings time by setting time to 00:00:00 :
            GregorianCalendar dateCal = new GregorianCalendar();
            dateCal.setTimeInMillis(date);
            dateCal.set(Calendar.HOUR, 0);
            dateCal.set(Calendar.HOUR_OF_DAY, 0);
            dateCal.set(Calendar.MINUTE, 0);
            dateCal.set(Calendar.SECOND, 0);
            dateCal.set(Calendar.MILLISECOND, 0);
            date = dateCal.getTimeInMillis();
            long time = (long) (oneDay * tp.doubleValue()); //compute java time
            result = date + time;
            return result;
        }//toMilliseconds()
    }//JacobTest()

  • UnsatisfiedLinkError and java.library.path?

    I did look for this topic in this forum. The question has been asked, but I don't see an answer :(
    I get an error at runtime...
    "java.lang.UnsatisfiedLinkError: no EZTaxJavaCpp.dll in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)"
    Code...
    public class EZTaxJNI {
    private native void sendEZCmd(String cmd);
    static{
    System.loadLibrary("EZTaxJavaCpp.dll");
    public static void main(String[] args) {
    EZTaxJNI ez = new EZTaxJNI();
    ez.sendEZCmd("control initialize");
    System.out.println("JNI");
    The dll exists. I tried adding the path with the dll name and it didn't work. I tried removing the .dll extention and no luck. Where do I set java.library.path?

    regarding the dll not found :
    - if you state System.loadLibrary(...) you need to put the dll into a system library (like system32)
    - if you state System.load(....) you can/must specify the complete path to your dll
    regarding the UnsatisfiedLinkError :
    three reasons I can think of :
    - if your java module belongs to a package, i.e. if you have a statement like
    package com.hllapi;
    in your code, then you need to state this in the native code like this
    JNIEXPORT jstring JNICALL Java_com_hllapi_JRmmApi_runCommand (JNIEnv *env, jobject obj, jstring cmd)  
    - something in the header file is wrong ?
    I usually have the 'extern "C" .....' statement in the header file,
    but I guess your way should work as well
    - finally, I just realized, that you have two underscores in your statement after 'Java'
    -> Java__EZTaxJNI_sendEZCmd(JNIEnv* env, jobject, jstring jMsg
    this might be a problem
    Hope this helps....

  • Java.lang.UnsatisfiedLinkError: ocijdbc9.dll: Can't find dependent librarie

    Hi all,
    I have written a simple code to connect to Oracle9i in WindowsXP.
    Oracle is installed and running on Linux machne on the Intranet.
    I have set 'classes12.jar' in classpath and placed following dlls in "C:\WINDOWS\system32" path
    ocijdbc9.dll
    ocijdbc9_g.dll
    heteroxa9.dll
    heteroxa9_g.dll
    Following is the part of code:
    public String dbName = new String("jdbc:oracle:oci8:username/password@sid_192.168.0.128");
    public String dbClassName = new String("oracle.jdbc.driver.OracleDriver");
    Class.forName(dbClassName);
    conection = DriverManager.getConnection(dbName);
    statement = conection.createStatement();
    When I run this code got following errors:
    java.lang.UnsatisfiedLinkError: C:\WINDOWS\system32\ocijdbc9.dll: Can't find dependent libraries
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)
         at java.lang.Runtime.loadLibrary0(Runtime.java:788)
         at java.lang.System.loadLibrary(System.java:834)
         at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:262)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:346)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:193)
         at menus.SQLShelfManager.openDBconnecton(SQLShelfManager.java:46)
         at menus.SQLShelfManager.main(SQLShelfManager.java:129)
    Exception in thread "main"
    Please guide me, what I am missing? Thanks in advance...

    There are only a very very few and rare good reasons to use the oci8 driver with Java (and I can't remember any of them at the moment). Performance is not one of them. If at all possible, you should use the Type IV (thin) driver instead.
    The classes12.jar (or zip) is for use with Java 1.2 and 1.3. There are different versions of this jar for each version of the database, but they're fundamentally cross-compatible; all the post-8i drivers are supposed to work with all the post-8i databases (and the 8i stuff also mostly works too). There's been a succession of bug fixes and minor functional changes, as well as some very substantial perfromance improvements. If you are developing brand-new code, I very stongly encourage you to use the very latest driver (currently 10.2.0.1, I think). If you are using a Java version greater than 1.3, then you should use the ojdbc14.jar instead (and don't try to use both classes12.jar and ojdbc14.jar, they have the sameclasses in them). I think the 10.2.0.1 ojdb14.jar was the first one certified for Java 1.5, and it's significantly faster than the 9i drivers. Anyone considering an upgrade of drivers should plan to do a good regression test; as mentioned before, there are some very small functional differences. You can download the latest drivers here:
    http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
    If you insist on using oci, then you probably need to do an Oracle client installation on your Windows box. If you stay with the 9i driver, the full client install is huge; however, you can almost certainly use the 10g "Instant Client", which is a pared-down version, with just the minimal stuff to support an application. That's available here:
    http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html

  • No ocijdbc9 in java.library.path

    I am running an app against Oracle 8.17 with an OCI connection using ocijdbc8.dll. The web server is Tomcat 3.2.3. The app has no problem connecting to the database.
    If I run against Tomcat 4 I get the error
    java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:294)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:307)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:442)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:321)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    I do not have Oracle 9i installed so don't know why it is trying to use ocijdbc9.
    When I switch back to Tomcat 3 there is no problem.
    The Classpath has the Classes12.zip for Oracle 8.1.7
    Can anybody shed any light on this??

    What is the platform this product is running on? Is LD_LIBRARY_PATH (through wrapper.env) or java.library.path set in jserv.properties?

  • JDeveloper 9.0.3 - no ocijdbc9 in java.library.path

    I am on Windows XP. I have 8.1.6 and 9.0.3 client drivers installed.
    I am trying to connect to an external Oracle database, but having no luck. I can connect fine with Windows apps including TOAD and SQL*Plus.
    However, using JDeveloper, if I try to use the oci8 driver (there is no oci9 in the dropdown), I get "no ocijdbc9 in java.library.path).
    Using the thin driver, I get
    Io exception: Connection refused(DESCRRIPTION=(TMP=)(VSNUM=135296000)(ERR=12505)ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    TNSPING works as well.

    The setup requirements for using the OCI driver from JDeveloper are available in the help system:
    Working With the Database
    => Configuring Database Connections
    => => Reference: Connection Requirements for Oracle's Type II Drivers (OCI)
    -- Brian (JDev Team)

  • "Unable to load DLL '/system/usr/lib/libidlprinter.so': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"}

    I am using intermec printer (directly loading to the printer no system used for printing) for this program and if i run this,i'm getting this below error
    "Unable to load DLL '/system/usr/lib/libidlprinter.so': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"}
    any help on this .........
    Thanks in advance.
    using System.Globalization;
    using Intermec.Printer;
    using System;
    using System.IO;
    using System.Threading;
    class TestCommunicationUSBHost
        static UI.Canvas _canvas;
        static UI.Keypad _keypad;
        static UI.Canvas.Text _exitInstruction;
        static UI.Canvas.Text _appliCationTitle;
        // static UI.Canvas.Text _companyname;
        static string _operatorCodeValue;
        static UI.Canvas.Text _operatorCodeDisplayText;
        private const string operatorCodeDisplayHeader = "SCAN Code: ";
        static PrintControl printControl = new PrintControl();
        static Drawing drawing = new Drawing();
        private static bool _isExitKeyPressed = false;
      //  private static Communication.USBHost _usbHost;
        static int Main(string[] args)
            // Init new UI canvas
            _canvas = new UI.Canvas();
            // Set up some colors to use
            Color white = new Color(255, 255, 255, 255);
            Color blue = new Color(50, 100, 150);
            // Add UI black background
            UI.Canvas.Rectangle bg = new UI.Canvas.Rectangle(0, 0, _canvas.Width, _canvas.Height, blue);
            _canvas += bg;
            // Add Line
            UI.Canvas.Line ln = new UI.Canvas.Line(10, 35, 300, 35, white);
            _canvas += ln;
            // _companyname = new UI.Canvas.Text(30, 45, "KEYBORD DEMO", "Univers Bold", 18, white);
            // _canvas += _companyname;
            // Add UI keycode text
            _exitInstruction = new UI.Canvas.Text(20, 200, "Press [F4] to EXIT.", "Univers Bold", 18, white);
            _canvas += _exitInstruction;
            _appliCationTitle = new UI.Canvas.Text(05, 05, " A1 Technologies", "Univers Bold", 23, white);
            _canvas += _appliCationTitle;
            _operatorCodeDisplayText = new UI.Canvas.Text(20, 100, operatorCodeDisplayHeader, "Univers Bold", 20, white);
            _canvas += _operatorCodeDisplayText;
            // Set up keypad event handler
            _keypad = new UI.Keypad();
            _keypad.KeyDown += new UI.Keypad.KeyEventHandler(KeyHandler);
            // Set up timer event handler
            UI.Canvas.Timer timer = new UI.Canvas.Timer();
            timer.Interval = 1000;
            timer.Tick += new UI.Canvas.TimerEventHandler(TimerHandler);
            timer.Start();
            //int USBHost port o or Setup USBHost
            Communication.USBHost _usbHost = new Communication.USBHost("/dev/ttyUSB0");
            _usbHost.Open();
            // Enter UI main loop
            _canvas.Run();
            // Cleanup UI
            _canvas.Dispose();
            _keypad.Dispose();
            return 0;
        public static void KeyHandler(Object o, UI.Keypad.KeyEventArgs eventArgs)
            int keycode;
            keycode = eventArgs.KeyChar;
            if (keycode == 4)
                _isExitKeyPressed = true;
                return;
        public static void TimerHandler(Object obj, UI.Canvas.TimerEventArgs eventArgs)
            if (_isExitKeyPressed)
                UI.Canvas.Timer timer = (UI.Canvas.Timer)obj;
                timer.Stop();
                _canvas.Exit();
            else
                // Open the first USB host device and read any data sent
                Communication.USBHost usbHost = new Communication.USBHost("/dev/ttyUSB0");
                usbHost.Open();
                if (usbHost.IsOpen)
                    Console.WriteLine("Opened /dev/ttyUSB0 ({0})", usbHost.HIDName);
                    FileStream fileStream = usbHost.GetStream();
                    try
                        int timeout = 0;
                        int i;
                        while (timeout < 5)
                            // Console.WriteLine("Exiting in {0} secs", 10 - timeout);
                            Byte[] bytes = new Byte[256];
                            if ((i = fileStream.Read(bytes, 0, bytes.Length)) > 0)
                                // string data = System.Text.Encoding.ASCII.GetString(bytes, 0, bytes.Length);
                                string data = System.Text.Encoding.ASCII.GetString(bytes, 0, i++);
                                _operatorCodeValue = data;
                                // _operatorCodeValue = _operatorCodeValue + data;
                                _operatorCodeDisplayText.Data = operatorCodeDisplayHeader + _operatorCodeValue.Substring(_operatorCodeValue.Length - 7, 7);
                                int leftCordinate = 40;
                                drawing.Clear();
                                Drawing.Text line1Text = new Drawing.Text();
                                line1Text.Point = new Point(leftCordinate + 30, 40);
                                line1Text.Data = _operatorCodeValue.Substring(_operatorCodeValue.Length - 7, 7);
                                line1Text.Height = 18;
                                line1Text.FontName = "CG Times Bold";
                                drawing += line1Text;
                                drawing.PartialRendering = true;
                                printControl.PrintFeed(drawing, 4);
                            else
                                Thread.Sleep(1000);
                                timeout++;
                    catch (Exception ex)
                        Console.WriteLine("Exception reading /dev/ttyUSB0: {0}", ex.Message);
                // Wait a short while
                Thread.Sleep(1000);
                // Clean up 
               // usbHost.Dispose();
            return;

    Hiya,
     The error is because the app tried to import that driver but it was not found. So, you will need
    to recheck your project setup, provide locations for imports, etc. I am not familar with Intermec Printer.
    The code snippet does not show any information about the DLL import, check there too.
    Hope this helps. :)

  • Configure JDBC connection ERROR: no ocijdbc9 in java.library.path

    ERROR: no ocijdbc9 in java.library.path
    step 6 is where I need help!? thanx.
    When configuring a database connection, I chose
    1. Oracle JDBC (connection type)
    2. Authentication (username/password of my D2K repository)
    3. Driver: oci8
    4. Hostname: pmurphy1 (my local machine where my db is)
    5. Port: 1521 default (odbc works on this)
    * 6. Enter custom JDBC url (? please help ?) left blank!!
    I really wanna get started with this cool toy!!!
    Cheers,
    Paully

    I am assuming you are using JDeveloper 3.2x
    Please see the online help for additional details.
    Search help for "JDBC Connection Properties" - With the
    quotations and you will find a page names "JDBC Connection
    Properties"
    This page contains the following info and additional links.
    -John
    ------------- COPIED FROM HELP ---------------
    Oracle JDBC-OCI8 Driver
    Use this type 2 driver when creating a Java application that
    runs against an Oracle8i server. This is a thick driver
    optimized for the Oracle8i database: it cannot be used with
    applets. This driver handles any database protocol (TCP, IPX,
    BEQ, and so on). It is required for applications which are run
    from the machine they are stored on. It can also be used against
    an Oracle7 database.
    This driver requires client software installation. The project
    must also include the correct version of the driver in a library
    and include no other Oracle JDBC library. This driver is
    included in the default Oracle JDBC library for all projects.
    The library is named Oracle 8.1.7 JDBC and it includes both the
    Thin JDBC and JDBC-OCI8 driver library components. For all OCI
    and type 2 JDBC drivers, see Connection Requirements for OCI and
    Type 2 JDBC Drivers.
    ------------- COPIED FROM HELP ---------------

  • Exception occurred during event dispatching:java.lang.NoSuchMethodError

    Hello,
    We have upgraded to the latest Oracle Application Server version 10.1.2.3.0 and the webutil version is 1.0.6.
    But we face the following error while accessing the web link. Following message captured from Java Console.
    Please suggest if you have any solutions/idea about this error. Thanks !
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    Maximum size: 50 MB
    Compression level: 0----------------------------------------------------
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Downloading http://si02938.in.irt.com:7778/forms/java/frmall_jinit.jar to JAR cacheDownloading http://si02938.in.irt.com:7778/forms/java/frmwebutil.jar to JAR cacheDownloading http://si02938.in.irt.com:7778/forms/java/jacob.jar to JAR cacheDownloading http://si02938.in.irt.com:7778/forms/java/FileInformation.jar to JAR cacheDownloading cacheproxyHost=nullproxyPort=0connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.3
    Exception occurred during event dispatching:java.lang.NoSuchMethodError     at oracle.forms.webutil.common.VBeanCommon.init(VBeanCommon.java:281)     at oracle.forms.handler.UICommon.instantiate(Unknown Source)     at oracle.forms.handler.UICommon.onCreate(Unknown Source)     at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)     at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)     at oracle.forms.engine.Runform.processMessage(Unknown Source)     at oracle.forms.engine.Runform.processSet(Unknown Source)     at oracle.forms.engine.Runform.onMessageReal(Unknown Source)     at oracle.forms.engine.Runform.onMessage(Unknown Source)     at oracle.forms.engine.Runform.processEventEnd(Unknown Source)     at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)     at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)     at java.awt.Component.dispatchEventImpl(Unknown Source)     at java.awt.Container.dispatchEventImpl(Unknown Source)     at java.awt.Component.dispatchEvent(Unknown Source)     at java.awt.EventQueue.dispatchEvent(Unknown Source)     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)     at java.awt.EventDispatchThread.run(Unknown Source)
    Edited by: user12233243 on Nov 16, 2009 10:28 PM
    Edited by: user12233243 on Nov 16, 2009 10:29 PM

    hi
    read the following configuration i hope it will help u.
    How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
    Solution
    Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
    here are steps to get a small test form running, using WebUtil 1.06.
    Note: [OraHome] is used as an alias for your real oDS ORACLE_HOME.
    Feel free to copy this note to a text editor, and do a global find/replace on
    [OraHome] with your actual value (no trailing slash). Then it is easy to
    copy/paste actual commands to be executed from the note copy.
    1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
    and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
    2) Copy or move jacob.jar and jacob.dll
    [JacobStage] is the folder where you extracted Jacob, and will end in ...\jacob_18
    cd [JacobStage]
    copy jacob.jar [OraHome]\forms\java\.
    copy jacob.dll [OraHome]\forms\webutil\.
    The Jacob staging area is no longer needed, and may be deleted.
    3) Sign frmwebutil.jar and jacob.jar
    Open a DOS command prompt.
    Add [OraHome]\jdk\bin to the PATH:
    set PATH=[OraHome]\jdk\bin;%PATH%
    Sign the files, and check the output for success:
    [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\frmwebutil.jar
    [OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\jacob.jar
    4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
    you may skip this step. Otherwise,
    Create a schema to hold the WebUtil stored code, and privileges needed to
    connect and create a stored package. Schema name "WEBUTIL" is recommended
    for no reason other than consistency over the user base.
    Open [OraHome]\forms\create_webutil_db.sql in a text editor, and delete or comment
    out the EXIT statement, to be able to see whether the objects were created witout
    errors.
    Start SQL*Plus as SYSTEM, and issue:
    CREATE USER webutil IDENTIFIED BY [password]
    DEFAULT TABLESPACE users
    TEMPORARY TABLESPACE temp;
    GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
    CONNECT webutil/[password]@[connectstring]
    @[OraHome]\forms\create_webutil_db.sql
    -- Inspect SQL*Plus output for errors, and then
    CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
    Reconnect as SYSTEM, and issue:
    grant execute on webutil_db to public;
    5) Modify [OraHome]\forms\server\default.env, and append [OraHome]\jdk\jre\lib\rt.jar
    to the CLASSPATH entry.
    6) Start the OC4J instance
    7) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
    Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
    It is important to generate the PLX, to avoid the FRM-40039 discussed in
    Note 303682.1
    If the PLX is not generated, the Webutil.pll library would have to be attached with
    full path information to all forms wishing to use WebUtil. This is NOT recommended.
    8) Create a new FMB.
    Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
    There is no need to Subclass the WebutilConfig object.
    Attach the Webutil.pll Library, and remove the path.
    Add an ON-LOGON trigger with the code
    NULL;
    to avoid having to connect to an RDBMS (optional).
    Create a new button on a new canvas, with the code
    show_webutil_information (TRUE);
    in a WHEN-BUTTON-PRESSED trigger.
    Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
    9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
    the "Application Server URL" is empty.
    Then append "?config=webutil" at the end, so you end up with a URL of the form
    http://server:port/forms/frmservlet?config=webutil
    10) Run your form.
    If its Correct/Helpful please mark it thanks.
    Sarah

  • No jacob in java.library.path.doc

    I am running Developer Suite 10g on Windows XP. I have the OC4J instance running. I am using WebUtil and trying to use the OLE2 stuff. When I execute the code, nothing happens (see errors below) – except all my buttons go dead. I checked, and it does not seem that I am getting the Jacob, JNIsharedstubs, and the d2kwut60 DLLs to download to my Jinitiator directory. I removed and reinstalled Jinitiator, but still nothing. If I manually copy the DLLs to the directory, I at least begin to get OLE2 errors. I read the message board (and modified “Word.Basic” to “Word.Application”) and read the WebUtil manual and reviewed my set-up. Any suggestions are much appreciated.
    Java console:
    Oracle JInitiator: Version 1.3.1.17
    Using JRE version 1.3.1.17-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\don4
    Proxy Configuration: Automatic Proxy Configuration
    JAR cache enabled
    Location: C:\Documents and Settings\don4\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Downloading http://d26.corp.don.com:8889/forms90/java/f90all_jinit.jar to JAR cache
    Downloading http://d26.corp.don.com:8889/forms90/webutil/webutil.jar to JAR cache
    RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
    Downloading http://d26.corp.don.com:8889/forms90/webutil/jacob.jar to JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 9.0.4.0
    2004-Jun-18 14:33:28.903 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-Jun-18 14:33:28.953 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-Jun-18 14:33:28.983 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-Jun-18 14:33:29.13 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-Jun-18 14:33:29.53 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-Jun-18 14:33:29.214 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-Jun-18 14:33:29.254 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-Jun-18 14:33:29.284 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2004-Jun-18 14:33:34.745 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.jacob.dll
    2004-Jun-18 14:33:34.785 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-Jun-18 14:33:34.815 WUT[loadSettings()] Local properties file loaded
    2004-Jun-18 14:33:34.855 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.JNIsharedstubs.dll
    2004-Jun-18 14:33:34.895 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-Jun-18 14:33:34.926 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.d2kwut60.dll
    2004-Jun-18 14:33:34.976 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-Jun-18 14:33:49.722 WUF[setProperty()] Setting property WUF_FILENAME to C:\temp
    2004-Jun-18 14:33:49.722 WUF[setProperty()] Setting property WUF_FILE_ATTRIBUTE to 1
    2004-Jun-18 14:33:49.722 WUF[getProperty()] Getting property WUF_FILE_ATTRIBUTE
    2004-Jun-18 14:33:49.742 WUF[setProperty()] Setting property WUF_FILENAME to C:\temp
    2004-Jun-18 14:33:49.742 WUF[setProperty()] Setting property WUF_FILE_ATTRIBUTE to 4
    2004-Jun-18 14:33:49.742 WUF[getProperty()] Getting property WUF_FILE_ATTRIBUTE
    2004-Jun-18 14:33:49.752 WUF[setProperty()] Setting property WUF_GFN_DIRNAME to C:\temp
    2004-Jun-18 14:33:49.772 WUF[setProperty()] Setting property WUF_FILENAME to *.csv
    2004-Jun-18 14:33:49.772 WUF[setProperty()] Setting property WUF_FILTER to All CSV Files (*.csv)|*.csv|
    2004-Jun-18 14:33:49.792 WUF[setProperty()] Setting property WUF_GFN_MESSAGE to Open Interface Import File
    2004-Jun-18 14:33:49.822 WUF[setProperty()] Setting property WUF_GFN_MULTISELECT to FALSE
    2004-Jun-18 14:33:49.822 WUF[getProperty()] Getting property WUF_GFN_OPENFILE
    2004-Jun-18 14:33:52.904 WUF[setProperty()] Setting property WUF_FILENAME to false
    2004-Jun-18 14:33:52.904 WUF[setProperty()] Setting property WUF_FILE_ATTRIBUTE to 4
    2004-Jun-18 14:33:52.904 WUF[getProperty()] Getting property WUF_FILE_ATTRIBUTE
    2004-Jun-18 14:33:52.914 WUF[setProperty()] Setting property WUF_FILENAME to false
    2004-Jun-18 14:33:52.914 WUF[setProperty()] Setting property WUF_FILE_ATTRIBUTE to 1
    2004-Jun-18 14:33:52.914 WUF[getProperty()] Getting property WUF_FILE_ATTRIBUTE
    2004-Jun-18 14:33:52.924 WUF[setProperty()] Setting property WUF_FILENAME to false
    2004-Jun-18 14:33:52.924 WUF[setProperty()] Setting property WUF_FILE_ATTRIBUTE to 2
    2004-Jun-18 14:33:52.934 WUF[getProperty()] Getting property WUF_FILE_ATTRIBUTE
    2004-Jun-18 14:34:00.212 WUO[setProperty()] Setting property WUO_OLE2_OBJNAME to WORD.Basic
    2004-Jun-18 14:34:00.222 WUO[getProperty()] Getting property WUO_OLE2_CREATE_OBJ
    Exception occurred during event dispatching:
    java.lang.UnsatisfiedLinkError: no jacob in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at com.jacob.com.Dispatch.<clinit>(Dispatch.java)
    at oracle.forms.webutil.ole.OleFunctions.create_obj(OleFunctions.java:513)
    at oracle.forms.webutil.ole.OleFunctions.getProperty(OleFunctions.java:218)
    at oracle.forms.handler.UICommon.onGet(Unknown Source)
    at oracle.forms.engine.Runform.onGetHandler(Unknown Source)
    at oracle.forms.engine.Runform.processMessage(Unknown Source)
    at oracle.forms.engine.Runform.processSet(Unknown Source)
    at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
    at oracle.forms.engine.Runform.onMessage(Unknown Source)
    at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    J:\WebUtil\server\WebUtil.cfg file contains:
    install.syslib.location=http://d26.corp.don.com:8889/forms90/webutil
    install.syslib.0.7.1=jacob.dll|94208|1.0|true
    install.syslib.0.9.1=JNIsharedstubs.dll|65582|1.0|true
    install.syslib.0.9.2=d2kwut60.dll|192512|1.0|true
    C:\Oracle\10iDS2\forms90\server\default.env contains:
    ORACLE_HOME=c:\oracle\10iDS2
    FORMS90_PATH=c:\oracle\10iDS2\cgenf61\admin;c:\oracle\10iDS2\forms90;c:\ipms\forms10g;j:\WebUtil\forms;j:\WebUtil\lib;j:\bin10g
    PATH=c:\oracle\10iDS2\bin;c:\oracle\10iDS2\jdk\jre\bin\client
    FORMS90=c:\oracle\10iDS2\forms90
    WEBUTIL_CONFIG=j:\webutil\server\webutil.cfg
    CLASSPATH=j:\webutil\lib\webutil.jar;j:\webutil\lib\jacob.jar;c:\oracle\10iDS2\jdk\jre\lib\rt.jar;c:\oracle\10iDS2\j2ee\forms90app\forms90web\WEB-INF\lib\f90srv.jar;c:\oracle\10iDS2\jlib\repository.jar;c:\oracle\10iDS2\jlib\ldapjclnt9.jar;c:\oracle\10iDS2\jlib\debugger.jar;c:\oracle\10iDS2\jlib\ewt3.jar;c:\oracle\10iDS2\jlib\share.jar;c:\oracle\10iDS2\jlib\utj90.jar;c:\oracle\10iDS2\jlib\zrclient.jar;c:\oracle\10iDS2\reports\jlib\rwrun.jar;C:\Oracle\10iDS2\jdk\jre\bin\client\jvm.dll
    Orion-web.xml contains:
    <virtual-directory virtual-path="/webutil" real-path="j:\webutil\lib" />
    Forms90.conf contains:
    # Virtual path for webutil
    AliasMatch ^/forms90/webutil/(..*) "j:\webutil\lib/$1"
    Formsweb.cfg has all changes in one named section:
    [webutil]
    pageTitle=Oracle9iAS Forms Services - WebUtil
    webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
    WebUtilLogging=all
    WebUtilLoggingDetail=detail
    WebUtilErrorMode=Alert
    baseHTMLjinitiator=j:\webutil\server\webutiljini.htm

    >
    Orion-web.xml contains:
    <virtual-directory virtual-path="/webutil"
    real-path="j:\webutil\lib" />
    Forms90.conf contains:
    # Virtual path for webutil
    AliasMatch ^/forms90/webutil/(..*)
    "j:\webutil\lib/$1"
    I'm not sure about 10G, but for 9ids this is definitely wrong (see famous page 6 of 49 WebUtil Manual). On 9ids you have to add the virtual directory in orion-web.xml only, not in forms90.conf. On 9ias it is vice verca.
    Hope this helps
    Gerald

  • Oracle 9 classes12.jar looking for ocijdbc8.dll instead of ocijdbc9.dll?

    Hi,
    I have installed the client portion of Oracle 9 release 2 and written an EJB running in weblogic server 7.0, that uses the oracle oci JDBC driver. I have no other oracle installation on my machine, so I only have the ocijdbc9.dll in my %ORACLE_HOME%\bin directory, not the ocijdbc8.dll.
    The classes12.jar file (installed by the same installation mentioned above) is in my classpath.
    The code throws an "UnsatisfiedLinkError: no ocijdbc8 in java.library.path". This does not make sense to me because it should be trying to load ocijdbc9.dll.
    Does anybody know the solution to this problem??? I have opened the question on Oracle Technology Network with no luck.
    Andreas

    Hi,
    I have found the problem... Even if I put the %ORACLE_HOME%\jdbc\lib\classes12.jar in front of my classpath it did not work... There was no classes12.zip in my classpath, however there was a classes12.zip in the weblogic700\server\lib directory which I renamed. Then it worked.
    Regards,
    Andreas

  • Classes12.jar looking for ocijdbc8.dll instead of ocijdbc9.dll?

    I have installed the client portion of Oracle 9 release 2 and written an EJB that uses the oci JDBC driver. I have no other oracle installation on my machine, so I only have the ocijdbc9.dll in my %ORACLE_HOME%\bin directory, not the ocijdbc8.dll.
    The classes12.jar file (installed by the same installation mentioned above) is in my classpath.
    The code throws an "UnsatisfiedLinkError: no ocijdbc8 in java.library.path". This does not make sense to me because it should be trying to load ocijdbc9.dll.
    Please assist.
    Andreas

    Hi,
    Thank you for your response, but I guess I should have been a little bit more specific. As mentioned, I installed oracle 9 release 2 client only and have no other oracle installation on my machine. I am working on my laptop with Windows XP Professional. The application server hosting my EJB's is Weblogic Server version 7.0. So I am NOT using OC4J. I am accessing an Oracle Database on a Tru64 UNIX box.
    My EJB cannot create the connection because classes12.jar in my ORACLE_HOME\jdbc\lib which is in my classpath tries to load ocijdbc8.dll. Since I have only installed oracle9 release 2, should it not be looking for ocijdbc9.dll??? ocijdbc9.dll exists in ORACLE_HOME\bin. The classes12.jar was installed by the oracle9 release 2 client installation.
    Please help me....
    Regards,
    Andreas

  • OCIJDBC8 not found in java.library.path

    I am using JDK1.2.2 and OS Windows ME and Database Oracle 8.1.7
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:249)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:365)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at DBConnection.<init>(DBConnection.java:19)
    at DBConnection.main(DBConnection.java:11)
    Following are the path set
    COMSPEC=C:\WINDOWS\COMMAND.COM
    PATH=C:\WINDOWS\SYSTEM;C:\WINDOWS;C:\WINDOWS\COMMAND; D:\Blazix;E:\ORAWIN95\BIN;
    C:\jdk1.3\bin;c:\jsdk2.0\bin;d:\javawebserver2.0\bin;c:\jaxp-1.1;
    PROMPT=$p$g
    xxxxxxxxxxxxxxxxxxxxx
    TMP=C:\WINDOWS\TEMP
    CLASSPATH=.;C:\jdk1.3\jre\lib\rt.jar;c:\jsdk2.0\lib\jsdk.jar;c:\jdk1.3\lib\tools
    .jar;d:\Blazix\Blazix.jar;c:\jaxp-1.1\crimson.jar;c:\jaxp-1.1\xalan.jar;c:\jaxp-
    1.1\jaxp.jar;e:\orawin95\jdbc\lib\classes12.zip;e:\orawin95\jdbc\lib\nls_charset
    12.zip;d:\Blazix\ejbtut\PropsEjb.jar
    JAVA_HOME=c:\jdk1.3
    LD_LIBRARY_PATH=E:\ORAWIN95\JDBC\LIB;
    winbootdir=C:\WINDOWS
    windir=C:\WINDOWS
    BLASTER=A220 I5 D1
    CMDLINE=java DBConnection
    null

    ocijdbc8.dll is included with the oracle oci jdbc 8 driver. If you get the thin driver instead, the dll is not included.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Vijay Hegde ([email protected]):
    I am using JDK1.2.2 and OS Windows ME and Database Oracle 8.1.7
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:249)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:365)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at DBConnection.<init>(DBConnection.java:19)
    at DBConnection.main(DBConnection.java:11)
    Following are the path set
    COMSPEC=C:\WINDOWS\COMMAND.COM
    PATH=C:\WINDOWS\SYSTEM;C:\WINDOWS;C:\WINDOWS\COMMAND; D:\Blazix;E:\ORAWIN95\BIN;
    C:\jdk1.3\bin;c:\jsdk2.0\bin;d:\javawebserver2.0\bin;c:\jaxp-1.1;
    PROMPT=$p$g
    xxxxxxxxxxxxxxxxxxxxx
    TMP=C:\WINDOWS\TEMP
    CLASSPATH=.;C:\jdk1.3\jre\lib\rt.jar;c:\jsdk2.0\lib\jsdk.jar;c:\jdk1.3\lib\tools
    .jar;d:\Blazix\Blazix.jar;c:\jaxp-1.1\crimson.jar;c:\jaxp-1.1\xalan.jar;c:\jaxp-
    1.1\jaxp.jar;e:\orawin95\jdbc\lib\classes12.zip;e:\orawin95\jdbc\lib\nls_charset
    12.zip;d:\Blazix\ejbtut\PropsEjb.jar
    JAVA_HOME=c:\jdk1.3
    LD_LIBRARY_PATH=E:\ORAWIN95\JDBC\LIB;
    winbootdir=C:\WINDOWS
    windir=C:\WINDOWS
    BLASTER=A220 I5 D1
    CMDLINE=java DBConnection
    <HR></BLOCKQUOTE>
    null

Maybe you are looking for