|
I am evaulating JCAPI and found that if I build and run under JDK 1.7.0_01, the JCAPI fails to initialize. If I switch to 1.6, it works fine. It seems to be the same error as the FAQ on Windows 2008/DEP references but I cannot locate a simple disable-DEP option in Windows 7 (and I really don't want to have to tell all my users to disable DEP for thsi app).
I am using 32-bit Windows 7 fully patched. My test code to this point has only run 1 line of code:
Provider provider = new JCAPIProvider();
Can you offer any suggestions on this? In the meantime I'll proceed to evaluate with Java 1.6.
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.mychoiceid.jcapitest.App.initProvider(App.java:30)
at com.mychoiceid.jcapitest.App.main(App.java:44)
Caused by: java.security.ProviderException: C:\Users\redacted\AppData\Local\Temp\JCAPI32.dll: Invalid access to memory location
at com.pheox.jcapi.j.a(Unknown Source)
at com.pheox.jcapi.JCAPIProvider.<clinit>(Unknown Source)
... 2 more
*** EDIT ***
I attached a copy of the output of my app running under JDK1.6 including the output from JCAPIUtil.getEnvironmentInfo()
Under JDK1.7, it crashes as soon as I call any function in JCAPIUtil, so I cannot output those details.
| Filename |
jdk6-output.txt |
Download
|
| Description |
JDK 1.6 Test Output |
| Filesize |
6 Kbytes
|
| Downloaded: |
816 time(s) |
|