Simon,

You need to make sure you are including the POI jars in your classpath. If 
you are using ant I can send you my build.xml that will create a 
presentation?

-Lou


zzzimon <[email protected]> wrote on 2013-04-30 05:22:04 AM:

> From: zzzimon <[email protected]>
> To: [email protected], 
> Date: 2013-04-30 05:46 AM
> Subject: How to install POI
> 
> Hi!
> 
> I want to run the following simple example that should create a Power 
Point
> file with one empty slide:
> 
> import java.io.*;
> 
> public class NewPresentation {
> 
>   public static void main(String[] args) {
> 
>     XMLSlideShow ppt = new XMLSlideShow();
> 
>     XSLFSlide blankSlide = ppt.createSlide();
> 
>     FileOutputStream out = new FileOutputStream("newpresentation.pptx");
>     ppt.write(out);
>     out.close();
> 
> 
>   }
> 
> }
> 
> 
> How do I install POI? On the download page there are "binary" releases. 
I
> downloaded that zip file and unzipped it and in it was some folders and
> files. How do I install it and what import command should i use at the 
top
> of the java file. Im used to using notepad and the command line for
> compiling and running java programs. 
> 
> kind regards, Simon
> 
> 
> 
> --
> View this message in context: http://apache-poi.
> 1045710.n5.nabble.com/How-to-install-POI-tp5712616.html
> Sent from the POI - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

Reply via email to