JDBC Thin driver for Oracle doesnt load

From: MAB (bad-email_at_nowhere.com)
Date: 08/02/04


Date: Mon, 2 Aug 2004 17:52:56 +0500

I'm using Oracle's JDeveloper 10g so the driver should exist. however this
code raises the ClassNotFoundException. so my questions

1. Whats the simplest way to tell if the thin driver for oracle ( or any
other JDBC driver ) exists?
2. If it does not exist where can I download it and where should I put it?
3. If it exists then why doesn't this code run? I've even tried to register
with the DriverManager but the same error.

thx.

import java.sql.*;

public class JDBCThin
{

  public static void main(String[] args)
 {

    try {

     Class.forName("oracle.jdbc.driver.OracleDriver");

       }

    catch ( ClassNotFoundException e )
      {
          System.out.println(e.getMessage()) ;
      }
}

}



Relevant Pages

  • Re: best Java driver for SQL
    ... I use the jTDS driver. ... inserting/updating a 12 GB database 50 time per second on a single ... > Whats the best Java driver for SQL Server? ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Re: disassembly of x86
    ... >>are almost impossible to decipher with so little info, i mean, whats ... >>0xfffffff4(%ebp) being used for, ... what driver, whats the problem your trying to solve. ... > Probably a wann-be cracker who tracked down the protection routine, ...
    (comp.lang.asm.x86)
  • Re: Need to know what changes are necessary for a windowXP driver to work in vista 32
    ... whats the BDA Driver and whats the Vendor for the Device and Driver? ... strightaway to install it on windows vista, ...
    (microsoft.public.win32.programmer.kernel)
  • 2.6.3rc4 compaq hotplug driver go bang on rmmod.
    ... I notice this driver has got its pci_driver remove: ... whats the thinking behind that? ... EIP is at __down+0x52/0x165 ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: disassembly of x86
    ... >there now?, What program is this, is it kernel or user code, is it in a ... what driver, whats the problem your trying to solve. ...
    (comp.lang.asm.x86)