Replies: 3 comments 5 replies
-
Here's what I did to investigate. Installed your app, then tried to run it from the command line:
This indicates that your app probably depends on a different version of Java than you have specified. So you either need to set javaVersion to 8, or you need to include the JAXB dependencies in your app. In maven, this would mean adding something like this to your pom.xml file:
|
Beta Was this translation helpful? Give feedback.
-
Interesting All of the demos work fine for me (on Ventura), but I don't have any Sonoma test boxes yet. What happens when you try to run SwingSet via the command-line the way I described above? |
Beta Was this translation helpful? Give feedback.
-
All of the packages are installed in I notice that your e.g.
Try changing your build so that you bundle your dependent jars at the same level or below your app jar. E.g.
Not currently, unless you embedded it in your installer image. You could include such an EULA the first time your app is launched (e.g. embed that stuff in the app itself). |
Beta Was this translation helpful? Give feedback.
-
I have an application consisting of a main jar in dist/app.jar and some jars it depends on in the dist/lib/ directory. I was using jpackage to create native installers and was hoping to move to jDeploy to solve my update problem.
I followed the developer guide and created an npm account and used the jDeploy GUI - started from my project's directory - to publish my application. The app deploys successfully. I then go to the download page and click on the Apple Silicon .app download button. This causes a tar file to be downloaded and then extracted. When I open the installer in the extracted directory, I briefly see a splash screen with my application's title - and then the installer seems to exit. I don't see any error messages in my Terminal when doing so. I have no idea what's going on. Is there a location where the installer writes any logging messages that can help me figure out what's going on?
Independently, does jDeploy have any provisions for specifying a EULA like jpackage? I.e. My app is a commercial one, so I want the user to agree to terms of use before installing the app. The jDeploy GUI has a free-form"License" text field that defaults to "ISC". Not knowing what the options are, I changed that to "Commercial" - but that's not really sufficient.
Many thanks for all information.
Here's the link to the download page in case that helps
https://www.jdeploy.com/~satriage
Follow-up: I just tried a couple of the demos (e.g. SwingSet2) and those do the same thing!?! Could it be the fact that I'm running macOS 14 (Sonoma) beta?
Beta Was this translation helpful? Give feedback.
All reactions