Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #18298

Re: placement of other jars not in original in JDK download

From "John B. Matthews" <nospam@nospam.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: placement of other jars not in original in JDK download
Date 2012-08-23 12:45 -0400
Organization The Wasteland
Message-ID <nospam-F1DC47.12454223082012@news.aioe.org> (permalink)
References <14fdabc2-3e23-40c9-b01a-fedfdc9a668c@googlegroups.com> <eau7385181957bce8mrlpfpllelp8mejkt@4ax.com> <50341328$0$291$14726298@news.sunsite.dk> <nospam-447DF6.21411721082012@news.aioe.org> <bc809c32-3b61-4c49-a6b3-9d8b2e8cfaa3@googlegroups.com>

Show all headers | View raw


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>

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web