Home » Developer & Programmer » Forms » java.lang.UnsatisfiedLinkError: no jacob in java.library.path ((Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod, Windows XP))
java.lang.UnsatisfiedLinkError: no jacob in java.library.path [message #408716] Wed, 17 June 2009 06:53 Go to next message
waqasbhai
Messages: 118
Registered: August 2008
Location: Pakistan
Senior Member
I am trying to run an application created in forms 10 g but getting the following exception:

Exception occurred during event dispatching:

java.lang.UnsatisfiedLinkError: no jacob in java.library.path

	at java.lang.ClassLoader.loadLibrary(Unknown Source)

	at java.lang.Runtime.loadLibrary0(Unknown Source)

	at java.lang.System.loadLibrary(Unknown Source)

	at com.jacob.com.Dispatch.<clinit>(Dispatch.java:537)

	at oracle.forms.webutil.ole.OleFunctions.create_obj(OleFunctions.java:398)

	at oracle.forms.webutil.ole.OleFunctions.getProperty(OleFunctions.java:189)

	at oracle.forms.handler.UICommon.onGet(Unknown Source)

	at oracle.forms.engine.Runform.onGetHandler(Unknown Source)

	at oracle.forms.engine.Runform.processMessage(Unknown Source)

	at oracle.forms.engine.Runform.processSet(Unknown Source)

	at oracle.forms.engine.Runform.onMessageReal(Unknown Source)

	at oracle.forms.engine.Runform.onMessage(Unknown Source)

	at oracle.forms.engine.Runform.processEventEnd(Unknown Source)

	at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)

	at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)

	at java.awt.Component.dispatchEventImpl(Unknown Source)

	at java.awt.Container.dispatchEventImpl(Unknown Source)

	at java.awt.Component.dispatchEvent(Unknown Source)

	at java.awt.EventQueue.dispatchEvent(Unknown Source)

	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

	at java.awt.EventDispatchThread.run(Unknown Source)
Re: java.lang.UnsatisfiedLinkError: no jacob in java.library.path [message #408717 is a reply to message #408716] Wed, 17 June 2009 06:56 Go to previous messageGo to next message
ThomasG
Messages: 3211
Registered: April 2005
Location: Heilbronn, Germany
Senior Member
You are missing Jacob in your Java library path.
Re: java.lang.UnsatisfiedLinkError: no jacob in java.library.path [message #408719 is a reply to message #408716] Wed, 17 June 2009 07:01 Go to previous messageGo to next message
waqasbhai
Messages: 118
Registered: August 2008
Location: Pakistan
Senior Member
sorry but i need bit of explaination
you mean that jaccob.dll should be in ORACLE_HOME\forms90\java
Re: java.lang.UnsatisfiedLinkError: no jacob in java.library.path [message #408724 is a reply to message #408719] Wed, 17 June 2009 07:07 Go to previous messageGo to next message
ThomasG
Messages: 3211
Registered: April 2005
Location: Heilbronn, Germany
Senior Member
The jacob.jar should be there, I think. (I use Jacob, but not with forms but with a standalone Java application)

the jacob.dll should be in any of the directories where Windows looks for dlls.
Re: java.lang.UnsatisfiedLinkError: no jacob in java.library.path [message #408725 is a reply to message #408716] Wed, 17 June 2009 07:15 Go to previous messageGo to next message
waqasbhai
Messages: 118
Registered: August 2008
Location: Pakistan
Senior Member
ok i put jacob.jar in ORACLE_HOME\forms90\java
and jacob.pll in .../windows/system32
but still having the same porblem
Is it neccessary that all the forms and .pll and .plx should be in the same directory?
How can i resolve this issue?
Re: java.lang.UnsatisfiedLinkError: no jacob in java.library.path [message #408727 is a reply to message #408725] Wed, 17 June 2009 07:26 Go to previous messageGo to next message
ThomasG
Messages: 3211
Registered: April 2005
Location: Heilbronn, Germany
Senior Member
With what command line do you start the program?

Do you have a -classpath argument there? And is the jacob.jar included there?
Re: java.lang.UnsatisfiedLinkError: no jacob in java.library.path [message #408730 is a reply to message #408727] Wed, 17 June 2009 07:29 Go to previous messageGo to next message
ThomasG
Messages: 3211
Registered: April 2005
Location: Heilbronn, Germany
Senior Member
You could also put jacob.jar in the <JAVA_HOME>\lib\ext directory of the Java you use.
Re: java.lang.UnsatisfiedLinkError: no jacob in java.library.path [message #408731 is a reply to message #408716] Wed, 17 June 2009 07:29 Go to previous messageGo to next message
waqasbhai
Messages: 118
Registered: August 2008
Location: Pakistan
Senior Member
it gives the following errors before the exception
2009-Jun-17  18:25:13.500 ERROR>WUC-24 [URLDownload.pullFile()] Error reading URL http://ecs-master:7778/forms90/webutil/jacob.dll

2009-Jun-17  18:25:13.515 ERROR>WUC-24 [URLDownload.pullFile()] Error reading URL http://ecs-master:7778/forms90/webutil/JNIsharedstubs.dll

2009-Jun-17  18:25:13.546 ERROR>WUC-24 [URLDownload.pullFile()] Error reading URL http://ecs-master:7778/forms90/webutil/d2kwut60.dll
Re: java.lang.UnsatisfiedLinkError: no jacob in java.library.path [message #408733 is a reply to message #408716] Wed, 17 June 2009 07:33 Go to previous message
waqasbhai
Messages: 118
Registered: August 2008
Location: Pakistan
Senior Member
Quote:

With what command line do you start the program?


http://ecs-master:7778/forms90/f90servlet?config=ds
Previous Topic: icons not working in forms 10g
Next Topic: Forms 6i Crashes - Error Code: C0000006 IN_PAGE_ERROR
Goto Forum:
  


Current Time: Thu Apr 25 12:33:26 CDT 2024