On Oct 14, 10:04 am, Asbjørn Bjørnstad <[EMAIL PROTECTED]> wrote: > On Oct 2, 10:23 pm, Pascal <[EMAIL PROTECTED]> wrote: > > > > > Hi all, > > > for Michael Beauregard, > > > > Is there a reason why setting the "Main-Class" field in the jar's manifest > > > doesn't work. > > > It work, and since the manifest had to be edited to set the Class-Path > > why not set correctly the Main-Class ? maybe if my main class would > > be called "Main" instead of "Launcher" it will be automatic. > > But still, the Class-Path is needed so I changed the manifest. > > > > I'm surprised that any code has to be written at all for this work. > > > ... > > > I've used this before and I think that the launcher (in Windows at least) > > > would execute: java -jar %f > > > Exactly and it work! but to be able to click on a "jar" > > you must *have* a jar, something that was not by default in Clojure > > since you cannot compile ahead into a jar. > > So it is not possible to put the clj files into the jar so that no > unzipping > is neccessary? I tried, but my java/jar knowledge is basically zero. > -- > -asbjxrn
I put together an quick tutorial of how I made an executable jar for an example "Hello World" app in Clojure. Suggestions welcome. http://rpdillon.googlepages.com/creatingexecutablejarswithclojure Cheers, Rick --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---