That application doesn't run through tomcat so you'll need to specify the location of the oracle jar (or zip) file in your classpath when you try to compile or run the application. --mikej -=----- mike jackson mjackson@cdi-hq.com > -----Original Message----- > From: Kenny G. Dubuisson, Jr. [mailto:kdubuisson@kcmria.com] > Sent: Thursday, August 15, 2002 8:58 AM > To: tomcat-user@jakarta.apache.org > Subject: Oracle classes not found > > > I now have Apache/Tomcat/JSDK up and running and I've copied Oracle's > "classes12.zip" into Tomcat's "common/lib" directory. I'm > performing a test > from an Oracle book and the compiler/code can't find the Oracle classes. > The code I'm running (saved in a file named "TestJdbc.java") is: > > package jdbc.driverTest; > import java.sql.*; > public class TestJdbc > { > public TestJdbc () > { > try > { > DriverManager.registerDriver (new > oracle.jdbc.driver.OracleDriver()); > } > catch (Exception e) {} > } > } > > My compile statement is (from the Windows NT command prompt): > "javac jdbc\driverTest\TestJdbc.java" > > The error I get is: > jdbc\driverTest\TestJdbc.java:11: cannot resolve symbol > symbol : class OracleDriver > location: package driver > DriverManager.registerDriver (new.oracle.jdbc.driver.OracleDriver()); > 1 error > ^ > > Any ideas? Thanks, > Kenny > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > > -- To unsubscribe, e-mail: For additional commands, e-mail: