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.
License
BSD LicenseFollow One-JAR(TM)
Other Useful Business Software
Easily engage and manage non-desk employees with Connecteam’s mobile-first platform that helps improve communication, enhance daily processes and increase productivity with custom checklists, forms, and reports.
Schedule shifts and track accurate work hours with Connecteam’s automated GPS time clock and easily export approved timesheets to payroll. Connecteam helps you keep your employees sharp thanks to knowledge base centers and advanced training courses. Raise morale with employee recognition rewards and keep the entire company updated through the main news feed.
Rate This Project
Login To Rate This Project
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.
-
Thanks for good program!