Skip to content
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

Runing Pattypan on Mac devices with a M1 processor requries manual loading of OpenJFX #158

Open
Abbe98 opened this issue Feb 8, 2022 · 5 comments
Labels

Comments

@Abbe98
Copy link
Collaborator

Abbe98 commented Feb 8, 2022

Turns out that the x64 version of OpenJFX is incompatible with M1 devices, the aarch64 version works but is instead incompatible with x64 devices.

As it is currently we can support M1 or x64 but not both.

To investigate:

The current workaround is to install and load OpenJFX manually.

@Abbe98 Abbe98 added the (bug) label Feb 8, 2022
@Abbe98
Copy link
Collaborator Author

Abbe98 commented Feb 8, 2022

Reported by @Ambrosiani in #154.

@fuzheado
Copy link

fuzheado commented Feb 8, 2022

@Abbe98 Do you know how it's invoked? There is a utility on the Mac that allows you to select the architecture, but I'm not sure if it's relevant here. I'm not familiar with Java packaging.

On an M1 Mac, you can use this to run programs in Intel x86 mode, so I'm not sure if this helps:
$ arch -x86_64 /bin/bash

@fuzheado
Copy link

fuzheado commented Feb 9, 2022

I spent about a half hour looking into how others might have addressed similar issue with JAR packaging M1 and x86 modules. I'm not experienced in this matter, but in case it might be useful this looked like a use case that was close to what we are dealing with.

https://github.com/dlemmermann/JPackageScriptFX

@psubhashish
Copy link

psubhashish commented Mar 1, 2023

Pattypan v22.03 did not open for an Intel Mac. v22.02 did open and even created a spreadsheet. But it failed upon running. (see below screenshot)

pattypan-error

@psubhashish
Copy link

Update: I was suspecting the wikitext in my spreadsheet and made some changes. It seems to be working. Again, v22.02 is working and pattypan 22.03 is not, for an Intel Mac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants