i need to package and distribute a fingerprint applet i made using java and DigitalPersona One-touch fingerprint SDK.
Currently the applet has been tested and compiled into jar using Netbeans 8
To distribute the applet, its needs to be package and signed, there seems to be no help on the internet since i have been searching
How do I sign the jar files?
If I sign the jar files with self generated key locally, will it work in client browser?
After Netbeans compiles the applet to jar, I just copied it to the same directory of the html and called it in the browser like this:
<applet id="fpa"
code="SensorApplet" archive="FingerprintApplet.jar"
width="300" height="400">
</applet>
I get the following error when the applet runs
java.lang.noclassdeffounderror: com/digitalpersona/onetouch/capture/event/DPFPDataListener
I found a solution to the problem
I was able to get the Applet to work in a Firefox browser, although it pops up three security dialog, which the I needed to only to check "I accept ..." and click run
I simple configure Netbeans to sign the Jar with a self signed cert as it compiled the applet.
I then included all jar library in the archive parameter of the applet like done below
<applet id="fpa"
code="SensorApplet" archive="FingerprintApplet.jar, Jarlib1.jar, Jarlib2.jar, Jarlib3.jar"
width="300" height="400">
</applet>