Chris Pratt
wrote
I believe you want
DriverManager.getConnection("jdbc:oracle:thin@<hostname>:<port>:SID","<login>","<password>");
(*Chris*)
I tried using this but I am getting StringIndexOutofBoundException.
Please Help me.
-----Original Message-----
From: Chris Pratt <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, March 12, 1999 8:40 AM
Subject: Re: Everything perfect - but class not found----- Original Message -----From: Kenia NimeshSent: Thursday, March 11, 1999 5:47 AMSubject: Everything perfect - but class not foundI have installed the thin oracle driver on my systemI have also mentioned the classpath as followsset classpath=c:\jdbc\classes111.zip;c:\jdbcset path=c:\jdbc;Here's the codeClass.forName("oracle.jdbc.driver.OracleDriver");DriverManager.getConnection("jdbc:oracle:thin:<hostname>:<port>","<login>","<password>");My classes111.zip is in jdbc directoryI am getting the "Class not found Exception"Please Help me.Nimesh