Skip to main content

Expecting an absolute path of the library: null\jdic.dll

1 reply [Last post]
Joined: 2005-06-06

Hi All,
I have a netbeans RCP application in which I replaced JEditPane by jdic WebBrowser but I always get the following message:

java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: null\jdic.dll
at java.lang.Runtime.load0(
at java.lang.System.load(
at org.jdesktop.jdic.init.JdicManager$ Source)
at Method)
at org.jdesktop.jdic.init.JdicManager.loadLibrary(Unknown Source)
at org.jdesktop.jdic.browser.WebBrowser.(Unknown Source)

I have inserted a property in the project file:

And I can see the interpreted VM option when running the application:
Input arguments:

Any Help would be appreciated, Thanks in advance


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2005-06-06

[u]Here is how I solved the issue:[/u]

I experienced problems when trying to use the latest release and Thus I decided to try with the jdic-20061102-bin-win release

1) I created a library wrapper module for jdic providing jdic.jar as library

When executing my application, I noticed the following message:
[b]native lib path ….\build\cluster\modules\ext[/b]

From this message, I concluded that I should copy all native libraries into the

2) I copied the whole bunch of jdic files into this folder: MozEmbed.exe, IeEmbed.exe, jdic.dll and tray.dll. jdic.jar was already there, copied by NetBeans.
My application worked perfectly

3) But I was loosing the jdic files each time I was cleaning and re-building the application.
Thus I copied the jdic files in the [b]…\jdic\release\modules\ext[/b] folder of the [b]jdic library wrapper module[/b]. And now the files are copied by NetBeans in the [b]….\build\cluster\modules\ext[/b]
and my application works fine.

Please note that it may be worth to try again the and using the same process.

Hope you will find this useful, best wishes