This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes Asking for ocijdbc8 in Path I have ocijdbc9 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Asking for ocijdbc8 in Path I have ocijdbc9" Watch "Asking for ocijdbc8 in Path I have ocijdbc9" New topic

Asking for ocijdbc8 in Path I have ocijdbc9

Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 573
When trying to connect to my Oracle Database I get the following error.
java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
at java.lang.ClassLoader.loadLibrary(
at java.lang.Runtime.loadLibrary0(
at java.lang.System.loadLibrary(
at oracle.jdbc.oci8.OCIDBAccess.logon(
at oracle.jdbc.driver.OracleConnection.<init>(
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(
at oracle.jdbc.driver.OracleDriver.connect(
at java.sql.DriverManager.getConnection(
at java.sql.DriverManager.getConnection(
at roleOne.server.<init>(
at roleOne.server.main(
Problem is that I have ocijdbc9 which I have set in my path.
C:\Program Files\Oracle\jre\1.1.8\bin;
C:\Program Files\Rational\common;C:\Program Files\Rational\ClearQuest;
C:\Program Files\Rational\Rose\TopLink\;C:\Program Files\Rational\Rational Test
Thanks for any help.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Asking for ocijdbc8 in Path I have ocijdbc9
Similar Threads
Config.xml not found
Problem connecting to an Oracle database
Problem setting Oracle connection
Weblogic Oracle JDBC Problem
JDBC problem with weblogic.