Skip to main content

JdicInitException wile running sample in LINUX.

1 reply [Last post]
hkmadhu
Offline
Joined: 2007-12-13

I am using JDIC browser in my application ,which is working fine in windows but i want to run the same application in LINUX which is throwing fallowing Exception. Please anybody help me. It is very urgent.

org.jdesktop.jdic.init.JdicInitException: java.lang.NoSuchFieldException: sys_paths
at org.jdesktop.jdic.init.JdicManager.initShareNative(Unknown Source)
at org.jdesktop.jdic.browser.WebBrowser.(Unknown Source)
at java.lang.Class.initializeClass(libgcj.so.7rh)
at com.tcipl.mdab.epos.browser.WebBrowser.jbInit(WebBrowser.java:270)
at com.tcipl.mdab.epos.browser.Mebrowser.(WebBrowser.java:70)
at com.tcipl.mdab.epos.browser.WebBrowser.Browsermain(WebBrowser.java:123)
at com.tcipl.mdab.epos.browser.WebBrowser.(WebBrowser.java:88)
Exception during event dispatch:
java.lang.UnsatisfiedLinkError: libjdic: libjdic.so: cannot open shared object file: No such file or directory
at java.lang.Runtime._load(libgcj.so.7rh)
at java.lang.Runtime.loadLibrary(libgcj.so.7rh)
at java.lang.System.loadLibrary(libgcj.so.7rh)
at org.jdesktop.jdic.browser.WebBrowser$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(libgcj.so.7rh)
at org.jdesktop.jdic.browser.WebBrowser.(Unknown Source)
at java.lang.Class.initializeClass(libgcj.so.7rh)
at com.tcipl.mdab.epos.browser.WebBrowser.jbInit(WebBrowser.java:270)
at com.tcipl.mdab.epos.browser.WebBrowser.(WebBrowser.java:70)

Reply viewing options

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

run the following command from shell to resolve the second part of exeption

export LD_LIBRARY_PATH=[your jdic lib path]:$LD_LIBRARY_PATH

java.lang.UnsatisfiedLinkError: libjdic: libjdic.so: cannot open shared object file: No such file or directory
at java.lang.Runtime._load(libgcj.so.7rh)
at java.lang.Runtime.loadLibrary(libgcj.so.7rh)
at java.lang.System.loadLibrary(libgcj.so.7rh)
at org.jdesktop.jdic.browser.WebBrowser$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(libgcj.so.7rh)
at org.jdesktop.jdic.browser.WebBrowser.(Unknown Source)
at java.lang.Class.initializeClass(libgcj.so.7rh)
at com.tcipl.mdab.epos.browser.WebBrowser.jbInit(WebBrowser.java:270)
at com.tcipl.mdab.epos.browser.WebBrowser.(WebBrowser.java:70)