One-JAR(TM) is a simple solution to a vexing problem in Java: how to distribute an application as a single jar-file, when it depends on multiple other jar-files. One-JAR uses a custom classloader to discover library jar files inside the main jar.

Project Activity

See All Activity >

License

BSD License

Follow One-JAR(TM)

One-JAR(TM) Web Site

nel_h2
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
14
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5

User Reviews

  • After dealing with useless JAR files created by supposedly-professional quality IDEs, I found One-JAR. At this point, I had abandoned the non-functional IDEs, the ANT/MAVEN/GRADLE plugins that didn't work in mysterious and difficult-to-debug ways, and pretty much everything beyond the raw JAVA command line tools (which, although they did not do what I wanted, at least did what they said they did). I followed the command line instructions. They are a little out of date (there is no 'boot-manifest.mf' file to edit, so it must be created, there is no 'src' directory to delete, the Java 11 tools ignore the existing MANIFEST.MF so the boot-manifest.mf file needs to specify "Main-Class: com.simontuffs.onejar.Boot" as well, and there's some leftover cruft from testing / development that is unJARed into the root directory). All of that was straightforward enough to figure out, and alter appropriately. And it works. I have a single jar file that runs my application, which is what I wanted four days ago. Thank you, Simon, for this project. Thank you very much!
  • Does its job really good, hope it is still under active maintenance (developement)
  • The One-Jar approach is fairly easy to implement and makes it very easy to distribute applications to users.
  • One-jar works wonderful.
    1 user found this review helpful.
  • Thanks for good program!
    1 user found this review helpful.
Read more reviews >

Additional Project Details

Languages

English

Intended Audience

Developers

Programming Language

Java

Related Categories

Java Build Tools, Java Installers

Registered

2004-06-04