hi,
I am working in Linux platform. I installed JDK1.6 and NetBeans6.1 to develop a
Java Application.
In my java application i use the jdic.jar,jdic_stub.jar, libjdic.so,libmozembed-linux-gtk1.2.so,libmozembed-linux-gtk2.so,libtray.so,mozembed-linux-gtk1.2,mozembed-linux-gtk2 files are used to load flash files in Browser through my java application.
I include the above mentioned files in application path and java classpath. The Java Classpath which is got the following way.
------------------------------------------------------------------------------------------------------------------------
String szPath = System.getProperty("java.library.path");
System.out.println("The Java classpath : ==> "+System.getProperty("java.library.path"));
it Print as
The Java classpath : ==> /root/JDK1.6/jdk1.6.0_06/jre/lib/i386/client:/root/JDK1.6/jdk1.6.0_06/jre/lib/i386:/root/JDK1.6/jdk1.6.0_06/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
------------------------------------------------------------------------------------------------------------------------
After include the jdic.jar,jdic_stub.jar, libjdic.so,libmozembed-linux-gtk1.2.so,libmozembed-linux-gtk2.so,libtray.so,mozembed-linux-gtk1.2,mozembed-linux-gtk2 files when i run my java application i got the following error message.
org.jdesktop.jdic.init.JdicInitException: java.lang.UnsatisfiedLinkError: /root/JDK1.6/jdk1.6.0_06/jre/lib/ext/libjdic.so: libstdc++.so.5: cannot open shared object file: No such file or directory
at org.jdesktop.jdic.init.JdicManager.initBrowserNative(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: java.lang.UnsatisfiedLinkError: /root/JDK1.6/jdk1.6.0_06/jre/lib/ext/libjdic.so: libstdc++.so.5: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1660)
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: /root/JDK1.6/jdk1.6.0_06/jre/lib/ext/libjdic.so: libstdc++.so.5: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1660)
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:42)
at netsim.NetSimBasics.main(NetSimBasics.java:67)
My requirement is,
1)Is above mentioned java classpath is correct or not?
i) If it is CORRECT then how will i rectify the above error?
ii) If it is NOT CORRECT, how will i get the correct java classpath?
2)Give me the solution to load the flash file in Browser through my java application.
Thank you.