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


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

Re: How to direct javac to search a jar file?

Newsgroups comp.lang.java.programmer
Date 2016-08-03 05:32 -0700
References (1 earlier) <e0c1bgFudoeU1@mid.individual.net> <6e2eee77-2a64-496d-93e0-efe3b75416a5@googlegroups.com> <f7ed881f-c2f4-4222-addb-1be6c718255f@googlegroups.com> <e9ec0186-2d96-421a-a99d-9ce331d7f91c@googlegroups.com> <fe003ed9-44b6-40d9-bd7c-dafda116ccaf@googlegroups.com>
Message-ID <4330c3a0-fd57-4abf-a86f-53c1de41ebfb@googlegroups.com> (permalink)
Subject Re: How to direct javac to search a jar file?
From Eric Douglas <e.d.programmer@gmail.com>

Show all headers | View raw


On Tuesday, August 2, 2016 at 4:23:34 PM UTC-4, Lew wrote:
> If you had read the docs, you would have seen that the folder approach would work with two additional characters in the classpath spec. I never said your alternative is incorrect, but I will say that to declare "[d]ocs are a waste of time" is not correct. Ignorance may be bliss for you, but not for the people who depend on your work.
> 
> If you have a lot of JARs to put in your classpath, and you aren't using Maven or some such tool but specifying the classpath yourself, then the long classpath can be tricky to maintain. It isn't incorrect, any more than any other programming technique that works, but it might not be optimal. If you are in the habit of studying and knowing what you are doing, then you increase the likelihood of having an optimal or at least better solution. If you are not in the habit of knowing what you are doing, then you had better be in the habit of being very, very lucky.
> 
> If you think "docs are a waste of time", then you are unlikely to be one who knows what you're doing.

So you're saying Nigel is a liar and you can put jars in a classpath using a folder reference?

Yes ignorance is bliss if you can get something to work properly without wasting time on research that could be better spent on more development, though we all know ignorance can be dangerous if you get code that doesn't crash but actually doesn't do what it's supposed to so no one realizes it's wrong.

My long classpath is not hard to maintain because it doesn't change much and I'm the only one changing it, and in that particular instance I was setting up a set of jars to test an app that would not need updating.

Please respond if you have something helpful to add, not if you're just trying to insult people, act superior, and say you do things other people don't do so they're wrong.  Your tone is horrible, you sound like someone that no one would want to know.

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


Thread

How to direct javac to search a jar file? parmenides <xparmenides@yahoo.com> - 2016-08-02 22:48 +0800
  Re: How to direct javac to search a jar file? Eric Douglas <e.d.programmer@gmail.com> - 2016-08-02 08:11 -0700
  Re: How to direct javac to search a jar file? Nigel Wade <nmw@local.domain> - 2016-08-02 17:50 +0100
    Re: How to direct javac to search a jar file? Eric Douglas <e.d.programmer@gmail.com> - 2016-08-02 10:49 -0700
      Re: How to direct javac to search a jar file? Lew <lewbloch@gmail.com> - 2016-08-02 10:53 -0700
        Re: How to direct javac to search a jar file? Eric Douglas <e.d.programmer@gmail.com> - 2016-08-02 11:11 -0700
          Re: How to direct javac to search a jar file? Lew <lewbloch@gmail.com> - 2016-08-02 13:23 -0700
            Re: How to direct javac to search a jar file? Eric Douglas <e.d.programmer@gmail.com> - 2016-08-03 05:32 -0700
              Re: How to direct javac to search a jar file? Nigel Wade <nmw@local.domain> - 2016-08-03 14:30 +0100
                Re: How to direct javac to search a jar file? Eric Douglas <e.d.programmer@gmail.com> - 2016-08-03 12:02 -0700
                Re: How to direct javac to search a jar file? Arne Vajhøj <arne@vajhoej.dk> - 2016-08-03 19:34 -0400
                Re: How to direct javac to search a jar file? Nigel Wade <nmw@local.domain> - 2016-08-04 14:22 +0100
              Re: How to direct javac to search a jar file? Arne Vajhøj <arne@vajhoej.dk> - 2016-08-03 21:25 -0400
              Re: How to direct javac to search a jar file? Lew <lewbloch@gmail.com> - 2016-08-05 15:31 -0700

csiph-web