Pheox - Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 

JDK7 Issue RSS feed
Forum Index » General Issues
Author Message
msamblanet

Visitor

Joined: Nov 21, 2011
Messages: 5
Offline
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 [Disk] Download
 Description JDK 1.6 Test Output
 Filesize 6 Kbytes
 Downloaded:  816 time(s)

tommy

Visitor

Joined: May 30, 2005
Messages: 148
Offline
Hi,

The problem you have is due to the third party obfuscation tool that we use for JCAPI. We have updated the tool to resolve your problem.
You can find a new jcapi.jar build attached to this post.

We'll fix a new official release soon.

Let us know if you have any other problems.

Regards,
Tommy
 Filename JCAPI.jar [Disk] Download
 Description No description given
 Filesize 349 Kbytes
 Downloaded:  328 time(s)

msamblanet

Visitor

Joined: Nov 21, 2011
Messages: 5
Offline
This appears to have resolved the issue. Thanks.
 
Forum Index » General Issues
Go to:   
Mobile view
Powered by JForum 2.8.3 © 2023 JForum Team • Maintained by Andowson Chang and Ulf Dittmer