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

Free Support Forum - aspose.com

Aspose Java Cells example

Anyone knows which version of Aspose Cells for Java does the HelloWorld example that can be found at


It does not work with version 7.0.3.

Thanks for any help.


The code might be obsolete. Please post the section of code which you want to upgrade, we will upgrade it for you asap.

Please see the following code how to write Hello World in the first cell of worksheet using latest version of Aspose.Cells i.e
Aspose.Cells for Java v7.0.3.1

Please also see the output.xlsx file generated by the code.

String path = “F:\Shak-Data-RW\Downloads\output.xlsx”;

Workbook workbook = new Workbook();

Worksheet worksheet = workbook.getWorksheets().get(0);

Cell cell = worksheet.getCells().get(“A1”);

cell.putValue(“Hello World”);



Actually our online demos are still using older versions of Aspose.Cells for Java e.g v2.5.x, so the online demos are using older APIs set. We will soon update the online demos based on the latest APIs set of new versions e.g v7.0.3. Our Aspose.Cells for Java release archives (e.g v7.0.3) have all these demos (desktop/web demos) in the “samples” folder when you download the product archive from the site, i.e.:

For you mentioned demos link, you get the source Java program @ (your installation folders):
"…\JDK 1.5\samples\webDemo\src\com\aspose\cells\demos\data\HelloWorldServlet.java"

Also, we recommend you to check the documentations which is based on the latest APIs set of v7.0.3:

Thank you.

Thanks, I got it working with version 2.5.4.

(but it’d be nice if there was a note in the website that said the version that you need to use for each example…)


Please download: Demos - Aspose.Cells for Java v7.0.0 And Later

Please also visit: GitHub - Examples Aspose.Cells for Java