Does DOCX to PDF/HTML start another Java process during conversion?


During the conversion from DOCX to PDF (or HTML) the Java Icon appears in my dock on OSX; until the process exits. When using the debugger, it is on the conversion to PDF or HTML; not for DOCX.

  • + “.docx”, SaveFormat.DOCX);
  • + “.html”, SaveFormat.HTML);
  • + “.pdf”, SaveFormat.PDF);

Q: Any idea what is happening?

  • I didn’t see any traces of JNI, but will be running in AWS Beanstalk so need to know.
  • I didn’t see any new Java processes after the icon popped up, so it could be a Mac’ism.

BTW - I’m using Aspose.Words for Java 18.11 and updated the examples to use Java 8.


MacOSX-Dock.png (12.4 KB)
Aspose-Example-InTableAlternateContent-AboutScreen.png (34.3 KB)


I am afraid, we are not sure and cannot answer about the Java icons on OSX. Maybe the icons appear when Aspose.Words for Java tries to internally invoke the system property (System.getProperty("os.arch")). This property is needed to determine the local system. Can you please invoke ‘System.getProperty("os.arch")’ on your end and see if it causes the icons to appear?

Regarding JNI, Aspose.Words for Java uses it only on Windows. It is used to load some fonts. So, it can be used for rendering .docx to .html or .pdf. But, only on Windows. Hope, this helps.

Calling System.getProperty("os.arch") didn’t trigger the Java icon to display. Adding “-Djava.awt.headless=true” to the run configuration did keep it from displaying though.



It is great that you were able to resolve this issue on your end. Please let us know anytime you have any further queries.