-
Notifications
You must be signed in to change notification settings - Fork 19
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
Figure out how to create distributions for Windows, Linux, and MacOS on any system #282
Comments
Addressing #57 using |
Attempted to use
The one I generated on Windows gave:
Could switch focus to creating a .jar and figuring out how to include the right OpenJFX libraries, but this seems like a step backwards. Hoping we can just get jpackage working (issue #57) sometime in the near future to handle this (e.g. once we move to JDK 13 or 14). In the meantime, we'll just need to generate each image on its native OS.
|
Strange caveat to note: after creating jlink on Linux, the file size was huge. I had to unzip, then run: Found out about this here: docker-library/openjdk#217 |
Versions created using Gradle's
distZip
orjlink
tasks are platform-specific due to the way JavaFX libraries are downloaded. If you try to run a version built on a Mac in Windows or Linux, for example, you get:It should be possible to set up a separate zip dist for each OS even without actually being on that OS by doing something synthesized from the following:
targetPlatform
method forjlink
here: https://badass-jlink-plugin.beryx.org/releases/latest/#_methodsSee also:
The text was updated successfully, but these errors were encountered: