In Java 6 you can do a wildcard for jar files in a directory:

java -cp /opt/jars/*:. clojure.main

this will find all the jar files in /opt/jars/ and put them on the classpath.

On Sun, Jun 21, 2009 at 9:10 PM, Wilson MacGyver<[email protected]> wrote:
>
> Hi,
>
> Does clojure have any way to handle jar loading without having to
> specify it in command line?
>
> I'm looking for something like groovy, where if you place a jar file
> in ~/.groovy/lib. it's
> available to any groovy code.
>
> Thanks
>
> --
> Omnem crede diem tibi diluxisse supremum.
>
> >
>



-- 
Chris Wilson <[email protected]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

  • jar handling Wilson MacGyver
    • Re: jar handling Christopher Wilson

Reply via email to