I have managed to install Eclipse on the same machine and compile a simple example in java where everything works. Would still like to get this working with jpype. I am certain this is an issue with certain dependencies not being available in jpype - just not sure how to debug. If I knew what dependency is most likely missing I could write python scripts to check if those libraries are available through jpype.
Can you please share your code and a sample to reproduce the issue? I was not able to notice this on Python with jpype. Please also share which version of Aspose.Words for Java are you using?
Sorry, I was not able to see the issue at my end. I can convert simple as well as complex document to PDF at my end. JAI or other libraries are not required in case of PDF conversion; JAI is required if you want to convert to images.
Can you please share which version of Aspose.Words are you using and also share the input document? Please also try with a different version of Java e.g. JRE 7 and share how it goes (although it is working with both JDK 7 and 8 at my end).
Can you tell me what version of jpype you are using? I am using 0.6.1. I have a tried a few different documents. When I use the template document that is in all of your examples, it will freeze when converting to RTF and PDF. When I use a simple document that only has a few lines of text and no special formatting, converting to RTF works converting to PDF freezes.
I managed to get the JVM to print out debug information on what classes are being loaded. The log is huge but here are the last few lines before it freezes:
I have done further debugging. The process seems to hang when calling the following method:
Ok I have solved the issue. If you start jpype with the following arguments it works:
Good to know that the issue has been resolved and thanks for letting us know. We will document this point for future reference in case anyone else faces the same issue.