TPCANHandle error
-
- Posts: 3
- Joined: Fri 6. Oct 2023, 14:55
TPCANHandle error
Hi,I have developed a java desktop application for communication over CAN. I am using PCAN Basic dll downloaded from peak systems. Previously I was using java version 17.0.1 and it was working fine. Now I have upgraded the system to java 20.0.2. When i build the same project using 20.0.2 I am getting TPCANHandle error. Is the PCAN Basic dll compatible with the latest java version? What is the solution for this issue?
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: TPCANHandle error
Sorry we do not support this new version at the moment - please check some Java Forums for a solution & information what changed in this new Version.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
-
- Posts: 3
- Joined: Fri 6. Oct 2023, 14:55
Re: TPCANHandle error
which is the last java version supported by the PCAN Basic dll
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: TPCANHandle error
Tested up to Java 17 - but the PCAN-Basic.DLL is not the limitation - it is the JNI
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
-
- Software Development
- Posts: 305
- Joined: Mon 9. Sep 2013, 12:21
Re: TPCANHandle error
Hello,
Using the sample "PCANBasicExample", I could not reproduce your issue with our latest APIs (PCANBasic / PCANBasic_JNI v4.8.0.830) and Java 20.0.2 (x64).
Can you check which version of PCANBasic you're using and explain the context of your error: function called and returned status.
Thank you
Using the sample "PCANBasicExample", I could not reproduce your issue with our latest APIs (PCANBasic / PCANBasic_JNI v4.8.0.830) and Java 20.0.2 (x64).
Can you check which version of PCANBasic you're using and explain the context of your error: function called and returned status.
Thank you
Best regards,
Fabrice
Fabrice