Oracle classes not found

2002-08-15 Thread Kenny G. Dubuisson, Jr.

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:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Oracle classes not found

2002-08-15 Thread Turner, John


Rename the file, change the .zip extension to .jar (JAR format is ZIP
format, but tomcat won't recognize .zip).

John Turner
[EMAIL PROTECTED]


-Original Message-
From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 11:58 AM
To: [EMAIL PROTECTED]
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:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Oracle classes not found

2002-08-15 Thread Mike Jackson

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
[EMAIL PROTECTED]

 -Original Message-
 From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 15, 2002 8:58 AM
 To: [EMAIL PROTECTED]
 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:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Oracle classes not found

2002-08-15 Thread Shapira, Yoav

Hi,
Rename it to classes12.jar. ;)

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 11:58 AM
To: [EMAIL PROTECTED]
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:   mailto:tomcat-user-
[EMAIL PROTECTED]
For additional commands, e-mail: mailto:tomcat-user-
[EMAIL PROTECTED]



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]