aspose file tools
The moose likes JDBC and Relational Databases and the fly likes jdbc with oracle database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "jdbc with oracle database" Watch "jdbc with oracle database" New topic

jdbc with oracle database

Michelle Lee
Ranch Hand

Joined: Jan 23, 2002
Posts: 42
I tried to use jdbc in my servlet without luck.
I installed oracle 8i
and set my classpath to c:\Oracle\Ora81\jdbc\lib;c:\Oracle\Ora81\jdbc\lib\;
My programm I tested successed when using access database and odbc diver.
when I used used driver: oracle.jdbc.driver.OracleDriver
with url: jdbc racle:thin:@homeking:1521 ra8",
"scott","tiger";(homeking is my machine's name);
the program compiled well, but gave exception:
Exception! java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver at ... when running.
Any help very appreciated!

Col Bell

Joined: Mar 21, 2002
Posts: 12
The jar file containing the Oracle JDBC driver is normally, not Probably a typo.

Col<br /><a href="" target="_blank" rel="nofollow"></a>
Graham Thorpe
Ranch Hand

Joined: Mar 25, 2002
Posts: 265
Absolutely its a but not
You may probably find another classes like etc , and they must be choosen
according to ur jdk versions.
if urs is jdk1.1.x then use;
if urs is jdk1.2.x or higher then use;
ersin eser
Ranch Hand

Joined: Feb 22, 2001
Posts: 1072
glkrrr ! ( 2nd reminder)
Please read the Javaranch Naming Policy and change your publicly displayed name to comply with our unique rule. Thank you for your cooperation.
I agree. Here's the link:
subject: jdbc with oracle database