Free tutorials for Java, Eclipse and Web programming



Follow me on twitter

Excel and Java - Read and Write Excel with Java

Lars Vogel

Version 0.3

07.07.2009

Revision History
Revision 0.101.04.2008Lars Vogel
Created
Revision 0.208.04.2008Lars Vogel
Updated examples
Revision 0.307.07.2009Lars Vogel
Small code clean-up

Abstract

This article demonstrate how to create and how to read Excel files with the Java Excel API. Please note that this Java Excel API is hosted and developed on sourceforge and therefore not part of the standard Java distribution.


Table of Contents

1. Installation
2. Create an Excel Spreadsheet
3. Read an existing Excel Spreadsheet
4. Thank you
5. Questions and Discussion
6. Links and Literature
6.1. Source Code
6.2. Java Excel Resources
6.3. vogella Resources

1. Installation

Download the Java Excel library from the webpage http://jexcelapi.sourceforge.net/

Add the the lib jxl.jar to your classpath. See Changing classpath in Eclipse .