Java: cannot access com.aspose.words.Document bad class file

Hi Support Team,

We bought your aspose software but when we put licensed version jar in our project and tried to compile our Java file

It is giving following error

“cannot access com.aspose.words.Document
bad class file: C:\novartisDocs\AsposeWords\lib\Aspose.Words.jar(com/aspose/words/Document.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import com.aspose.words.Document;”

Our environment is on JDK1.4.X

In your site it says it will support J2SE 1.4

Please reply us as soon as possible.

Probably you are using an old release of Aspose.Words for Java that not supports JDK 1.4. You should download a fresh Java release from
https://downloads.aspose.com/words

and target Aspose.Words.jdk14.jar.

Best Regards,