Aspose Words for Java on IBM J9 VM

I am using Aspose Words for Java 24.1 and I am still facing exact same issue as described in https://forum.aspose.com/t/aspose-words-java-on-ibm-i-as-400/268380/7

I tried using Aspose Words version 23.5 and that worked fine. We are using IBM WebSphere 8.5.5 with following Java version:

java version “1.8.0_371”
Java™ SE Runtime Environment (build 8.0.8.5 - pxa6480sr8fp5-20230418_01(SR8 FP5))
IBM J9 VM (build 2.9, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20230417_49632 (JIT enabled, AOT enabled)
OpenJ9 - 085a542
OMR - 9f28c98
IBM - 68444b7)
JCL - 20230329_01 based on Oracle jdk8u371-b11

The same version of code with Aspose 24.1 works on Windows with Java 1.8.0_261.

Please advise.

@sachingusain
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSJAVA-2935

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as WORDSJAVA-2935) have been fixed in this Aspose.Words for Java 24.4 update.

The issues you have found earlier (filed as WORDSJAVA-2935) have been fixed in this Aspose.Words for Java 24.4 update.

We still see the same error with the 24.4 version too

com.aspose.words.internal.zzWwP: Exception on self test: Array index out of range: 32: EC
	at com.aspose.words.internal.zzYAH.zzZva(Unknown Source)
	at com.aspose.words.internal.zzyp.zzZva(Unknown Source)
	at com.aspose.words.internal.zzyp.<clinit>(Unknown Source)
	at java.lang.Class.forNameImpl(Native Method)
	at java.lang.Class.forName(Class.java:332)
	at com.aspose.words.internal.zz4w.zzmp(Unknown Source)
	at com.aspose.words.internal.zz4w.zzYch(Unknown Source)
	at com.aspose.words.internal.zz4w$zzZva.run(Unknown Source)
	at com.aspose.words.internal.zz4w.zzAf(Unknown Source)
	at com.aspose.words.internal.zzZmu$zzZhv.<init>(Unknown Source)
	at com.aspose.words.internal.zzZmu$zzZva.zzZva(Unknown Source)
	at com.aspose.words.internal.zzWwJ.<clinit>(Unknown Source)
	at com.aspose.words.internal.zzy9.zzZhv(Unknown Source)
	at com.aspose.words.internal.zzy9.zzIB(Unknown Source)
	at com.aspose.words.zzYDj.zzIB(Unknown Source)
	at com.aspose.words.zzYDj.zzZhv(Unknown Source)
	at com.aspose.words.zzYDj.zzZva(Unknown Source)
	at com.aspose.words.zzWUs.zzZva(Unknown Source)
	at com.aspose.words.zzWUs.zzXo5(Unknown Source)
	at com.aspose.words.zzWUs.zzY62(Unknown Source)
	at com.aspose.words.zzWUs.zzH(Unknown Source)

@maheibm Starting from 24.4 version we added a new aspose-words-24.3-jdk17ibm.jar with older version of bc-fips. So please make sure you are using a correct JAR on your side.

@alexey.noskov Thanks for the quick response, can you please tell me which version to use now ? and a link to the same to test it

@maheibm Please, use a special jdk17ibm JAR. It can be found here or using maven:

...
<dependency>
  <groupId>com.aspose</groupId>
  <artifactId>aspose-words</artifactId>
  <version>24.4</version>
  <classifier>jdk17ibm</classifier>
</dependency>
...

Is there any plan to release IBM JAR alongside the standard monthly releases?

@sachingusain IBM JAR is included in versions 24.4, 24.5 and 24.6.

Are there any plans to merge changes specific for IBM J9 to the regular JDK JAR so we have just one Aspose Words JAR instead of two separate - one for IBM Java and other for standard JDK?

@sachingusain We will consult with our team and provide you more information.

Hi @sachingusain

All problem started when we updated BouncyCastle library from 1.0.2.3 to 1.0.2.4
Our old version of Aspose.Words.jar uses bc-fips.1.0.2.3 and work with IBM VM without problem.
All newest version of Aspose.Words.jar uses bc-fips.1.0.2.4 and have problem with IBM VM.

BouncyCastle library will fix this problem in version 1.0.2.5
before that I will build aspose.words.jdk17.jar with bc-fips.1.0.2.4 and rebuild aspose.words.jdk17ibm.jar with bc-fips.1.0.2.3

@maheibm, @sachingusain,

please note that the latest release of Aspose.Words for Java 24.09 has updated the bc-fips library to the latest version. As a result, aspose-words-24.9-jdk16.jar and aspose-words-24.9-jdk17.jar, as well as future releases, will work in the IBM environment. Therefore, we are discontinuing aspose-words-XX.X-jdk17ibm.jar.

@alexey.maslov Thank you very much for updating us with this information.

1 Like