Newbie question: Problem with loading jdbc driver

From: Sanjay Kumar (hbsanjay_at_gmail.com)
Date: 12/28/04

  • Next message: Michael Rauscher: "Re: Newbie question: Problem with loading jdbc driver"
    Date: 28 Dec 2004 06:01:03 -0800
    
    

    Hi Friends,
    I am trying to access Oracle database using java. But I am unable to
    load the JDBC driver. The statement:

    String sDriver = "oracle.jdbc.driver.OracleDriver";
    try
    {
      Class.forName( sDriver ).newInstance();
    }
    catch( Exception e )
    {
    ...
    }

    the above statement is throwing exception and I am not sure whether
    any settings need to be done (any path settings ? ). I am using
    Oracle9i. All help appreciated.

    thanks in advance,
    Sanjay.


  • Next message: Michael Rauscher: "Re: Newbie question: Problem with loading jdbc driver"