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

Free Support Forum - aspose.com

How to call aspose.words for Java from Teamsite

What is the best approach for calling aspose.words for Java from within a Teamsite workflow? We have a need to convert a MS Word document into a PDF file during a document approval workflow. The approval submission logic currently publishes the submitted .DOC/DOCX document to a specific folder location. We want to add a step that create the .PDF document on the fly (using aspose.words for Java) also publishes the .PDF document into the same folder.

Where does the aspose.words Java package need to be installed/deployed to support this?


Mike Girifalco

Hi Mike,

Thanks for your inquiry. Aspose.Words for Java is available for Java 1.4, 1.5, 1.6 and 1.7 and will run in any place where Java is installed. Please read following documentation link about installing Aspose.Words for Java.

With Aspose.Words, you can easily render any Microsoft Word document (e.g. DOC, DOCX, RTF, TXT etc) to PDF format. I would suggest you please read the following article for more details:

We have an older JVM (1.4 I think) that Aspose.words will need to run within. Can we install the latest version of Aspose.words, or do we need to install an older version. The readme.txt file within the aspose-words-14.5.0-java.zip references Java 1.7. Can we just set the value of the SUN_JRE_1_7_HOME variable to our JAVA_HOME directory regardless of the Java version?



Hi Mike,

Thanks for your inquiry. The Aspose.Words.Java.zip file contains following three jar files:

  • aspose-words-14.5.0-jdk14.jar
  • aspose-words-14.5.0-jdk15.jar
  • aspose-words-14.5.0-jdk16.jar

So if you work in Java 1.6 or 1.7 environment, you can use aspose-words-14.5.0-jdk16.jar. For JDK 1.5, please use aspose-words-14.5.0-jdk15.jar and for JDK 1.4, please use aspose-words-14.5.0-jdk14.jar.

Please let us know if you have any more queries.