JDBC Thin driver for Oracle doesnt load
From: MAB (bad-email_at_nowhere.com)
Date: 08/02/04
- Next message: Tina Smith: "DB on Blackberry"
- Previous message: Murray: "Re: Storing a dynamically created PDF file in a blob field"
- Next in thread: shay: "Re: JDBC Thin driver for Oracle doesnt load"
- Reply: shay: "Re: JDBC Thin driver for Oracle doesnt load"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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()) ;
}
}
}
- Next message: Tina Smith: "DB on Blackberry"
- Previous message: Murray: "Re: Storing a dynamically created PDF file in a blob field"
- Next in thread: shay: "Re: JDBC Thin driver for Oracle doesnt load"
- Reply: shay: "Re: JDBC Thin driver for Oracle doesnt load"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|