Including a folder's JAR files in CLASSPATH

From: Rizwan (hussains_at_pendylum.com)
Date: 08/31/04


Date: Tue, 31 Aug 2004 11:54:29 -0400

I have a folder C:\DevPrograms\Hibernate\lib which has 33 JAR files. I want
to include them in my CLASSPATH but not hardcoding the name of the jar
files; instead i want some thing like C:\DevPrograms\Hibernate\lib\*.jar so
that it can pick up all jar. I tried doing it but no success. What other
ways I can do it?
Thanks



Relevant Pages

  • Re: whats the use of JAR files
    ... JAR is an acronym for Java Archive. ... JAR files have essentially the same internal structure as ZIP files. ... Now you have a directory tree at some level in your hard drive, let's say it sits at $PROJECTS/foo. ...
    (comp.lang.java.programmer)
  • Re: problem: security using IDEs appletviewer
    ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... You have the image in a in a jar that has the name ... are listed in the ARCHIVE element of the APPLET tag. ... files in both .jar files are available to the applet. ...
    (comp.lang.java.help)
  • Re: Big JARs = Big Problems?
    ... I'm on a project that has several notional Java components. ... > components are each made up of one or more JAR files. ... When I suggest narrowing the cohesiveness of the big ...
    (comp.lang.java.programmer)
  • Re: Using mandatory libraries (custom class loading vs. expanding libraries)
    ... libraries via the Class-Path manifest entry. ... distribution JAR file by putting the libs *inside* the JAR, ... "The Class-Path header points to classes or JAR files on the local ...
    (comp.lang.java.programmer)
  • JACL HOWTO - loading tcl procedures dynamically from jar files under java.
    ... to dynamically load procedures from jar files. ... Eg send an email with javamail.tcl using java mail class libraries ...
    (comp.lang.tcl)