Open 1030852813 opened 1 year ago
So none of those files exist on maven, however each file without "-aarch64" does exist. Anybody have any ideas on where the "-aarch64" comes from or how to get rid of it ?
As far as I understand it, it is as follows: Mac M1 (and newer) are arm based processors. These need specially adapted JavaFX dependencies, i.e. there are now JavaFX dependencies for intel-based Macs as well as arm-based Macs. Support for M1 was first added with JavaFX 17. These dependencies have the classifier mac-aarch64
. If you want to add them explicitly (though this should not be necessary), you could do that as follows (maven snippet):
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<version>17</version>
<classifier>mac-aarch64</classifier>
</dependency>
So, in order to run the demos on an M1-based Mac, it should be enough to switch from JavaFX 11 to JavaFX 17.
The error shows up when running demos. I am using M1 chip and the following links are not found:
Execution failed for task ':richtextfx-demos:configJavafxRun'.