Hi, we recently purchased a license for Aspose PDF for Java but the license does not work for older versions of Aspose PDF, see error below, we need the older version of Aspose PDF for Java as our client is on JDK 1.7 and we cannot upgrade them to JDK 1.8. Please can you let us know how we can update our license key so we can have a key that works with Aspose PDF 17. Thank you.
Error:
java.security.SignatureException: Signature length not correct: got 256 but was expecting 128
at sun.security.rsa.RSASignature.engineVerify(RSASignature.java:189)
at java.security.Signature$Delegate.engineVerify(Signature.java:1172)
at java.security.Signature.verify(Signature.java:623)
at com.aspose.pdf.z123.m1(Unknown Source)
at com.aspose.pdf.z123.m1(Unknown Source)
at com.aspose.pdf.z123.m1(Unknown Source)
at com.aspose.pdf.z123.m1(Unknown Source)
at com.aspose.pdf.License.setLicense(Unknown Source)
A ticket with ID PDFJAVA-41576 has been created in our issue tracking system to further investigate the issue on our end. This thread has been linked with the issue so that you may be notified once the issue will be fixed.
Please share information which version of Aspose.PDF for Java you use?
Hi There, we are happy to use any version that support JDK 1.7 please. If you can update our license and tell us which version to use we will be happy to do that. We have so far tried various versions under 17 and 18 but none of them work with our current license.
Please note that you can download JDK 1.7 compatible JAR here:
thank you so much for your quick replies, we are trying to click on the download link but it either gives an error or nothing happens. Is there another link you could provide?
Thank you for your feedback, we wil check this. You also can specify required JDK version on pom.xml for Maven:
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-pdf</artifactId>
<version>22.4</version>
<classifier>jdk17</classifier>
</dependency>