-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App doesn't run on MacOS #141
Comments
files.zip |
Hi! /Applications/javafx-demo.app/Contents/Home/MacOS/universalJavaApplicationStub |
If when you run your app from command line, you see something like Solution 1: pass
|
I anticipated the situation 😅 ... please, try what I explained above. |
According to your suggestion, the application can be installed and opened normally. Why? |
Did it work?
If you mean the 2nd solution, it's a trick 😅 . I'm not sure, I discovered it by accident, but I guess it has to do with the ClassLoader. |
This question is asked a lot here, but it really has nothing to do with JavaPackager... Please, could you share your project to use as an example for future users? It would allow me to improve the documentation of the project for those who develop JavaFX apps. |
Happy to help! I'm sure it works in any environment 😄 |
Hi, I still have some questions to ask you. Most of my customers use windows. How can I generate a complete one click installation package like DMG / PKG? The customer's computer may not install JRE environment. Please help me if there are examples |
I found an explanation ... follow this link. |
You have to generate an EXE installer (setup) or a MSI file, so your customers can easily install your app. You also can bundle a customized JRE (reduced/optimized) with your app, so your customers don't need to have Java installed on their systems. JavaPackager uses Inno Setup to generate EXE installers and WiX Toolset to generate MSI files, so that if you need these installation artifacts, you have to package your app from a Windows system. If you don't need the EXE installer or MSI file, JavaPackager can generate a portable (compressed) application from MacOS for Windows. You just have to give JavaPackager the path to a Windows JDK. The portable version may also include a JRE, but users must unzip your application before they can use it. |
Thank you! |
I'm submitting a…
Short description of the issue/suggestion:
Steps to reproduce the issue/enhancement:
What is the expected behavior?
What is the current behavior?
Do you have outputs, screenshots, demos or samples which demonstrate the problem or enhancement?
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
java version "17.0.1" 2021-10-19 LTS
Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.1+12-LTS-39, mixed mode, sharing)
Other information (e.g. related issues, suggestions how to fix, links for us to have context)
Originally posted by @fvarrui in #140 (comment)
The text was updated successfully, but these errors were encountered: