Open gdiazs opened 1 year ago
Hi @gdiazs,
This issue has previously been brought to our attention regarding the Eclipse Plugin and Apple M1 hardware specifically.
Apple M1 devices currently aren't supported, as unfortunately at this time we do not have the resources to test or reproduce bugs on Apple M1 hardware.
If there is a large desire from the community to have Apple M1 hardware support on Payara and the Payara Ecosystem, we may re-review this. Alternatively if you wish you can submit a PR with a fix, we always encourage you to contribute!
Best Regards, James
@JamesHillyard thanks for answering.
It's a shame M1 is not under support yet, it eventually will I guess...
I'll try to see if there is something I can do if so, I'll come back with a PR, in the mean time will try to compile the plugin on the M1 and see what's happen https://github.com/payara/ecosystem-eclipse-plugin
To me it has to do with this: osgi.native
but no idea, haven't work on eclipse plugins before so no idea how to start, thanks anyways.
Hi @gdiazs,
As identified by mwnorman on the Payara forum - Eclipse Tools on M1 Payara Eclipse Tools uses Sapphire XML Support which brings in the old JNA that does not work on M1 Macs. If you wish to submit a PR this may be a good place to start.
I have recently rewritten the build instructions for the Eclipse Plugin, however they haven't been published yet, so if you are unable to build the project I will happily provide the updated build instructions.
Thank you for your understanding, James
Hello, Yes it's exactly what mwnorman said. I managed to run a build and got this: out.log
Sorry for my ignorance, I did a quick review on the way the build is done I'm not familiar with Corundum which I guess is for automate the build and release process.
Regarding Corundum I couldn't find documentation googling. Is there something I can use as guidece so I can understand how the libraries versions are being update? (comming from Maven and Gradle world) so not sure how eclipse plugins manage dependencies (thanks in advance in case you can provide more info about this).
And.. I found some files: https://github.com/payara/ecosystem-eclipse-plugin/tree/master/releng/corundum-src/resources so wondering if latest eclipse platform versions has support for JNA on M1 chips from repos.
Hi @gdiazs,
My apologies for the long silence on this, internally we have been evaluating how we are going to fix this, we have also encountered other issues within the Eclipse plugin which we wish to resolve. This has ultimately lead us to the decision we will rewrite and modernise the Eclipse IDE plugin, I have noted internally that an aim of this rework will also include Apple M1 compatibility.
There currently is no ETA for this improvement, but we will address this in the future.
Best Regards, James
OS: macOS 12.4, M1 Chip JDK Temurin jdk-11.0.15+10 aarch64
eclipse (any latest version from official page) Version: 2022-06 (4.24.0) Build id: 20220609-1112
logs: