-
Notifications
You must be signed in to change notification settings - Fork 60
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
JAVAFX on M1 Silicon #112
Comments
Just curious as to why this was closed? Doesn't seem like this plugin works on M1. |
This is a JavaFX related error. |
The issue was closed by the OP, so not sure if he managed to fix it. |
I still get the same error. |
Switched to version 17-ea+8, ran mvn clean install, refreshed project, then tried to run javafx with mvn javafx:run. Still not working. UPDATE |
@FelipeAumannRS What do you mean removing "mac" from every dependency? |
org.openjfx has multiple dependencies, to name a few, javafx-fxml, javafx-media, javafx-base, javafx-controls, etc. It is possible to classify every dependency OS like that:
After removing the classifier, javafx started running on M1 silicon without any issues |
The plugin is designed to correctly resolve current operating system/cpu architecture actually. So there is no need to specify a classifier. Transitive dependencies are also automatically resolved. |
Is it working now in Mac M1? |
@anhminh10a2hoa sure it is! I'm using the latest stable version "20.0.2" on production No configuration is necessary, simply add the dependency and you're good to go. Here's an example:
|
I tried to run a dxml file and got the following error:
Is there any solution?
The text was updated successfully, but these errors were encountered: