On Mon, 21 Jun 2010 12:42:47 -0500, Paul Moore <p.f.mo...@gmail.com> wrote:

The common way of running Java applications (and hence Clojure code)
on Windows seems to be to use a batch file wrapper (for example,
lein.bat for Leiningen). It seems to me that there are a number of
issues with this:
[...]
Before I spend time trying to solve a problem that the Java community
turns out to have solved years ago ...

For simple-and-quick, make an "executable jar" by adding a META_INF/Manifest.mf
file which calls out the main entry point to the app; then it runs with a
double-click ('lein uberjar' might already do this?)

For slightly prettier and distributable, make a .jnlp file that lists
jar dependencies, icon, etc.; then download/running the .jnlp installs the app
to your machine.  You don't see this too much, but it works okay for the
basic "install a java app" use case... I think by the time it was finally
possible, a lot of people didn't really care any more.  Still, it's better
than nothing.


--
Kevin Kelley

--
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