Problem with Connecting to Oracle

0
By: madhuri - madhurip
Problem with Connecting to Oracle
2003-04-16 18:37
Hi,
I am having difficulty connecting to Oracle for using Jasper Reports. I am using Oracle 8.1.7. The Oracle JDBC Driver classes, classes12.zip is in the location of C:\ORACLE\ORA817\jdbc\lib on my computer and this path is in my CLASSPATH.

I have created a report design, compiled it using ant and when I try to "fill" the report, I am getting a "Class Not Found Exception - oracle.jdbc.driver.OracleDriver".

Is there some thing I am missing, do I need unzip the classes12.zip and put it some where? I was trying to use "iReport" and I had the same problem until I have unzipped the classes12.zip and copied it to "lib" directory of iReport. Do I have to do any additional things or am I doing any thing wrong?

Thank you,
Madhuri.






By: Allen Pham - apham
RE: Problem with Connecting to Oracle
2003-04-17 14:20
You must explicidly add the JDBC jar to your classpath. Not just the directory.
2002 JI Open Discussion's picture
Joined: Aug 10 2006 - 3:28am
Last seen: 7 years 8 months ago

Answers:

No answers yet
Feedback
randomness