Open sebouh137 opened 3 years ago
There's an option to include the JRE in the bundle. That may be why it's not working. (I'm just guessing here, but it may be worth a try.)
You would need to add something like this to your pom.xml: <jrePath>${env.JAVA_HOME}/../..</jrePath>
It goes inside plugins/plugin/configuration/
Apps build on os X, will only run on the local machine. To be able to run apps on other machines, the app needs to be signed and notarized using an Apple Developer ID and certificates. An Apple developer account costs 99$, but there are also more expensive plans.
I have created an app using this plugin and when I compile it on my mac using maven, it runs fine on my mac. However, if I compile it using mvn on the server where I make it available online, and then try to run it on my mac, I get the following error message:
"WorldJam" is damaged and can’t be opened. You should move it to the Trash. Safari downloaded this file today at 2:12 PM from [url of the server I put it on]
(WorldJam is the name of the program
How do I prevent this problem, and create a copy of the app that can be opened on a mac that is not necessarily the one that it was compiled on?