File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 39548
    
  27
JDIC requires native libraries (which the error message says are not present). Are they installed in the PATH?


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error in Loading Native Browser using JDIC
 
Similar Threads
connect sdk with java
Problem in .SWF(Flash) File Loading in Browser through java Application in Linux
Unable to run native browser in Linux
error regarding jdic
Problem in embedded browser in Linux