Hi Bruno,

Thanks very much for getting back to me.  I put all the libraries in the
same directory as the build/classes/mypackage/Business.class.  But now I am
getting, classNotFoundException
mypackage.BusinessPlan.  Also if you look on the website where the example
is posted,
it says it needs to be run differently.  I tried it that way too.

Here is the link:

http://poi.apache.org/spreadsheet/examples.html

Thanks,

Veena

On Sun, Oct 25, 2009 at 6:38 PM, Bruno Girin <[email protected]> wrote:

> Veena,
>
> Your classpath is incorrect. Your command line should be something like:
>
> java -cp c:/poi-3.5-FINAL/poi-3.5-FINAL-20090928.jar mypackage.BusinessPlan
> -xls
>
> The classpath may need to include other directories or jar files too
> depending on what classes your code requires. This should reflect your
> java build path in eclipse. To make sure it's correct, in eclipse go
> to Project -> Properties, click on Java Build Path, then click on the
> Libraries tab: this will give you the list of jar files that need to
> be in the classpath.
>
> Bruno
>
> 2009/10/25 veena pandit <[email protected]>:
>  > Please see
> >
> > http://www.coderanch.com/t/468041/Other-Open-Source-Projects/Apache-POI
> >
> > and help me.
> >
> > Thanks,
> >
> > Veena
> >
> > On Sun, Oct 25, 2009 at 11:42 AM, Alan Williamson
> > <[email protected]>wrote:
> >
> >> Veena,
> >>
> >> There is plenty examples on the main Apache POI site.
> >>
> >> If you managed to find the link to this mailing list, then you will most
> >> definitely find the examples that are on the site too!
> >>
> >> :)
> >>
> >> alan
> >>  http://alan.blog-city.com/
> >>
> >>
> >> veena pandit wrote:
> >>
> >>> I need a complete example of how to use apache poi to
> >>> open and edit an excel file.  I want to incorporate it into
> >>> a jsf application.  Please help!!!!
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >>
> >
>
>
>
> --
> Bruno
> Visit my weblog: http://brunogirin.blogspot.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to