One-JAR lets developer package a Java application together with its dependency Jars into a single executable Jar file.
One-JAR provides custom classloader that knows how to load classes and resources from a jars inside an archive, instead of from jars in the filesystem. It discovers dependency jar files based on the internal structure of the archive, there is no custom code required to do this. One-JAR archives can be constructed using Ant or Maven2. Application can be run using command: java -jar my-app.jar
.