Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #35174
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2016-08-02 13:23 -0700 |
| References | <nnqbs5$gs6$1@gioia.aioe.org> <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> |
| Message-ID | <fe003ed9-44b6-40d9-bd7c-dafda116ccaf@googlegroups.com> (permalink) |
| Subject | Re: How to direct javac to search a jar file? |
| From | Lew <lewbloch@gmail.com> |
On Tuesday, August 2, 2016 at 11:11:40 AM UTC-7, Eric Douglas wrote: > On Tuesday, August 2, 2016 at 1:53:53 PM UTC-4, Lew wrote: > > That's what the docs are so very useful for. > > Docs are a waste of time if you know an immediate alternative that does work. > In this case it was an actual waste of time because the -cp folder is not supposed to find jars, so my alternative was correct. 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. -- Lew
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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