Aspose.word for java . Version25.9
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-words</artifactId>
<version>25.9</version>
<classifier>jdk17</classifier>
</dependency>
Document doc = …... If the native resources are not released, the process’s...object is used in a try‑with‑resources block). doc.cleanup() clears...