aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Error in Loading Native Browser using JDIC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Error in Loading Native Browser using JDIC" Watch "Error in Loading Native Browser using JDIC" New topic
Author

Error in Loading Native Browser using JDIC

Murali Rajamanickam
Greenhorn

Joined: Jun 03, 2008
Posts: 3
Hi,

I'm trying to use the embedded browser in Linux, but it fails with the following error:

Can't execute the native embedded browser. Error message:

when I use it on a Windows machine, it works fine.

i get this

org.jdesktop.jdic.init.JdicInitException: java.lang.UnsatisfiedLinkError: no jdic in java.library.path
at org.jdesktop.jdic.init.JdicManager.initBrowserNative(Unknown Source)
at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unknown Source)
at netsim.NetSimBasics.<init>(NetSimBasics.java:40)
at netsim.NetSimBasics.main(NetSimBasics.java:64)
Caused by: java.lang.UnsatisfiedLinkError: no jdic in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at org.jdesktop.jdic.init.InitUtility.<clinit>(Unknown Source)
... 4 more
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jdic in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at org.jdesktop.jdic.browser.internal.WebBrowserUtil.<clinit>(Unknown Source)
at org.jdesktop.jdic.browser.MsgClient.<init>(Unknown Source)
at org.jdesktop.jdic.browser.NativeEventThread.<init>(Unknown Source)
at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unknown Source)
at netsim.NetSimBasics.<init>(NetSimBasics.java:40)
at netsim.NetSimBasics.main(NetSimBasics.java:64)
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42908
    
  68
JDIC requires native libraries (which the error message says are not present). Are they installed in the PATH?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error in Loading Native Browser using JDIC