Luigi is a passionate software developer working in Java since 2000. In 2001 he co-founded the Java User Group Torino, the first local JUG in Italy. Quickly after that, many other JUGs have born in Italy following JUG Torino's example. Since some years now, he is working as free lance software consultant between Italy, Germany, UK and Switzerland, on several industries. His personal interests include software, science fiction books and movies, traveling, photography and good food. Luigi is a DZone MVB and is not an employee of DZone and has posted 19 posts at DZone. You can read more from them at their website. View Full User Profile

Self executing jar files

04.17.2012
| 1415 views |
  • submit to reddit
 Instead of providing a jar file and a bash/batch script which execute the jvm, it would be nice if we could provide a self contained executable in a single file. Here there is a simple nasty trick which -surprisingly- really works!
0
Published at DZone with permission of Luigi Viggiano, author and DZone MVB.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Luigi Viggiano replied on Tue, 2012/04/17 - 4:59pm

I forgot to mention the article URL: http://en.newinstance.it/2012/04/17/self-executing-jar-files/

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.