How about having a Clojure application 'package' set up a launcher
script to launch the app with a minimal classpath, Leiningen style,
based on some assumption regarding the whereabouts of versioned jars
on the system? (E.g. jline-0.9.94.jar rather than jline.jar, say.)

That seems to me to be preferrable by far to just dropping the whole
of /usr/share/java & /usr/lib/java (for Ubuntu, or the equivalent for
other platforms) on the classpath and then hoping that there are no
incompatible versions of the same jars on the monster classpath this
produces.

Note that it will never do to have dependencies handled by a system
which isn't capable of installing several versions of the same jar
side-by-side... I don't know what apt / rpm / ports do about Java lib
versioning, so maybe there's no problem here?

Sincerely,
Michał

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

Reply via email to