I am using aspose-words-14.12.0-jdk14.jar on my project . I use it to convert .doc file to pdf . the code is simple: doc.save("myFileName.pd); when I run it on windows OS it works o.k. , but when I run it in Linux OS I get an error: Exception in thread "main" java.lang.NoSuchMethodError: java.awt.Font: method createFont(ILjava/io/File;)Ljava/awt/Font; not found
I must use java 1.4 version , what is the problem? how can I fix it?
Moreover, starting from Aspose.Words for Java 15.1.0 release,
we stopped shipping JAR files for 1.4 and 1.5 JDKs. Please refer to the
following blog post: