I'm working on a Java 11 project from a windows 7 machine. I have compiled my project, which functions. I have built that functioning code into a jar, which opens on double click and from commandline from my windows 7 machine. It opens similarly well on a windows 10 box I have access to, as well as a mac I was able to procure for testing.
This means the issue does not reside in manifest being malformed, because it would not execute at all if such was the case.
The software has reached the point where I'm ready for integration testing and review by the client of a release candidate, but when I deployed via the constructed jar - which again functions on some machines (including macs) without issue, theirs declares that the jar could not be opened, and to check the console for possible errors. This is a GUI app, coded in Swing. Executing the same jar from a terminal setting on the same machine functions as expected.
The issue is that the client is so technologically illiterate that I had to physically go to their location and show them how to install the latest Java, and terminal use seemed to frighten them. I was unable to coerce the jar into launching via a bash script either, but that may just be my inexperience in writing them from scratch.
So my question is this:
What needs to be changed on their machine to allow this to open on a simple double-click, or what needs to change with the .jar to allow such?
Complications:
javapackager is no longer included in the JDK, as it appears to have been deprecated. Mac's app builder appears to require you already have a mac to build it on. I would likely be required to go to the client's physical location again to implement any fixes if I can't make them very easy to perform. I do not know what version of mac they are using, as I did not think to look while I was there, and they were unable to answer when I asked.