Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Bob H Newsgroups: comp.lang.java.programmer Subject: Re: placement of other jars not in original in JDK download Date: Wed, 22 Aug 2012 16:49:46 -0700 (PDT) Organization: http://groups.google.com Lines: 105 Message-ID: <312229fa-2d8b-4686-a8df-75b7a4b13f9c@googlegroups.com> References: <14fdabc2-3e23-40c9-b01a-fedfdc9a668c@googlegroups.com> NNTP-Posting-Host: 99.164.121.93 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1345679495 29783 127.0.0.1 (22 Aug 2012 23:51:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 22 Aug 2012 23:51:35 +0000 (UTC) In-Reply-To: <14fdabc2-3e23-40c9-b01a-fedfdc9a668c@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=99.164.121.93; posting-account=fFD7kgkAAAB9oB6zviXAsz8U3juNPKqJ User-Agent: G2/1.0 Xref: csiph.com comp.lang.java.programmer:18289 On Tuesday, August 21, 2012 3:31:40 PM UTC-4, Bob H wrote: > Hi All,=20 >=20 > If I download poi-3.8 binary and I want to access=20 >=20 > some of the jar files that are in the download,=20 >=20 > as in this set of opening lines of a program that=20 >=20 > uses some of it: >=20 > =20 >=20 > import org.apache.poi.poifs.filesystem.*; >=20 > import org.apache.poi.hwpf.*; >=20 > import org.apache.poi.hwpf.extractor.*; >=20 > import java.io.*; >=20 >=20 >=20 > Where do I place the poi-3.8=20 >=20 > items(jars) that are in apache poi download?=20 >=20 > my compiler is:=20 >=20 >=20 >=20 > JDK 6.0_25 from C:\Program Files\Java\jdk1.6.0_25\lib\tools.jar >=20 >=20 >=20 > TIA, >=20 > bH Hi Lew,=20 Thanks for responding. I looked at Jeff's=20 help. I have a problem with Oracle's=20 directions. The directions from them give me a case=20 of the jitters resetting things that I was=20 not responsible for initially in the setup: (administrator). < http://docs.oracle.com/javase/tutorial/essential/environment/paths.html >= =20 I find there: "C:\Java\jdk1.7.0\bin\javac MyClass.java"=20 This I understand!=20 I also find there for"Windows 7",=20 which I have :=20 1.From the desktop, right click the Computer icon. 2.Choose Properties from the context menu. 3.Click the Advanced system settings link. 4.Click Environment Variables. In the section System Variables, find the PA= TH environment variable and select it. Click Edit. If the PATH environment = variable does not exist, click New. 5.In the Edit System Variable (or New System Variable) window, specify the = value of the PATH environment variable. Click OK. Close all remaining windo= ws by clicking OK. ---------------------------------------------------------------------------= ----- Note: You may see a PATH environment variable similar to the following when= editing it from the Control Panel:=20 %JAVA_HOME%\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wb= em Variables enclosed in percentage signs (%) are existing environment variabl= es. If one of these variables is listed in the Environment Variables window= from the Control Panel (such as JAVA_HOME), then you can edit its value. I= f it does not appear, then it is a special environment variable that the op= erating system has defined. For example, SystemRoot is the location of the = Microsoft Windows system folder. To obtain the value of a environment varia= ble, enter the following at a command prompt. (This example obtains the val= ue of the SystemRoot environment variable):=20 echo %SystemRoot%" Lew,=20 there is the information from Roedy, and the following post from Arne: "2 bad + 2 good advices"=20 Arne=20 My response to that is : What am I supposed to think and do with that information? Lew, You wrote:=20 "NO! No, no, no Put it anywhere you want and include the JAR in the classpath. My response to that is : I tried all combinations of "poi-bin-3.8-20120326 jars"=20 where and what to put there.=20 I am frustrated: I need a cookie=20 sized tranquilizer.=20 Buen d=EDa y gracias.=20 =20 bH