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

Free Support Forum - aspose.com

Aspose Words not supporting docx files

I have the Aspose.words latest package.
But docx files are not being supported.

When I using the package in a code like

public static void main(String args[])
    Document doc = new Document("c:/myfile.docx");

throws unsupportedFile Format: docx exception.
Do i need to make any configuration settings to enable docx/xlsx support?
quicker response will be mch appreciated.


Thank you for your interest in Aspose products.
Please clarify what version you are using and attach the document so we could reproduce this.

We are using Aspose.Words 2.4.0 the jar file is Aspose.Words.jdk15.jar

The test file is uploaded for your reference.

I have renamed the .java as .txt

also u migh want to see the docx file that i am using.

Aspose.Words for Java supports export to DOCX, not import. Import DOCX in Aspose.Words for Java will be coming in a few months.

In that case, will our current license grant us access to the new Docx update version?

Thanks for your inquiry. Every Aspose license carries a one-year subscription for free upgrades to any new versions or fixes that come out during this time.
Best regards.

Will it also support xlsx formats? Could you give a more definite date like the month in 2008 that we could expect this update.

Thanks for inquiry. Xlsx format is already supported in Aspose.Cells. DOCX will be fully supported in May.
Best regards.