how to change classpath settings
Posted on 2004-11-08
iam writing some jsp's, servlet's, javabeans
iam using NetBeansIDE3.6 , it is shipped with tomcat 5.1 server. Till now,i've used
JDBC - ODBC Bridge Driver. Now i Want to use OracleDriver. i've copied the corresponding classes111.jar and classes12.jar into common folder of TOMCAT installation directory. But iam getting ClassNotFoundException if i use The Statement
class.forName("oracle.jdbc.OracleDriver"); in my jdbc program.
And also i wanted use OracleResultSet,. it is unable to compile my java file.
And the NetBeansIDE is showing Red mark as some mistake is there in this line
Please let me Know how to use OracleDriver and Oracle API. How to Change the CLASSPATH settings to include Oracle jar files.