TypeError: Cannot read property ‘FIND_READERS’ of undefined

Symptom:

The reader is detectable however an error (“TypeError: Cannot read property ‘FIND_READERS’ of undefined”) is prompted whenever it is called from an Applet.

Solution:

1. Open MyID SDK and copy JMyID.dll into the system folder. (For API64 copy the library into “C:/Windows/System32” and for API32 copy the library into “C:/Windows/SysWOW64”).
2. Go to your java home directory (example: “C:\Program Files (x86)\Java\jre1.8.0_111”)\lib\security\. Edit “java.policy” and add the following line of code below:
permission java.lang.RuntimePermission “loadLibrary.JMyID”;
3. Save changes.
4. Open control panel and find “Java”. Go to security tab, and click Edit Site List button. Add the path of your website and click OK until it closes all the Java windows.
5. Done. Test your application.

Registration

Forgotten Password?