This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: jdbc with oracle database
It's not a secret anymore!