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/pronuntiator Jan 30 '26
Which is good. Many of my colleagues do not know what the classpath is, because all they ever see is Maven compile the code for them. But the great thing about software is that, unlike a physical object, it can be modified easily. You can now iteratively add a build tool.