r/javahelp • u/case_steamer • Jan 29 '26
Solved How do I ship?
Repo here: https://github.com/case-steamer/Librarian
I have my file manager program the way I want it now. It's ready to ship. I've spent the last two days monkeying around and trying to figure out how to ship it, either as a jar or a jpackage. And I have no idea what to do. I realize I have screwed myself by not using a build system, but it's too late to change that now. I'm a self-taught noob, so I'm just learning as I go. So lesson learned. I just need to know where to go from here.
So here's my questions:
How do I write a manifest?
What do I need to declare in the manifest?
Where does it go in the file structure?
Is there a way to retroactively migrate this project to Maven, or is that actually necessary?
When I try to make a jar file, it says the image files are null. I have the resources folder inside local.work folder/package, you can't see it in the repo because I have the resources folder ignored in the .gitignore. Do I need to make it visible to git or something? Why can't the jvm see the image(png) files?
Any other questions that I don't know that I need answers to?
Thanks for any and all help.
View all comments
Show parent comment
1
u/bigkahuna1uk Jan 30 '26
I see your point but that scenario in my own personal experience was mitigated by using tools like Dependabot. The vulnerabilities introduced by using particular libraries was highlighted early as part of our CD process so rather than retroactively searching for rogue dependencies, this were discovered early in the development cycle. New releases were made to remove or update libraries with those security vulnerabilities. I do see your point that it could be finding a needle in a haystack if we did not have tools to proactively check for vulnerabilities before the application was packaged for deployment.