package not found error while compiling

hi, i'm trying to connect to oracle with a java application using thin driver and i 've included the import oracle.jdbc.driver.* statement .

down the line is the code i'm using.

_

Prerequites r working such as

Java path is set

Oracle listener is working

The code we r using for jdbc connectivity in linux is mentioned below :-

import java.sql.*;

class jdbcdemo

{

public static void main(String[] args)

{

try

{

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

Connection conn = DriverManager.getConnection

("jdbc:oracle:thin:@202.153.40.136:1521:orcl", "system",

"admin");

if(conn == null)

{

System.out.println("conn failed");

}

else

{

System.out.println("conn sucess");

}

}

catch(Exception e)

{

System.out.println("exception throws is"

+e.getMessage());

}

}

}

Error:- oracle driver not found

Kindly provide us with a solution is resolving this error by specifying the necessary things that we should do in order to check the connectivity for oracle in Linux.

[1179 byte] By [kalyan_82a] at [2007-10-2 8:13:01]
# 1
you need the oracle driver jar added to the classpath.
aniseeda at 2007-7-16 22:09:50 > top of Java-index,Developer Tools,Java Compiler...