Home » Developer & Programmer » Forms » Oracle OCM Error: no ocijdbc10 in java.library.path (Oracle - IFS)
Oracle OCM Error: no ocijdbc10 in java.library.path [message #634479] Tue, 10 March 2015 08:02 Go to next message
chandini
Messages: 3
Registered: March 2015
Junior Member
Hi,
Am facing this error, when am trying to connect to IFS session.

Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at oracle.jdbc.driver.T2CConnection$1.run(T2CConnection.java:3138)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3134)
at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:220)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:438)
at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:131)
at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:77)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:752)
at java.sql.DriverManager.getConnection(DriverManager.java:571)
at java.sql.DriverManager.getConnection(DriverManager.java:215)


Suggest me to fix this issue.

Thanks.
Re: Oracle OCM Error: no ocijdbc10 in java.library.path [message #634481 is a reply to message #634479] Tue, 10 March 2015 08:36 Go to previous messageGo to next message
joy_division
Messages: 4963
Registered: February 2005
Location: East Coast USA
Senior Member
My first suggestion would be to put ocijdbc10 in the path.
Re: Oracle OCM Error: no ocijdbc10 in java.library.path [message #634545 is a reply to message #634481] Wed, 11 March 2015 05:01 Go to previous messageGo to next message
chandini
Messages: 3
Registered: March 2015
Junior Member
I have kept the ocijdbc10.dll file in library path, still am facing the issue.
Kindly suggest someother options.
Re: Oracle OCM Error: no ocijdbc10 in java.library.path [message #634553 is a reply to message #634545] Wed, 11 March 2015 05:19 Go to previous messageGo to next message
Littlefoot
Messages: 21807
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Well, if it still says
no ocijdbc10 in java.library.path
what would be your conclusion? Either Oracle is misreporting reality, or it is you who didn't fix it (although you think you did).
Re: Oracle OCM Error: no ocijdbc10 in java.library.path [message #634556 is a reply to message #634553] Wed, 11 March 2015 05:34 Go to previous messageGo to next message
chandini
Messages: 3
Registered: March 2015
Junior Member
even i tried to load that library explicitly, then i got another error:

ocijdbc10.dll cannot load 32-bit .dll on a amd 64-bit platform

How to fix this issue? any idea to fix it.
Re: Oracle OCM Error: no ocijdbc10 in java.library.path [message #634574 is a reply to message #634556] Wed, 11 March 2015 08:56 Go to previous message
CraigB
Messages: 386
Registered: August 2014
Location: Utah, USA
Senior Member
I'm not a Java developer, but wouldn't this error:
Quote:
no ocijdbc10 in java.library.path

be the Java CLASSPATH not the standard PATH?

As to...
Quote:
ocijdbc10.dll cannot load 32-bit .dll on a amd 64-bit platform

Do you have a 64-bit version of your dll?

Your post is a classic example of "not providing enough information" for us to be able to help you solve your problem.

1. Are you using Oracle Forms product? If so, what version?
2. What is your Client OS edition, version and 32 or 64 bit?
3. What is your Java version?
4. What code is executing when you get this error?
5. What are you attempting to do and can you provide a code sample?

Craig...

[Updated on: Wed, 11 March 2015 08:57]

Report message to a moderator

Previous Topic: show image in form by Image item
Next Topic: Attachments in oracle forms 10g
Goto Forum:
  


Current Time: Tue Apr 23 11:30:31 CDT 2024