ST.mani
06-17-2008, 08:43 AM
Hi,
In my java application i used the jdic.jar for loading flash files in browser. It works fine in Windows platform. Now i shifted to LINUX platform. I am using the Mozilla Firebox 2.0.14 as the browser. The Mozilla firefox is installed under the path of /usr/local/firefox-2.0.0.14.
I put the jdic.jar and other supported (libjdic.so, jnlp2rpm, mozembed-linux-gtk2, mozembed-linux-gtk1.2, libtray.so, packager.jar, libmozembed-linux-gtk1.2.so, libmozembed-linux-gtk2.so ) files in the Java classpath (/usr/local/ java/ JDK1.6.0_06/jre/lib/ext). When i run the Java application, It prints the following error.
---------------------------------------------------------------------------------------------------------------------------
org.jdesktop.jdic.init.JdicInitException: org.jdesktop.jdic.init.JdicInitException: Can't locate the native browser path!
at org.jdesktop.jdic.init.JdicManager.initBrowserNati ve(Unknown Source)
at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unknown Source)
at netsim.NetSimBasics.<init>(NetSimBasics.java:42)
at netsim.NetSimBasics.main(NetSimBasics.java:67)
Caused by: org.jdesktop.jdic.init.JdicInitException: Can't locate the native browser path!
... 4 more
Exception in e : java.lang.NullPointerException
Exception in thread "main" java.lang.NullPointerException
at org.jdesktop.jdic.browser.WebBrowser.setURL(Unknow n Source)
at org.jdesktop.jdic.browser.WebBrowser.setURL(Unknow n Source)
at netsim.NetSimBasics.<init>(NetSimBasics.java:60)
at netsim.NetSimBasics.main(NetSimBasics.java:67)
---------------------------------------------------------------------------------------------------------------------------
Please reply to solve this problem?
Thank you.
In my java application i used the jdic.jar for loading flash files in browser. It works fine in Windows platform. Now i shifted to LINUX platform. I am using the Mozilla Firebox 2.0.14 as the browser. The Mozilla firefox is installed under the path of /usr/local/firefox-2.0.0.14.
I put the jdic.jar and other supported (libjdic.so, jnlp2rpm, mozembed-linux-gtk2, mozembed-linux-gtk1.2, libtray.so, packager.jar, libmozembed-linux-gtk1.2.so, libmozembed-linux-gtk2.so ) files in the Java classpath (/usr/local/ java/ JDK1.6.0_06/jre/lib/ext). When i run the Java application, It prints the following error.
---------------------------------------------------------------------------------------------------------------------------
org.jdesktop.jdic.init.JdicInitException: org.jdesktop.jdic.init.JdicInitException: Can't locate the native browser path!
at org.jdesktop.jdic.init.JdicManager.initBrowserNati ve(Unknown Source)
at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unknown Source)
at netsim.NetSimBasics.<init>(NetSimBasics.java:42)
at netsim.NetSimBasics.main(NetSimBasics.java:67)
Caused by: org.jdesktop.jdic.init.JdicInitException: Can't locate the native browser path!
... 4 more
Exception in e : java.lang.NullPointerException
Exception in thread "main" java.lang.NullPointerException
at org.jdesktop.jdic.browser.WebBrowser.setURL(Unknow n Source)
at org.jdesktop.jdic.browser.WebBrowser.setURL(Unknow n Source)
at netsim.NetSimBasics.<init>(NetSimBasics.java:60)
at netsim.NetSimBasics.main(NetSimBasics.java:67)
---------------------------------------------------------------------------------------------------------------------------
Please reply to solve this problem?
Thank you.