• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

package oracle.jdbc.driver does not exist

 
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I use IntelliJIDEA 9.0.3 for my j2ee web application development. One of my module uses oracle database connection. But I get the error package oracle.jdbc.driver does not exist, package oracle.sql does not exist. I did some google and looked into previous posts and

I tried the following solutions but I still get the error

1. In the module setting -> dependencies-> classes12. Created the project library called classes12 and I have included the sources for classes12.jar.

This is my path C:/app/username/product/11.1.0/client_1/oui/jlib/classes12.jar

2. I have copied the classes12.jar to the C:\Program Files\Java\jdk1.6.0_21\jre\lib\classes12.jar.

I have my path
C:\app\username\product\11.1.0\client_1\bin;C:\app\username\product\11.1.0\client_1\oui\jlib;C:\Program Files\Java\jdk1.6.0_21\jre\lib\classes12.jar;C:\Program Files\Java\jdk1.6.0_21\jre\lib\classes12.jar;C:\app\username\product\11.1.0\db_1\oc4j\jdbc\lib\orai18n.jar;C:\app\username\product\11.1.0\db_1\owb\wf\ojdbc14.jar;

and classpath set to
.;C:\Program Files\Java\jdk1.6.0_21\jre\lib\classes12.jar;C:\app\username\product\11.1.0\db_1\oc4j\jdbc\lib\orai18n.jar;C:\app\username\product\11.1.0\db_1\owb\wf\ojdbc14.jar;

3. The module also has the jar file in its package folder



I am not sure what I am missing. Can anyone please help me solve this issue.
 
Sheriff
Posts: 67754
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please don't use code tags for text -- you can see how it screws up the formatting of your post. Making your posts hard to read is not a good way to get people to help you with your questions.
 
Romeo Ranjan
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Bear Bibeault wrote:Please don't use code tags for text -- you can see how it screws up the formatting of your post. Making your posts hard to read is not a good way to get people to help you with your questions.



I am sorry I did not mean to. Thought it would differentiate. but that did not work.
reply
    Bookmark Topic Watch Topic
  • New Topic