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


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

Re: How does it know?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Knute Johnson <nospam@rabbitbrush.frazmtn.com>
Newsgroups comp.lang.java.programmer
Subject Re: How does it know?
Date Wed, 17 Sep 2014 14:52:12 -0700
Organization A noiseless patient Spider
Lines 31
Message-ID <lvcvq9$7gn$1@dont-email.me> (permalink)
References <luv2fd$j58$1@dont-email.me> <9b671als0s1psm43s3outq5culinesokr0@4ax.com> <lv4a0f$kuv$2@dont-email.me> <54164e4d$0$302$14726298@news.sunsite.dk>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 8bit
Injection-Date Wed, 17 Sep 2014 21:52:11 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="9874f17072b79fdffca90eb4775a51ee"; logging-data="7703"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19oPeypQgeXj1gvPcYT69Y5"
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1
In-Reply-To <54164e4d$0$302$14726298@news.sunsite.dk>
Cancel-Lock sha1:QM5MItQCSkifKeVAzXdnnOhSqLg=
Xref csiph.com comp.lang.java.programmer:30014

Show key headers only | View raw


On 9/14/2014 19:26, Arne Vajhøj wrote:
> On 9/14/2014 10:50 AM, Knute Johnson wrote:
>> On 9/12/2014 18:11, Roedy Green wrote:
>>> On Fri, 12 Sep 2014 08:11:39 -0700, Knute Johnson
>>> <nospam@rabbitbrush.frazmtn.com> wrote, quoted or indirectly quoted
>>> someone who said :
>>>
>>>> When all the .class files are in the
>>>> working directory they are in the CLASSPATH.  Are all of the classes in
>>>> a .jar in the CLASSPATH too?
>>>
>>> When you have a jar, the classpath is ignored, unless you have one
>>> inside the jar.  All the classes in the jar are potentially loadable.
>>
>> That was my question.  So any class in a jar can be loaded and a static
>> method called on it by using its classname.methodname().  I assume then
>> if the jar manifest has a Class-Path: statement pointing to another jar,
>> all those classes are potentially loadable too?
>
> Yes.
>
> If it is in the classpath then it can be loaded - how the path
> got in the classpath should not matter.
>
> Arne
>
>

Thanks!

knute...

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


Thread

How does it know? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2014-09-12 08:11 -0700
  Re: How does it know? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2014-09-12 08:36 -0700
    Re: How does it know? Steven Simpson <ss@domain.invalid> - 2014-09-12 17:36 +0100
      Re: How does it know? Donkey Hottie <donkey@fredriksson.dy.fi> - 2014-09-12 21:40 +0300
        Re: How does it know? Joerg Meier <joergmmeier@arcor.de> - 2014-09-13 11:57 +0200
  Re: How does it know? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2014-09-12 16:18 -0700
    Re: How does it know? Mike Amling <mamling@chaff.us> - 2014-09-14 08:52 -0500
      Re: How does it know? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2014-09-14 07:48 -0700
  Re: How does it know? Roedy Green <see_website@mindprod.com.invalid> - 2014-09-12 18:11 -0700
    Re: How does it know? Joerg Meier <joergmmeier@arcor.de> - 2014-09-13 11:59 +0200
      Re: How does it know? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2014-09-14 07:51 -0700
        Re: How does it know? Arne Vajhøj <arne@vajhoej.dk> - 2014-09-14 22:24 -0400
    Re: How does it know? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2014-09-14 07:50 -0700
      Re: How does it know? Arne Vajhøj <arne@vajhoej.dk> - 2014-09-14 22:26 -0400
        Re: How does it know? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2014-09-17 14:52 -0700
  Re: How does it know? Roedy Green <see_website@mindprod.com.invalid> - 2014-09-12 18:13 -0700
  Re: How does it know? Mike Amling <mamling@chaff.us> - 2014-09-14 08:29 -0500
    Re: How does it know? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2014-09-14 07:53 -0700
      Re: How does it know? Roedy Green <see_website@mindprod.com.invalid> - 2014-09-17 00:40 -0700
        Re: How does it know? Joerg Meier <joergmmeier@arcor.de> - 2014-09-18 00:10 +0200

csiph-web