Skip to Main Content

Oracle Database Express Edition (XE)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

please help-where should i put the ojdbc package for java application?

467613Dec 12 2005 — edited Dec 16 2005
Hi,
i am trying to connect to oracle XE database in my java application (not in Jdeveloper environment, while in other java IDE), i have download the ojdbc driver package on my computer. could anyone here tell me where should i put the the above package to be run by my java application? thanks a lot.
I have tried to put the above driver package both in the same folder with my java application or other folder, and have set the classpath for it. but the error always occured : 1) package oracle.jdbc.pool does not exist
2) class file contains wrong class: oracle.jdbc.pool.OracleDataSource
Please remove or make sure it appears in the correct subdirectory of the classpath.

could anyone help me? thank you very much.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 13 2006
Added on Dec 12 2005
12 comments
1,310 views