Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #18271 > unrolled thread
| Started by | bH <bherbst65@hotmail.com> |
|---|---|
| First post | 2012-08-21 12:31 -0700 |
| Last post | 2012-08-27 21:46 -0400 |
| Articles | 20 on this page of 21 — 10 participants |
Back to article view | Back to comp.lang.java.programmer
placement of other jars not in original in JDK download bH <bherbst65@hotmail.com> - 2012-08-21 12:31 -0700
Re: placement of other jars not in original in JDK download Jeff Higgins <jeff@invalid.invalid> - 2012-08-21 15:52 -0400
Re: placement of other jars not in original in JDK download Lew <lewbloch@gmail.com> - 2012-08-21 13:50 -0700
Re: placement of other jars not in original in JDK download Jeff Higgins <jeff@invalid.invalid> - 2012-08-21 17:13 -0400
Re: placement of other jars not in original in JDK download Lew <noone@lewscanon.com> - 2012-08-22 06:25 -0700
Re: placement of other jars not in original in JDK download Roedy Green <see_website@mindprod.com.invalid> - 2012-08-21 14:11 -0700
Re: placement of other jars not in original in JDK download Arne Vajhøj <arne@vajhoej.dk> - 2012-08-21 19:00 -0400
Re: placement of other jars not in original in JDK download "John B. Matthews" <nospam@nospam.invalid> - 2012-08-21 21:41 -0400
Re: placement of other jars not in original in JDK download Bob H <bherbst65@hotmail.com> - 2012-08-22 13:10 -0700
Re: placement of other jars not in original in JDK download Lew <lewbloch@gmail.com> - 2012-08-22 13:32 -0700
Re: placement of other jars not in original in JDK download "John B. Matthews" <nospam@nospam.invalid> - 2012-08-23 12:45 -0400
Re: placement of other jars not in original in JDK download Arne Vajhøj <arne@vajhoej.dk> - 2012-08-27 21:50 -0400
Re: placement of other jars not in original in JDK download Bob H <bherbst65@hotmail.com> - 2012-08-30 17:28 -0700
Re: placement of other jars not in original in JDK download Lew <lewbloch@gmail.com> - 2012-08-31 15:23 -0700
Re: placement of other jars not in original in JDK download Arne Vajhøj <arne@vajhoej.dk> - 2012-08-27 21:49 -0400
Re: placement of other jars not in original in JDK download Gunter Herrmann <notformail0106@earthlink.net> - 2012-08-23 13:52 -0400
Re: placement of other jars not in original in JDK download Bob H <bherbst65@hotmail.com> - 2012-08-22 16:49 -0700
Re: placement of other jars not in original in JDK download Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2012-08-23 02:39 +0200
Re: placement of other jars not in original in JDK download Jeff Higgins <jeff@invalid.invalid> - 2012-08-22 20:49 -0400
Re: placement of other jars not in original in JDK download Bob H <bherbst65@hotmail.com> - 2012-08-22 19:54 -0700
Re: placement of other jars not in original in JDK download Arne Vajhøj <arne@vajhoej.dk> - 2012-08-27 21:46 -0400
Page 1 of 2 [1] 2 Next page →
| From | bH <bherbst65@hotmail.com> |
|---|---|
| Date | 2012-08-21 12:31 -0700 |
| Subject | placement of other jars not in original in JDK download |
| Message-ID | <14fdabc2-3e23-40c9-b01a-fedfdc9a668c@googlegroups.com> |
Hi All, 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? my compiler is: JDK 6.0_25 from C:\Program Files\Java\jdk1.6.0_25\lib\tools.jar TIA, bH
[toc] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2012-08-21 15:52 -0400 |
| Message-ID | <k10ouh$fs9$1@dont-email.me> |
| In reply to | #18271 |
On 08/21/2012 03:31 PM, bH wrote: > Hi All, > 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. <http://docs.oracle.com/javase/tutorial/essential/environment/paths.html> > my compiler is: > > JDK 6.0_25 from C:\Program Files\Java\jdk1.6.0_25\lib\tools.jar
[toc] | [prev] | [next] | [standalone]
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Date | 2012-08-21 13:50 -0700 |
| Message-ID | <b71a4d13-ccc1-4af4-b6f2-5c84ea637d66@googlegroups.com> |
| In reply to | #18272 |
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. > <http://docs.oracle.com/javase/tutorial/essential/environment/paths.html> Except don't use the CLASSPATH environment variable. Use the "-cp" or equivalent "-classpath" option to the Java tools. <http://docs.oracle.com/javase/7/docs/index.html> <http://docs.oracle.com/javase/6/docs/technotes/tools/solaris/java.html#options> <http://docs.oracle.com/javase/6/docs/technotes/tools/solaris/classpath.html> "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
[toc] | [prev] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2012-08-21 17:13 -0400 |
| Message-ID | <k10tme$elg$1@dont-email.me> |
| In reply to | #18273 |
On 08/21/2012 04:50 PM, Lew wrote: > 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. >> <http://docs.oracle.com/javase/tutorial/essential/environment/paths.html> > > Except don't use the CLASSPATH environment variable. > > Use the "-cp" or equivalent "-classpath" option to the Java tools. > <http://docs.oracle.com/javase/7/docs/index.html> > <http://docs.oracle.com/javase/6/docs/technotes/tools/solaris/java.html#options> > > <http://docs.oracle.com/javase/6/docs/technotes/tools/solaris/classpath.html> > "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. > Thank you for reiterating the advice given in the tutorial link above.
[toc] | [prev] | [next] | [standalone]
| From | Lew <noone@lewscanon.com> |
|---|---|
| Date | 2012-08-22 06:25 -0700 |
| Message-ID | <k12mju$9go$1@news.albasani.net> |
| In reply to | #18276 |
Jeff Higgins wrote: > Lew wrote: >> 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. >>> <http://docs.oracle.com/javase/tutorial/essential/environment/paths.html> >> >> Except don't use the CLASSPATH environment variable. >> >> Use the "-cp" or equivalent "-classpath" option to the Java tools. >> <http://docs.oracle.com/javase/7/docs/index.html> >> <http://docs.oracle.com/javase/6/docs/technotes/tools/solaris/java.html#options> >> >> >> <http://docs.oracle.com/javase/6/docs/technotes/tools/solaris/classpath.html> >> "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. >> > Thank you for reiterating the advice given in the tutorial link above. You are very welcome. -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg
[toc] | [prev] | [next] | [standalone]
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Date | 2012-08-21 14:11 -0700 |
| Message-ID | <eau7385181957bce8mrlpfpllelp8mejkt@4ax.com> |
| In reply to | #18271 |
On Tue, 21 Aug 2012 12:31:40 -0700 (PDT), bH <bherbst65@hotmail.com> wrote, quoted or indirectly quoted someone who said : >JDK 6.0_25 from C:\Program Files\Java\jdk1.6.0_25\lib\tools.jar put them in the ext dir put them on the SET classpath put them on the commandline -classpath use JNLP -- Roedy Green Canadian Mind Products http://mindprod.com A new scientific truth does not triumph by convincing its opponents and making them see the light, but rather because its opponents eventually die, and a new generation grows up that is familiar with it. ~ Max Planck 1858-04-23 1947-10-04
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2012-08-21 19:00 -0400 |
| Message-ID | <50341328$0$291$14726298@news.sunsite.dk> |
| In reply to | #18275 |
On 8/21/2012 5:11 PM, Roedy Green wrote: > On Tue, 21 Aug 2012 12:31:40 -0700 (PDT), bH <bherbst65@hotmail.com> > wrote, quoted or indirectly quoted someone who said : > >> JDK 6.0_25 from C:\Program Files\Java\jdk1.6.0_25\lib\tools.jar > > put them in the ext dir > put them on the SET classpath > put them on the commandline -classpath > use JNLP 2 bad + 2 good advices Arne
[toc] | [prev] | [next] | [standalone]
| From | "John B. Matthews" <nospam@nospam.invalid> |
|---|---|
| Date | 2012-08-21 21:41 -0400 |
| Message-ID | <nospam-447DF6.21411721082012@news.aioe.org> |
| In reply to | #18279 |
In article <50341328$0$291$14726298@news.sunsite.dk>, Arne Vajhøj <arne@vajhoej.dk> wrote: > On 8/21/2012 5:11 PM, Roedy Green wrote: > > On Tue, 21 Aug 2012 12:31:40 -0700 (PDT), bH <bherbst65@hotmail.com> > > wrote, quoted or indirectly quoted someone who said : > > > >> JDK 6.0_25 from C:\Program Files\Java\jdk1.6.0_25\lib\tools.jar > > > > put them in the ext dir > > put them on the SET classpath > > put them on the commandline -classpath > > use JNLP > > 2 bad + 2 good advices bH: You may not notice problems from the first two until you've parked a few JARs there, forgotten about them, and then added newer versions elsewhere. If you're using NetBeans, add the JARs in Tools > Libraries, where they can then be accessed as a group by projects that need them. Eclipse has a comparable feature. -- John B. Matthews trashgod at gmail dot com <http://sites.google.com/site/drjohnbmatthews>
[toc] | [prev] | [next] | [standalone]
| From | Bob H <bherbst65@hotmail.com> |
|---|---|
| Date | 2012-08-22 13:10 -0700 |
| Message-ID | <bc809c32-3b61-4c49-a6b3-9d8b2e8cfaa3@googlegroups.com> |
| In reply to | #18280 |
Hi All, Clarifying what I ultimately wanted: I am trying to read a "xxx.doc" file downloaded to a Windows Vista 32-bit operating system. John M wrote : "If you're using NetBeans, add the JARs in Tools > Libraries, where they can then be accessed as a group by projects that need them. Eclipse has a comparable feature." I am using neither NetBeans nor Eclipse. The posts here so far indicate that I should place latest poi-3.8 binary jars into the folder where where the tools.jar is located? If there is no more help forthcoming then I abandon this project. Thanks to all for your responses. bH
[toc] | [prev] | [next] | [standalone]
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Date | 2012-08-22 13:32 -0700 |
| Message-ID | <c490f501-26a1-495d-b4bd-a2c622bc4e9b@googlegroups.com> |
| In reply to | #18287 |
Bob H wrote: > Clarifying what I ultimately wanted: > I am trying to read a "xxx.doc" file downloaded > to a Windows Vista 32-bit operating system. > > John M wrote : >> "If you're using NetBeans, add the JARs in Tools > Libraries, where they >> can then be accessed as a group by projects that need them. Eclipse has >> a comparable feature." > > I am using neither NetBeans nor Eclipse. > > The posts here so far indicate that I should place > latest poi-3.8 binary jars into the folder where > where the tools.jar is located? NO! No, no, no. Put it anywhere you want and include the JAR in the classpath. > If there is no more help forthcoming then I abandon > this project. What was wrong with the complete and accurate help you already got? Did you read the indicated links about classpath? Why not? > Thanks to all for your responses. You thank us best by using the information. Jeff Higgins, for example, gave you a very solid start. -- Lew
[toc] | [prev] | [next] | [standalone]
| From | "John B. Matthews" <nospam@nospam.invalid> |
|---|---|
| Date | 2012-08-23 12:45 -0400 |
| Message-ID | <nospam-F1DC47.12454223082012@news.aioe.org> |
| In reply to | #18287 |
In article <bc809c32-3b61-4c49-a6b3-9d8b2e8cfaa3@googlegroups.com>, Bob H <bherbst65@hotmail.com> wrote: > Hi All, > Clarifying what I ultimately wanted: > I am trying to read a "xxx.doc" file downloaded > to a Windows Vista 32-bit operating system. > John M wrote : > "If you're using NetBeans, add the JARs in Tools > Libraries, where > they can then be accessed as a group by projects that need them. > Eclipse has a comparable feature." > > I am using neither NetBeans nor Eclipse. How are you building, then? Command line? Ant? Another IDE? > The posts here so far indicate that I should place > latest poi-3.8 binary jars into the folder where > where the tools.jar is located? As Lew said, no. Put it where is makes sense for you. I keep poi with the only project I have that uses it, but I keep more widely used libraries in a place commonly used on my platform, /opt. Here's how I'd build and run MyReader from the command line: javac -d build/classes -cp poi-3.8/*:poi-3.8/lib/*:poi-3.8/ooxml-lib/* src/MyReader.java java -cp build/classes:poi-3.8/*:poi-3.8/lib/*:poi-3.8/ooxml-lib/* MyReader -- John B. Matthews trashgod at gmail dot com <http://sites.google.com/site/drjohnbmatthews>
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2012-08-27 21:50 -0400 |
| Message-ID | <503c2401$0$287$14726298@news.sunsite.dk> |
| In reply to | #18287 |
On 8/22/2012 4:10 PM, Bob H wrote: > Clarifying what I ultimately wanted: > I am trying to read a "xxx.doc" file downloaded > to a Windows Vista 32-bit operating system. > John M wrote : > "If you're using NetBeans, add the JARs in Tools > Libraries, where they > can then be accessed as a group by projects that need them. Eclipse has > a comparable feature." > > I am using neither NetBeans nor Eclipse. > > The posts here so far indicate that I should place > latest poi-3.8 binary jars into the folder where > where the tools.jar is located? No. Most posts here indicate that you should put a ref to the jars in the Java command line. Arne
[toc] | [prev] | [next] | [standalone]
| From | Bob H <bherbst65@hotmail.com> |
|---|---|
| Date | 2012-08-30 17:28 -0700 |
| Message-ID | <a676f24f-960f-423d-a239-455a9656d5df@googlegroups.com> |
| In reply to | #18344 |
On Monday, August 27, 2012 9:55:01 PM UTC-4, Arne Vajhøj wrote: > On 8/22/2012 4:10 PM, Bob H wrote: > > > Clarifying what I ultimately wanted: > > > I am trying to read a "xxx.doc" file downloaded > > > to a Windows Vista 32-bit operating system. > > > John M wrote : > > > "If you're using NetBeans, add the JARs in Tools > Libraries, where they > > > can then be accessed as a group by projects that need them. Eclipse has > > > a comparable feature." > > > > > > I am using neither NetBeans nor Eclipse. > > > > > > The posts here so far indicate that I should place > > > latest poi-3.8 binary jars into the folder where > > > where the tools.jar is located? > > > > No. > > > > Most posts here indicate that you should put a ref to the > > jars in the Java command line. > > > > Arne Hi All, Thanks to you all,for your help. I close with these remarks. Yes I was able to discover how to direct my IDE to the path of the .POI jar the respective jar containing the import. There is a "preferences" tab in the IDE which leads to a page to enter any path to individual .POI jars regardless of where it is. However in my sample program there were items for which that the .POI jar did not have some objects written in the sample. This sample program might have been written in an earlier time when publishing of the Apache .POI jar was not the same as the latest version for download now. The .POI archive is available but at a sizable effort to discover which one it was. Even after that, the program might not access the version of Word that wrote the .doc that I want to read. So I close my quest with an observation of a search in comp.lang.java.programmer In a '07 post made by Raymond F Herrera "I need to convert MSWord ".doc" files to plain data ".rtf" ones" The OP writes in part: " > Roedy Green Canadian Mind Products > The Java Glossaryhttp://mindprod.com [Roedy's site says:] > .POI is not what I would call developer friendly. " I agree. bH
[toc] | [prev] | [next] | [standalone]
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Date | 2012-08-31 15:23 -0700 |
| Message-ID | <b4fd4188-4079-4d22-995e-a041557c7638@googlegroups.com> |
| In reply to | #18456 |
Bob H wrote: > Thanks to you all,for your help. > > I close with these remarks. > > Yes I was able to discover how > to direct my IDE to the path of the .POI jar > the respective jar containing the import. > There is a "preferences" tab > in the IDE which leads to a page > to enter any path to individual .POI jars > regardless of where it is. There is also an ability to create a "library" that projects can include, thus putting the JARs, and any associated Javadocs and source, in the classpath and documentation path, respectively, for your IDE build. > However in my sample > program there were items for which > that the .POI jar did not > have some objects written in the > sample. This sample program might have been written > in an earlier time when publishing of the > Apache .POI jar was not the same as > the latest version for download now. The > .POI archive is available but at a > sizable effort to discover which one it > was. Even after that, the program > might not access the version of Word > that wrote the .doc that I want to read. The program doesn't access *any* version of Word. It reads the .doc file directly. > So I close my quest with an observation of > a search in comp.lang.java.programmer > > In a '07 post made by Raymond F Herrera > "I need to convert MSWord ".doc" files to plain data ".rtf" ones" > The OP writes in part: >> Roedy Green Canadian Mind Products >> The Java Glossaryhttp://mindprod.com > [Roedy's site says:] >> .POI is not what I would call > developer friendly. " > I agree. I completely disagree. I've used POI and it didn't give any trouble at all. I observe from this thread that you have yet to learn about classpath, setting up your IDE and how to communicate source code relevant to your question. These are your handicaps, not POI. -- Lew
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2012-08-27 21:49 -0400 |
| Message-ID | <503c2394$0$287$14726298@news.sunsite.dk> |
| In reply to | #18280 |
On 8/21/2012 9:41 PM, John B. Matthews wrote: > In article <50341328$0$291$14726298@news.sunsite.dk>, > Arne Vajhøj <arne@vajhoej.dk> wrote: > >> On 8/21/2012 5:11 PM, Roedy Green wrote: >>> On Tue, 21 Aug 2012 12:31:40 -0700 (PDT), bH <bherbst65@hotmail.com> >>> wrote, quoted or indirectly quoted someone who said : >>> >>>> JDK 6.0_25 from C:\Program Files\Java\jdk1.6.0_25\lib\tools.jar >>> >>> put them in the ext dir >>> put them on the SET classpath >>> put them on the commandline -classpath >>> use JNLP >> >> 2 bad + 2 good advices > > bH: You may not notice problems from the first two until you've parked a > few JARs there, forgotten about them, and then added newer versions > elsewhere. Or get a new Java version. It is a very bad idea to mix ordinary library code with Java itself. The ext possibility exists for other reasons. Arne
[toc] | [prev] | [next] | [standalone]
| From | Gunter Herrmann <notformail0106@earthlink.net> |
|---|---|
| Date | 2012-08-23 13:52 -0400 |
| Message-ID | <50366dae$0$6573$9b4e6d93@newsspool3.arcor-online.net> |
| In reply to | #18275 |
Hi! Roedy Green wrote: > put them in the ext dir > put them on the SET classpath > put them on the commandline -classpath > use JNLP put the names of them into the manifest of your main jar (when using ant add a manifest section before creating the main jar) Example: <manifest> <attribute name="Main-Class" value="org.example.myapp.MyMainClass" /> <attribute name="Class-Path" value=". log4j-1.2.17.jar ojdbc6.jar " /> </manifest> call it with java -jar yourMainJar.jar Gunter
[toc] | [prev] | [next] | [standalone]
| From | Bob H <bherbst65@hotmail.com> |
|---|---|
| Date | 2012-08-22 16:49 -0700 |
| Message-ID | <312229fa-2d8b-4686-a8df-75b7a4b13f9c@googlegroups.com> |
| In reply to | #18271 |
On Tuesday, August 21, 2012 3:31:40 PM UTC-4, Bob H wrote: > Hi All, > > 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? > > my compiler is: > > > > JDK 6.0_25 from C:\Program Files\Java\jdk1.6.0_25\lib\tools.jar > > > > TIA, > > bH Hi Lew, Thanks for responding. I looked at Jeff's help. I have a problem with Oracle's directions. The directions from them give me a case of the jitters resetting things that I was not responsible for initially in the setup: (administrator). < http://docs.oracle.com/javase/tutorial/essential/environment/paths.html > I find there: "C:\Java\jdk1.7.0\bin\javac MyClass.java" This I understand! I also find there for"Windows 7", which I have : 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 PATH 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 windows by clicking OK. -------------------------------------------------------------------------------- Note: You may see a PATH environment variable similar to the following when editing it from the Control Panel: %JAVA_HOME%\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem Variables enclosed in percentage signs (%) are existing environment variables. 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. If it does not appear, then it is a special environment variable that the operating system has defined. For example, SystemRoot is the location of the Microsoft Windows system folder. To obtain the value of a environment variable, enter the following at a command prompt. (This example obtains the value of the SystemRoot environment variable): echo %SystemRoot%" Lew, there is the information from Roedy, and the following post from Arne: "2 bad + 2 good advices" Arne My response to that is : What am I supposed to think and do with that information? Lew, You wrote: "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" where and what to put there. I am frustrated: I need a cookie sized tranquilizer. Buen día y gracias. bH
[toc] | [prev] | [next] | [standalone]
| From | Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> |
|---|---|
| Date | 2012-08-23 02:39 +0200 |
| Message-ID | <k13u4o$msd$1@dont-email.me> |
| In reply to | #18289 |
On 23/08/2012 01:49, Bob H allegedly wrote: > My response to that is : > I tried all combinations of "poi-bin-3.8-20120326 jars" > where and what to put there. > > I am frustrated: I need a cookie > sized tranquilizer. Perhaps you should consider whether all this computer stuff is really something for you... > mkdir C:\MyArse > copy poi.jar C:\MyArse\ > java -cp C:\MyArse\poi.jar MyClass -- DF.
[toc] | [prev] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2012-08-22 20:49 -0400 |
| Message-ID | <k13umi$paf$1@dont-email.me> |
| In reply to | #18290 |
On 08/22/2012 08:39 PM, Daniele Futtorovic wrote: > On 23/08/2012 01:49, Bob H allegedly wrote: >> My response to that is : >> I tried all combinations of "poi-bin-3.8-20120326 jars" >> where and what to put there. >> >> I am frustrated: I need a cookie >> sized tranquilizer. > > Perhaps you should consider whether all this computer stuff is really > something for you... > >> mkdir C:\MyArse >> copy poi.jar C:\MyArse\ >> java -cp C:\MyArse\poi.jar MyClass > bH has been posting to c.l.j... for years. It's either a long running troll or ...
[toc] | [prev] | [next] | [standalone]
| From | Bob H <bherbst65@hotmail.com> |
|---|---|
| Date | 2012-08-22 19:54 -0700 |
| Message-ID | <6d8242e0-d8df-4147-b6d8-5767176fd416@googlegroups.com> |
| In reply to | #18291 |
On Wednesday, August 22, 2012 8:49:30 PM UTC-4, Jeff Higgins wrote:
> On 08/22/2012 08:39 PM, Daniele Futtorovic wrote:
>
> > On 23/08/2012 01:49, Bob H allegedly wrote:
>
> >> My response to that is :
>
> >> I tried all combinations of "poi-bin-3.8-20120326 jars"
>
> >> where and what to put there.
>
> >>
>
> >> I am frustrated: I need a cookie
>
> >> sized tranquilizer.
>
> >
>
> > Perhaps you should consider whether all this computer stuff is really
>
> > something for you...
>
> >
>
> >> mkdir C:\MyArse
>
> >> copy poi.jar C:\MyArse\
>
> >> java -cp C:\MyArse\poi.jar MyClass
>
> >
>
> bH has been posting to c.l.j... for years.
>
> It's either a long running troll or ...
Hi Jeff,
Thanks for the consideration you wrote.
Sometimes the help here is outstanding,
other times I don't understand what is
being said. So it requires
me to "solve my problem" in a different manner.
While searching the internet most recently,
I came across this solution which does the
task of opening a 'xxx.doc'.
So I am now using this Rutime model:
//http://www.2shared.com/complete/x_C073Q-/WINWORD.html
import java.io.*;
public class RuntimeGetDoc
{
public static void main(String[] str)throws IOException
{
Runtime rt = Runtime.getRuntime();
Process p = rt.exec("C:/Program Files/WinWord/WINWORD.exe");
}
}
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | comp.lang.java.programmer
csiph-web