This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 41034
    
  43
JDIC requires native libraries (which the error message says are not present). Are they installed in the PATH?


Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error in Loading Native Browser using JDIC
 
Similar Threads
Problem in embedded browser in Linux
connect sdk with java
Unable to run native browser in Linux
error regarding jdic
Problem in .SWF(Flash) File Loading in Browser through java Application in Linux