Prev: CFP: PPPJ 2010 -- Principles and Practice of Programming in Java (Vienna, Sep 10)
Next: Post Your Products & Services Here
From: nair on 19 Dec 2009 03:06 Hello techies, I've developed an applet which is signed and also loads 3rd party dll's runtime. I'm using JNI to link my DLL's with JScript. To my surprise the platform independent JVM fails to load my DLL in most of the browsers except Safari. In safari the behavior is as expected. Indeed one of the dll is getting loaded but a second Java method invokes a call which resides in an indirect DLL. It is there where the jar fails. This problem is bugging me since I've started using JApplet. I'd appreciate if anyone can guide me on the internals of using JApplet on different browsers. Thanks & Regards, Anoop SL
From: Qu0ll on 19 Dec 2009 04:16 "nair" <anoop.sl(a)gmail.com> wrote in message news:a10d1001-5fff-43a9-9f29-ddf003a02cf4(a)z35g2000prh.googlegroups.com... > Hello techies, > I've developed an applet which is signed and also loads 3rd party > dll's runtime. I'm using JNI to link my DLL's with > JScript. > > To my surprise the platform independent JVM fails to load my DLL in > most of the browsers except Safari. In safari the behavior is as > expected. Indeed one of the dll is getting loaded but a second Java > method invokes a call which resides in an indirect DLL. It is there > where the jar fails. > > This problem is bugging me since I've started using JApplet. I'd > appreciate if anyone can guide me on the internals of using JApplet > on > different browsers. What OS? Are you sure you have the correct native libraries for the OS in question? -- And loving it, -Qu0ll (Rare, not extinct) _________________________________________________ Qu0llSixFour(a)gmail.com [Replace the "SixFour" with numbers to email me]
From: Roedy Green on 23 Dec 2009 11:15
On Wed, 23 Dec 2009 02:19:26 -0800, Roedy Green <see_website(a)mindprod.com.invalid> wrote, quoted or indirectly quoted someone who said : >Applets and JNI do not mix well. The problem is getting the JVM to >find your DLL. The other problem is selecting the correct dll/so etc. for the particular platform. Java Web Start does that for you automagically. -- Roedy Green Canadian Mind Products http://mindprod.com If you think it�s expensive to hire a professional to do the job, wait until you hire an amateur. ~ Red Adair (born: 1915-06-18 died: 2004-08-07 at age: 89) |