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


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

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

Newsgroups comp.lang.java.programmer
Date 2016-08-02 10:49 -0700
References <nnqbs5$gs6$1@gioia.aioe.org> <e0c1bgFudoeU1@mid.individual.net>
Message-ID <6e2eee77-2a64-496d-93e0-efe3b75416a5@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 12:51:08 PM UTC-4, Nigel Wade wrote:
> Specifying a folder won't include jar files. A folder in the classpath is used as the root of a tree containing class files.
> To include a single jar specify the path to that jar file. To include all jar files in a folder use the syntax <folder>/*, where <folder> is the path to the folder in question.
> 

ok, I thought I remembered an option for a folder, which I thought should include all jars in a folder.  I think I tried that once and it didn't work so rather than reading about that I just changed my classpath to specifically reference every jar in the folder.  I use Eclipse compile so I don't call javac directly so I've never needed individual class files.  I use the javaw -cp to run some stuff with custom paths.

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