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)
You Might Also Like
Our computer monitoring software allows employees, field contractors, and freelancers to manually clock in when they begin working on an assignment. The application will take screenshots randomly or at set intervals, which allows employers to observe the work process. The application only tracks activity when the employee is clocked in. No spying, only transparency.
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!