Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

no ocijdbc9 in java.library.path  RSS feed

geeki geek
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My application is running on Oracle 8.1.6 database with Oracle 9i Jdeveloper. When I use JDBC thin driver my application runs fine.
However when I try to use JDBC-OCI driver, it errors out. For this I am creating a new database connection with the driver as 'oci8' and my test connection fails and gives a "Connection Exception" with message as "no ocijdbc9 in java.library.path".
I verified the Classpath and PATH in my system environment. it looks like this:
PATH: H:\Oracle9iDS\bin;D:\Program Files\Oracle\jre\1.1.8\bin;D:\Program Files\Oracle\jre\1.3.1\bin;H:\Orawin95\bin;D:\Program Files\Oracle\jre\1.1.7\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\nls;%SystemRoot%\system32\nls\ENGLISH
Can anyone suggest a solution to this?
Thanx a lot in advance for your input.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!