2023-05-10 08:36 AM - edited 2023-11-20 05:49 AM
Hello,
I'm trying to use the ST25 java SDK. The software_guide pdf document says I need to load in my IDE the natives libraries the SDK will need. It says I will find them in t \readers\st\resources, but in this folders there is only windows/x86 for the DLLs, and no windows/x64 as is mentionned in the document. And I can't use the 32bits version in my 64bits JVM. Am I missing something, or did the x64 folder was forgotten in the release ?
Extract from the pdf guide :
the readers/st/resources/windows folder from the sdk :
Solved! Go to Solution.
2023-05-17 07:16 AM
PC software for 64-bit windows platform is planned for end of year (PC software and streader dlls). Anyway we plan to start to update streader DLL for 64-bit in fews weeks. I suppose I will be able to share with you "draft" versions of streader dlls for 64-bit in few weeks.
I think the best solution for your project, should be to work to put in place environment including SDK using 64-bit FEIG DLL. Then we will be able to share dlls for streader (draft version).
NFC Customer support
2023-05-10 09:23 AM
Hello,
Thank you for reporting this error. There should indeed be a windows/x64 folder in the release package.
Note that amongst the ST reference readers, only the CR95HF board is supported in 64-bit configuration as of today. For other readers, such as ST25R3911B/16, etc., you will need a 32-bit JVM.
Please find attached the 64-bit dll files for Windows and the CR95HF board.
This folder will be added in ST25SDK release 1.10.3.
Best regards,
Damien
2023-05-11 12:15 AM
Thank you very much. Would you also be able to tell me why, now that I have loaded the right folder in my project, when I tried to instantiate a Reader with
STReader reader = new STReader();
I get the error
Exception in thread "main" java.lang.UnsatisfiedLinkError: no streader in java.library.path: C:\Projets\JavaTest\TestSDK\ressources\windows\x64
It used to say "hidapi" instead of "streader" before I found out I needed to add the resources folder
2023-05-11 12:37 AM - edited 2023-11-20 05:49 AM
Make sure you indicate the path to the reader library in your application's Java Build Path as shown below:
As a reminder, the dll path should be indicated in the Source tab of the Java Build Path
2023-05-11 01:25 AM - edited 2023-11-20 05:50 AM
I am using Intellij Idea, and not Eclipse, but I believe I set up both the dll folder and the jar folder right, but I still got that same error.
The lib folder contains :
And the resources\windows\x64 contains the folder you sent earlier
2023-05-11 03:01 AM
Could it be because I don't have an actual reader plugged in ? I don't have access to one right now
2023-05-11 03:07 AM
I just noticed there is a streader.dll in the x86 folder, but not in the x64 folder. But of course I can't use it since it is for 32 bits plateform...
2023-05-11 05:51 AM
The 64-bit version of streader is indeed missing :sad_but_relieved_face: And I don't have it ready on my hands. :tired_face:
Do you plan to work with a CR95HF board? This is your only option for 64-bit application as of today.
2023-05-11 05:54 AM
Well, I don't yet know what board I will have, I only wanted my options covered. I'll start with a 32bits JVM for now, and come back for the file if I need it.
Thank you for for your time !
2023-05-11 05:57 AM
You're welcome.
Starting on 32-bit version is your safest best today. We would like to have 64-bit JVM supported one day but no date has been set in stone. Check the ST25 SDK page for updates!