We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose Java Total & Oracle Java 10

Greetings Aspose Support,

We are current users of the Aspose Total APIs for Java. We are currently using the APIs for Words, Cells, Slides, Email & Imaging. Our application that leverages the Aspose APIs runs in a containerized environment on Linux virtual machines.

We’re excited about the release of Oracle Java 10: https://www.oracle.com/corporate/pressrelease/Java-10-032018.html . Specifically, we’re encouraged by some of the optimizations to Java memory management when Java is run inside of a containerized environment. We are discussing when to upgrade to Java 10.

Since Aspose plays a large role in our stack, we wanted to reach out to you and discuss, in general, the prospect of running the Apsose Java APIs on Java 10.

Has Aspose been tested on Java 10? Are there any known issues with Aspose & Java 10? Is Aspose recommending an upgrade to the v10 JDK for execution of the Java APIs? Are there any demonstrable benefits to running the Aspose APIs on Java 10?

We know that backwards compatibility is a big selling point for Java. But it’s a hard problem & it’s nearly impossible to deliver it to perfection. We’ve been burned in the past by backwards compatibility breaking changes in a Java version to version upgrade. We want to avoid these sorts of breakages in our usage of Java.

Thanks and Regards


We are looking into your this requirement and will soon update you here with our feedback.


We have tested the latest version of Aspose.Email for Java. It is compatible with Oracle Java 10. Furthermore investigation tickets have been logged into our system for Aspose.Words, Aspose.Cells, Aspose.Slides & Aspose.Imaging APIs. Following are the ticket IDs:

  • SLIDESJAVA-37004
  • CELLSJAVA-42586
  • WORDSJAVA-1778

We will update you here once there is some information or a fix version available in this regard.


We finished the test for Java 10 in Aspose.Cells (reference ticket id: CELLSJAVA-42586) and made some enhancements for Aspose.Cells APIs to make it compatible with Java 10. We recommend you to try our latest version/fix: Aspose.Cells for Java v18.4 and later versions/fixes.

By the way, by our tests we did not find important improvements when using Java 10.


Has there been any testing of aspose slides yet (SLIDESJAVA-37004) were keen to move to java 10 shortly but rely on slides for core reporting.


I have verified from our issue tracking and like to share that concerned support for Java 10 will tentatively in API by end of Q4 of 2018. We request for your patience till the time support gets available in API.

Any update about Aspose Slides & Java 10?
Our Slides version is 15.1.0.
Running it by java 10, got the fatal error:
java.lang.VerifyError: Cannot inherit from final class
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1009)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2320)
at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:816)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1261)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1121)
at com.aspose.slides.pa5e0ff62.pbdb106a0.p6a2feef8.b.do(Unknown Source)
at com.aspose.slides.pa5e0ff62.pbdb106a0.p6a2feef8.b.<init>(Unknown Source)
at com.aspose.slides.pa5e0ff62.pbdb106a0.p6a2feef8.b.<init>(Unknown Source)
at com.aspose.slides.p390e9825.at.do(Unknown Source)
at com.aspose.slides.ImageCollection.do(Unknown Source)
at com.aspose.slides.avd.do(Unknown Source)
at com.aspose.slides.ave.if(Unknown Source)
at com.aspose.slides.ave.do(Unknown Source)
at com.aspose.slides.Presentation.int(Unknown Source)
at com.aspose.slides.Presentation.if(Unknown Source)
at com.aspose.slides.Presentation.<init>(Unknown Source)
at com.aspose.slides.Presentation.<init>(Unknown Source)
at com.aspose.slides.Presentation.<init>(Unknown Source)

It works fine with java 8.


I have observed your following comments and suggest you to please try using latest Aspose.Slides for Java 18.7 on your end. The version that you are using is fairly old.

The issues you have found earlier (filed as SLIDESJAVA-37004) have been fixed in this update.