File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes no ocijdbc9 in java.library.path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "no ocijdbc9 in java.library.path" Watch "no ocijdbc9 in java.library.path" New topic

no ocijdbc9 in java.library.path

geeki geek

Joined: Aug 09, 2002
Posts: 1
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.
subject: no ocijdbc9 in java.library.path
It's not a secret anymore!