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
$300 Free Credits for Your Google Cloud Projects
Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
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!