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


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

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

From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: placement of other jars not in original in JDK download
Date 2012-08-22 06:25 -0700
Organization albasani.net
Message-ID <k12mju$9go$1@news.albasani.net> (permalink)
References <14fdabc2-3e23-40c9-b01a-fedfdc9a668c@googlegroups.com> <k10ouh$fs9$1@dont-email.me> <b71a4d13-ccc1-4af4-b6f2-5c84ea637d66@googlegroups.com> <k10tme$elg$1@dont-email.me>

Show all headers | View raw


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

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