Over a million developers have joined DZone.

Self executing jar files

DZone's Guide to

Self executing jar files

Free Resource
 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!

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}