Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: placement of other jars not in original in JDK download Date: Tue, 21 Aug 2012 13:50:35 -0700 (PDT) Organization: http://groups.google.com Lines: 32 Message-ID: References: <14fdabc2-3e23-40c9-b01a-fedfdc9a668c@googlegroups.com> NNTP-Posting-Host: 69.28.149.29 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1345582235 31797 127.0.0.1 (21 Aug 2012 20:50:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 21 Aug 2012 20:50:35 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.29; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T User-Agent: G2/1.0 Xref: csiph.com comp.lang.java.programmer:18273 Jeff Higgins wrote: > bH wrote: > > If I download poi-3.8 binary and I want to access > > some of the jar files that are in the download, > > as in this set of opening lines of a program that > > uses some of it: > > > import org.apache.poi.poifs.filesystem.*; > > import org.apache.poi.hwpf.*; > > import org.apache.poi.hwpf.extractor.*; > > import java.io.*; > > > Where do I place the poi-3.8 > > items(jars) that are in apache poi download? > > On the classpath. > Except don't use the CLASSPATH environment variable. Use the "-cp" or equivalent "-classpath" option to the Java tools. "path option is preferred because you can set it individually for each application without affecting other applications and without other applications modifying its value." In short, OP, read the documentation. -- Lew