hey folks i m doing a java project in which i want to display prebuilt powerpoint slides through java....
i got the code for it bt its not executing
Actually the problem is with the packages...........
how to execute the below code.....
do it requires apache tomcat to run if yes then which version.....

import org.apache.poi.hslf.HSLFSlideShow;
import org.apache.poi.hslf.model.Slide;
import org.apache.poi.hslf.usermodel.SlideShow;
import java.io.*;
public class createNewPersentation
		public static void main(String str[])
    SlideShow slideShow = new SlideShow();
    Slide slide = slideShow.createSlide();
    FileOutputStream out = new FileOutputStream("slideshow.ppt");
		}catch(Exception e){}}

plz help
i wil really be greatful to u.......