I believe you want
DriverManager.getConnection("jdbc:oracle:thin@<hostname>:<port>:SID","<login>","<password>");
    (*Chris*)
----- Original Message -----
Sent: Thursday, March 11, 1999 5:47 AM
Subject: Everything perfect - but class not found

I have installed the thin oracle driver on my system
I have also mentioned the classpath as follows
 
set classpath=c:\jdbc\classes111.zip;c:\jdbc
set path=c:\jdbc;
 
Here's the code
 
Class.forName("oracle.jdbc.driver.OracleDriver");
DriverManager.getConnection("jdbc:oracle:thin:<hostname>:<port>","<login>","<password>");
 
My classes111.zip is in jdbc directory
 
I am getting the  "Class not found Exception"
 
Please Help me.
 
Nimesh

Reply via email to