Bug 565690 - Support Mac with Apple silicon
Summary: Support Mac with Apple silicon
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.17   Edit
Hardware: PC Mac OS X
: P3 normal with 12 votes (vote)
Target Milestone: 4.20   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
: 568976 (view as bug list)
Depends on: 565887 570081 570463 570540 572096 572113 572115 572515 572795 572799
Blocks:
  Show dependency tree
 
Reported: 2020-07-30 03:24 EDT by Lakshmi P Shanmugam CLA
Modified: 2021-09-20 06:37 EDT (History)
36 users (show)

See Also:


Attachments
I20210214-0600 build log on m1 mac (1.02 MB, application/octet-stream)
2021-02-16 21:46 EST, Janboe Ye CLA
no flags Details
eclipse-swt-aarch64.png (386.75 KB, image/png)
2021-04-08 09:12 EDT, Holger Staudacher CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lakshmi P Shanmugam CLA 2020-07-30 03:24:41 EDT
This is the top level bug to track SWT support for Macs with Apple silicon. 

According to https://www.apple.com/newsroom/2020/06/apple-announces-mac-transition-to-apple-silicon/ they will be available by this year end.

Relevant links with more details:
https://developer.apple.com/documentation/apple_silicon
https://developer.apple.com/documentation/xcode/porting_your_macos_apps_to_apple_silicon

From https://developer.apple.com/documentation/xcode/building_a_universal_macos_binary: 
"Native apps run more efficiently than translated apps because the compiler is able to optimize your code for the target architecture. An app that supports only the x86_64 architecture must run under Rosetta translation on Apple silicon. A universal binary runs natively on both Apple silicon and Intel-based Mac computers, because it contains executable code for both architectures."

So, the x86_64 libraries will mostly work on Apple silicon initially. But, using universal binaries will be more efficient. 
The SWT libraries have to be compiled as universal binaries for arm64 architecture using XCode 12.
Comment 1 Mike Wilson CLA 2020-07-30 07:33:17 EDT
I think it would be a significant win if we could get a Developer Transition Kit to work on the universal binary, so it's cool that Apple is showing interest in Eclipse.
Comment 2 Lakshmi P Shanmugam CLA 2020-08-04 04:04:24 EDT
I checked the Universal App Quick Start Program for the DTK - https://developer.apple.com/programs/universal/

From the link:
"As part of the program, you’ll have limited access to a Developer Transition Kit (DTK), which will be shipped to you, for developing and testing your Universal apps. The DTK is owned by Apple and must be returned."

Under Eligibility, I see that currently India is not a eligible region.
Comment 3 Eclipse Webmaster CLA 2020-08-10 15:53:02 EDT
We have engaged with Apple to try and obtain access via our current cloud based Mac provider, which will hopefully allow us to simply add it as another build agent.  

Depending on how that goes, we may have to try and get actual silicon.

-M.
Comment 4 Mikaël Barbero CLA 2020-11-17 11:59:00 EST
I'll add the DTK as an headless agent by the end of the week.
Comment 5 Liviu Ionescu CLA 2020-11-18 10:27:44 EST
What is the current plan, to build separate binaries, or to make the binaries multiplatform (AArch64 and X86_64)?
Comment 6 Mikaël Barbero CLA 2020-11-20 08:41:00 EST
(In reply to Mikaël Barbero from comment #4)
> I'll add the DTK as an headless agent by the end of the week.

Unfortunately, I've had connectivity issue with the DTK. I've engaged with the cloud provider. I'll try again early next week.
Comment 7 Matthias Becker CLA 2020-11-26 08:05:00 EST
(In reply to Mikaël Barbero from comment #6)
> (In reply to Mikaël Barbero from comment #4)
> > I'll add the DTK as an headless agent by the end of the week.
> 
> Unfortunately, I've had connectivity issue with the DTK. I've engaged with
> the cloud provider. I'll try again early next week.

Is it working in the meantime?
Comment 8 Mikaël Barbero CLA 2020-11-26 08:06:09 EST
No, sorry, I did not get the time to work on it yet.
Comment 9 Lakshmi P Shanmugam CLA 2020-12-01 06:58:58 EST
*** Bug 568976 has been marked as a duplicate of this bug. ***
Comment 10 Mikaël Barbero CLA 2020-12-01 07:20:08 EST
I got an update from our cloud provider earlier this morning. I'll try again setting this up today.
Comment 11 Mikaël Barbero CLA 2020-12-01 07:34:47 EST
No luck so far. I've reported the issue back again to cloud provider.
Comment 12 Lakshmi P Shanmugam CLA 2020-12-04 07:29:47 EST
Hi Mikael, any updates on this?
Comment 13 Mikaël Barbero CLA 2020-12-09 12:13:51 EST
DTK is now connected to Jenkins' releng: https://ci.eclipse.org/releng/computer/6m8ka-macos11-a12z/

You tie jobs to it via the labels:
apple-silicon
macos-11
macos-dtk
Comment 14 Lakshmi P Shanmugam CLA 2020-12-16 05:04:29 EST
(In reply to Mikaël Barbero from comment #13)
> DTK is now connected to Jenkins' releng:
> https://ci.eclipse.org/releng/computer/6m8ka-macos11-a12z/
> 
> You tie jobs to it via the labels:
> apple-silicon
> macos-11
> macos-dtk

Thank you Mikael! 
Is there a way to access the UI?
Comment 15 Mikaël Barbero CLA 2020-12-16 05:54:07 EST
(In reply to Lakshmi P Shanmugam from comment #14)
> Thank you Mikael! 
> Is there a way to access the UI?

No, it's for headless build only.
Comment 16 Sravan Kumar Lakkimsetti CLA 2021-02-15 07:35:47 EST
With rosetta translator one cannot mix arm 64 and x86_64 modules(see: https://developer.apple.com/documentation/apple_silicon/about_the_rosetta_translation_environment?language=objc). 

To run arm64 port for Mac we will need JVM to support arm64(see: https://openjdk.java.net/jeps/391)

With JEP 391 pending this support may get delayed.
Comment 17 Lakshmi P Shanmugam CLA 2021-02-15 07:53:57 EST
(In reply to Sravan Kumar Lakkimsetti from comment #16)
> With rosetta translator one cannot mix arm 64 and x86_64 modules(see:
> https://developer.apple.com/documentation/apple_silicon/
> about_the_rosetta_translation_environment?language=objc). 
> 
> To run arm64 port for Mac we will need JVM to support arm64(see:
> https://openjdk.java.net/jeps/391)
> 
> With JEP 391 pending this support may get delayed.

Eclipse/SWT support for Mac arm64 is not dependent on JEP 391. It's possible to run a macOS/x64 build of the JDK on arm64 Mac, the JEP also states that.
Comment 18 Anand Navale CLA 2021-02-15 08:03:12 EST
(In reply to Sravan Kumar Lakkimsetti from comment #16)
> With rosetta translator one cannot mix arm 64 and x86_64 modules(see:
> https://developer.apple.com/documentation/apple_silicon/
> about_the_rosetta_translation_environment?language=objc). 
> 
> To run arm64 port for Mac we will need JVM to support arm64(see:
> https://openjdk.java.net/jeps/391)
> 
> With JEP 391 pending this support may get delayed.

Sorry if I am jumping into an internal conversation. However we are keen to have the Eclipse SWT support on macOS arm64 that's why feel it necessary. And hopefully it helps.

Azul has provided Zulu community builds of OpenJDK for macOS arm64 (https://www.azul.com/downloads/zulu-community/?os=macos&architecture=arm-64-bit) which you may want to check out.
Comment 19 Sravan Kumar Lakkimsetti CLA 2021-02-16 01:02:16 EST
(In reply to Lakshmi P Shanmugam from comment #17)
> (In reply to Sravan Kumar Lakkimsetti from comment #16)
> > With rosetta translator one cannot mix arm 64 and x86_64 modules(see:
> > https://developer.apple.com/documentation/apple_silicon/
> > about_the_rosetta_translation_environment?language=objc). 
> > 
> > To run arm64 port for Mac we will need JVM to support arm64(see:
> > https://openjdk.java.net/jeps/391)
> > 
> > With JEP 391 pending this support may get delayed.
> 
> Eclipse/SWT support for Mac arm64 is not dependent on JEP 391. It's possible
> to run a macOS/x64 build of the JDK on arm64 Mac, the JEP also states that.

From https://developer.apple.com/documentation/apple_silicon/about_the_rosetta_translation_environment?language=objc
------
Important

The system prevents you from mixing arm64 code and x86_64 code in the same process. Rosetta translation applies to an entire process, including all code modules that the process loads dynamically.
------

This rules out usage of arm64 based swt native libraries on Rosetta translated x86_64 JVM.

In JEP 391 there are changes to to support new Application Binary Interface and changes to memory access. Without those changes I have my doubts in claiming support on MacOS Arm64 port.
Comment 20 Janboe Ye CLA 2021-02-16 21:46:32 EST
Created attachment 285574 [details]
I20210214-0600 build log on m1 mac
Comment 21 Janboe Ye CLA 2021-02-16 21:47:41 EST
(In reply to Janboe Ye from comment #20)
> Created attachment 285574 [details]
> I20210214-0600 build log on m1 mac

it built failure. Please help to check how to fix it.

Thanks
Comment 22 Neil Bartlett CLA 2021-02-26 04:34:45 EST
(In reply to Sravan Kumar Lakkimsetti from comment #19)
> (In reply to Lakshmi P Shanmugam from comment #17)
> > (In reply to Sravan Kumar Lakkimsetti from comment #16)
> > > With rosetta translator one cannot mix arm 64 and x86_64 modules(see:
> > > https://developer.apple.com/documentation/apple_silicon/
> > > about_the_rosetta_translation_environment?language=objc). 
> > > 
> > > To run arm64 port for Mac we will need JVM to support arm64(see:
> > > https://openjdk.java.net/jeps/391)
> > > 
> > > With JEP 391 pending this support may get delayed.
> > 
> > Eclipse/SWT support for Mac arm64 is not dependent on JEP 391. It's possible
> > to run a macOS/x64 build of the JDK on arm64 Mac, the JEP also states that.
> 
> From
> https://developer.apple.com/documentation/apple_silicon/
> about_the_rosetta_translation_environment?language=objc
> ------
> Important
> 
> The system prevents you from mixing arm64 code and x86_64 code in the same
> process. Rosetta translation applies to an entire process, including all
> code modules that the process loads dynamically.
> ------
> 
> This rules out usage of arm64 based swt native libraries on Rosetta
> translated x86_64 JVM.
> 
> In JEP 391 there are changes to to support new Application Binary Interface
> and changes to memory access. Without those changes I have my doubts in
> claiming support on MacOS Arm64 port.

I don't believe that JEP 391 is a precondition for supporting Eclipse/SWT natively on M1 Apple machines. You point out that Rosetta does not allow mixing x86_64 and arm64 code, and that's true but not relevant. If the JRE is arm64 then Rosetta is not needed. We simply require that all binaries (including the SWT dylibs) to be compiled for arm64.

I have been working on a non-Eclipse Java application that includes native libraries. We just got it fully working on Azul's Zulu Java 11 build for arm64 along with arm64 dylibs for our native components.

Eclipse may or may not be able to ship Azul's arm64 builds with Eclipse; that's a legal question that I'm not qualified to comment on. But shipping Eclipse without a Java runtime was the standard practice for over a decade. RCP application authors can still choose whether to ship a JRE with their app.

We really just need the arm64 dylibs for SWT.
Comment 23 Sravan Kumar Lakkimsetti CLA 2021-02-26 04:38:10 EST
(In reply to Neil Bartlett from comment #22)

> We really just need the arm64 dylibs for SWT.

Please try using https://download.eclipse.org/eclipse/downloads/drops4/I20210226-0220/download.php?dropFile=swt-I20210226-0220-cocoa-macosx-arm64.zip. 

We have been building arm64 dylibs from quite sometime.
Comment 24 Neil Bartlett CLA 2021-02-26 04:46:26 EST
(In reply to Sravan Kumar Lakkimsetti from comment #23)

> We have been building arm64 dylibs from quite sometime.

Thanks I wasn't aware! This could definitely help me as an RCP author. With consumer M1 machines now available, I have customers asking when I will release a native edition :-/
Comment 25 Sravan Kumar Lakkimsetti CLA 2021-02-26 05:06:16 EST
(In reply to Neil Bartlett from comment #24)
> (In reply to Sravan Kumar Lakkimsetti from comment #23)
> 
> > We have been building arm64 dylibs from quite sometime.
> 
> Thanks I wasn't aware! This could definitely help me as an RCP author. With
> consumer M1 machines now available, I have customers asking when I will
> release a native edition :-/

For RCP to work we need bug 570540 to get fixed. We will start on that once the 4.19 RC2 work is done by March 5.
Comment 26 Eclipse Genie CLA 2021-02-26 07:28:18 EST
New Gerrit change created: https://git.eclipse.org/r/c/www.eclipse.org/eclipse/news/+/176934
Comment 28 Lakshmi P Shanmugam CLA 2021-02-26 11:09:28 EST
The SWT libraries for Mac Arm64 are available for testing - https://download.eclipse.org/eclipse/downloads/drops4/S-4.19M3-202102171800/#SWT

It's marked as Early Access due to limited testing. Request the community to test and report any issues.
Comment 29 Thomas Singer CLA 2021-02-26 14:31:53 EST
So do I understand it correctly, that we would have to create different .app structures for x86_64 Macs and for M1 Macs? Or can both be unified in one bundle working on both platforms?
Comment 30 Neil Bartlett CLA 2021-02-26 15:51:12 EST
(In reply to Thomas Singer from comment #29)
> So do I understand it correctly, that we would have to create different .app
> structures for x86_64 Macs and for M1 Macs? Or can both be unified in one
> bundle working on both platforms?

At the moment it looks like there will have to be separate .app releases for the two architectures, principally because the JRE is a set of single-architecture binaries.

To create a universal app we would need both SWT and the JVM to be released as universal/fat binaries.

I believe it may be possible to reconstruct a universal binary from the corresponding x86_64 and arm64 pieces using the `lipo` tool. I'm going to be experimenting with that next week. But that's unlikely to be a production-ready solution.
Comment 31 Liviu Ionescu CLA 2021-03-13 03:54:24 EST
> there will have to be separate .app releases for the two architectures

Given that we already distribute separate Intel/Arm binaries for GNU/Linux, I don't think that doing it for macOS too would be a problem.
Comment 32 Mikaël Barbero CLA 2021-03-17 12:59:18 EDT
** Heads up **

Until now, the Eclipse Foundation has been benefiting from one DTK from Apple hosted at MacStadium. Apple is calling back the DTK they've been providing and we just received an email from MacStadium that they will pull off our instance this weekend. It means that the Apple Silicon agent won't be available anymore.

In order to get another Apple Silicon agent, the project has 2 solutions:

* The Eclipse project finds an EF member sponsoring a dedicated macos agent, and the Foundation will then setup a new machine like we did with the DTK (see https://wiki.eclipse.org/CBI#Additional_Resource_Packs for sponsoring details),

* The Eclipse project finds a company or an individual with an Apple Silicon machine connected to the internet and willing to connect it to the Jenkins controller https://ci.eclipse.org/releng for the project to use as an agent (see https://wiki.eclipse.org/Jenkins#Can_I_add_a_dedicated_agent_to_my_Jenkins_instance.3F for details about how such a dedicated agent is connected to the controller).
Comment 33 Sravan Kumar Lakkimsetti CLA 2021-03-18 00:06:16 EDT
(In reply to Mikaël Barbero from comment #32)
> ** Heads up **
> 
> Until now, the Eclipse Foundation has been benefiting from one DTK from
> Apple hosted at MacStadium. Apple is calling back the DTK they've been
> providing and we just received an email from MacStadium that they will pull
> off our instance this weekend. It means that the Apple Silicon agent won't
> be available anymore.
> 
> In order to get another Apple Silicon agent, the project has 2 solutions:
> 
> * The Eclipse project finds an EF member sponsoring a dedicated macos agent,
> and the Foundation will then setup a new machine like we did with the DTK
> (see https://wiki.eclipse.org/CBI#Additional_Resource_Packs for sponsoring
> details),
> 
> * The Eclipse project finds a company or an individual with an Apple Silicon
> machine connected to the internet and willing to connect it to the Jenkins
> controller https://ci.eclipse.org/releng for the project to use as an agent
> (see
> https://wiki.eclipse.org/
> Jenkins#Can_I_add_a_dedicated_agent_to_my_Jenkins_instance.3F for details
> about how such a dedicated agent is connected to the controller).

Thank you for the heads up. Before the machine is pulled out can you please setup latest version of Xcode (we need atleast 12) on https://ci.eclipse.org/releng/computer/b9h15-macos10.12/ other wise we have pull out mac arm64 builds.
Comment 34 Mikaël Barbero CLA 2021-03-18 04:48:58 EDT
(In reply to Sravan Kumar Lakkimsetti from comment #33)
> Thank you for the heads up. Before the machine is pulled out can you please
> setup latest version of Xcode (we need atleast 12) on
> https://ci.eclipse.org/releng/computer/b9h15-macos10.12/ other wise we have
> pull out mac arm64 builds.

Xcode 12 requires macOS 10.15.4. The agent is running macOS 10.12.6. Should I update it as well?
Comment 35 Matthias Becker CLA 2021-03-18 04:57:50 EDT
(In reply to Mikaël Barbero from comment #32)
> ** Heads up **
> 
> Until now, the Eclipse Foundation has been benefiting from one DTK from
> Apple hosted at MacStadium. Apple is calling back the DTK they've been
> providing and we just received an email from MacStadium that they will pull
> off our instance this weekend. It means that the Apple Silicon agent won't
> be available anymore.
> 
> In order to get another Apple Silicon agent, the project has 2 solutions:
> 
> * The Eclipse project finds an EF member sponsoring a dedicated macos agent,
> and the Foundation will then setup a new machine like we did with the DTK
> (see https://wiki.eclipse.org/CBI#Additional_Resource_Packs for sponsoring
> details),
> 
> * The Eclipse project finds a company or an individual with an Apple Silicon
> machine connected to the internet and willing to connect it to the Jenkins
> controller https://ci.eclipse.org/releng for the project to use as an agent
> (see
> https://wiki.eclipse.org/
> Jenkins#Can_I_add_a_dedicated_agent_to_my_Jenkins_instance.3F for details
> about how such a dedicated agent is connected to the controller).

Sorry for the maybe stupid question:
Does that mean we cannot create macOS 64bit builds / packages anymore?
Comment 36 Sravan Kumar Lakkimsetti CLA 2021-03-18 05:21:31 EDT
(In reply to Mikaël Barbero from comment #34)
> (In reply to Sravan Kumar Lakkimsetti from comment #33)
> > Thank you for the heads up. Before the machine is pulled out can you please
> > setup latest version of Xcode (we need atleast 12) on
> > https://ci.eclipse.org/releng/computer/b9h15-macos10.12/ other wise we have
> > pull out mac arm64 builds.
> 
> Xcode 12 requires macOS 10.15.4. The agent is running macOS 10.12.6. Should
> I update it as well?

yes please
Comment 37 Sravan Kumar Lakkimsetti CLA 2021-03-18 05:22:10 EDT
(In reply to Mikaël Barbero from comment #34)
> (In reply to Sravan Kumar Lakkimsetti from comment #33)
> > Thank you for the heads up. Before the machine is pulled out can you please
> > setup latest version of Xcode (we need atleast 12) on
> > https://ci.eclipse.org/releng/computer/b9h15-macos10.12/ other wise we have
> > pull out mac arm64 builds.
> 
> Xcode 12 requires macOS 10.15.4. The agent is running macOS 10.12.6. Should
> I update it as well?

yes please go ahead with the update.
Comment 38 Sravan Kumar Lakkimsetti CLA 2021-03-18 05:27:47 EDT
(In reply to Matthias Becker from comment #35)
> (In reply to Mikaël Barbero from comment #32)
> > ** Heads up **
> > 
> > Until now, the Eclipse Foundation has been benefiting from one DTK from
> > Apple hosted at MacStadium. Apple is calling back the DTK they've been
> > providing and we just received an email from MacStadium that they will pull
> > off our instance this weekend. It means that the Apple Silicon agent won't
> > be available anymore.
> > 
> > In order to get another Apple Silicon agent, the project has 2 solutions:
> > 
> > * The Eclipse project finds an EF member sponsoring a dedicated macos agent,
> > and the Foundation will then setup a new machine like we did with the DTK
> > (see https://wiki.eclipse.org/CBI#Additional_Resource_Packs for sponsoring
> > details),
> > 
> > * The Eclipse project finds a company or an individual with an Apple Silicon
> > machine connected to the internet and willing to connect it to the Jenkins
> > controller https://ci.eclipse.org/releng for the project to use as an agent
> > (see
> > https://wiki.eclipse.org/
> > Jenkins#Can_I_add_a_dedicated_agent_to_my_Jenkins_instance.3F for details
> > about how such a dedicated agent is connected to the controller).
> 
> Sorry for the maybe stupid question:
> Does that mean we cannot create macOS 64bit builds / packages anymore?

Its M1 processor builds that will get affected with this. We are trying to mitigate the problem by using cross compiler from Xcode 12.
Comment 39 Lakshmi P Shanmugam CLA 2021-03-18 07:27:47 EDT
(In reply to Mikaël Barbero from comment #34)
> (In reply to Sravan Kumar Lakkimsetti from comment #33)
> > Thank you for the heads up. Before the machine is pulled out can you please
> > setup latest version of Xcode (we need atleast 12) on
> > https://ci.eclipse.org/releng/computer/b9h15-macos10.12/ other wise we have
> > pull out mac arm64 builds.
> 
> Xcode 12 requires macOS 10.15.4. The agent is running macOS 10.12.6. Should
> I update it as well?

Opened Bug 572065 to install the required SDKs as well.
Comment 40 Matthias Becker CLA 2021-03-18 08:10:35 EDT
(In reply to Sravan Kumar Lakkimsetti from comment #38)
> Its M1 processor builds that will get affected with this. We are trying to
> mitigate the problem by using cross compiler from Xcode 12.

So is this answer a yes or no?
Comment 41 Sravan Kumar Lakkimsetti CLA 2021-03-18 08:20:54 EDT
(In reply to Matthias Becker from comment #40)
> (In reply to Sravan Kumar Lakkimsetti from comment #38)
> > Its M1 processor builds that will get affected with this. We are trying to
> > mitigate the problem by using cross compiler from Xcode 12.
> 
> So is this answer a yes or no?

mac x86_64 will not get affected.
Comment 42 Mikaël Barbero CLA 2021-03-19 11:14:02 EDT
https://ci.eclipse.org/releng/computer/b9h15-macos10.12/ has been upgraded to macOS 10.15
Comment 43 Mikaël Barbero CLA 2021-03-23 12:13:28 EDT
I've remove the DTK agent from the agents list as it has been unplugged during the week end.
Comment 44 Holger Staudacher CLA 2021-04-08 09:11:49 EDT
I tested the arm64 swt.jar a bit and finally was able to run eclipse full "apple" architecture with it. While using it for a while I noticed the images on SWT.PUSH buttons are not displayed correctly. Not sure if this is swt or the "hacked" eclipse integration. See screenshot attached. (eclipse-swt-aarch64.png)
Comment 45 Holger Staudacher CLA 2021-04-08 09:12:11 EDT
I tested the arm64 swt.jar a bit and finally was able to run eclipse full "apple" architecture with it. While using it for a while I noticed the images on SWT.PUSH buttons are not displayed correctly. Not sure if this is swt or the "hacked" eclipse integration. See screenshot attached. (eclipse-swt-aarch64.png)
Comment 46 Holger Staudacher CLA 2021-04-08 09:12:48 EDT
Created attachment 286061 [details]
eclipse-swt-aarch64.png
Comment 47 Holger Staudacher CLA 2021-04-08 09:36:30 EDT
I want to correct myself, the icons seem to work but the text alignment is off.
Comment 48 Holger Staudacher CLA 2021-04-08 10:02:20 EDT
Added a separate bug for the alignment issue, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=572696
Comment 49 Lakshmi P Shanmugam CLA 2021-04-08 10:40:20 EDT
(In reply to Holger Staudacher from comment #44)
> I tested the arm64 swt.jar a bit and finally was able to run eclipse full
> "apple" architecture with it. While using it for a while I noticed the
> images on SWT.PUSH buttons are not displayed correctly. Not sure if this is
> swt or the "hacked" eclipse integration. See screenshot attached.
> (eclipse-swt-aarch64.png)

Thanks for testing and the bug reports. I see this problem too, in Eclipse launched with the Java launcher (Bug 572115).
Comment 50 Lakshmi P Shanmugam CLA 2021-04-14 10:30:56 EDT
The Mac arm64 *Early Access* builds are now available for testing on the downloads page. 
The known issues are tracked by Bug 572797. Please try it out and report bugs and link to the root bug - Bug 572797.
Comment 51 Lakshmi P Shanmugam CLA 2021-04-14 10:31:46 EDT
(In reply to Lakshmi P Shanmugam from comment #50)
> The Mac arm64 *Early Access* builds are now available for testing on the
> downloads page. 
> The known issues are tracked by Bug 572797. Please try it out and report
> bugs and link to the root bug - Bug 572797.

https://download.eclipse.org/eclipse/downloads/drops4/I20210414-0330/
Comment 52 Eclipse Genie CLA 2021-05-03 08:29:28 EDT
New Gerrit change created: https://git.eclipse.org/r/c/www.eclipse.org/eclipse/news/+/180122
Comment 54 Lakshmi P Shanmugam CLA 2021-05-03 08:56:54 EDT
Resolving the plan item.

The Eclipse builds for Mac AArch64 are available on the downloads page - https://download.eclipse.org/eclipse/downloads/index.html

The Eclipse Mac Arm64 builds are now called Mac AArch64 and uses osgi.arch=aarch64 (Bug 572799)

Please note that a Mac AArch64 JVM is required to run Eclipse for Mac AArch64.

The known issues are tracked by Bug 572797. Please report bugs and link to the root bug - Bug 572797.
Comment 55 Thomas Singer CLA 2021-05-18 09:55:16 EDT
Which is the right path for building the SWT jar for the M1 processor - eclipse.platform.swt.binaries\bundles\org.eclipse.swt.cocoa.macosx.arm64 or eclipse.platform.swt.binaries\bundles\org.eclipse.swt.cocoa.macosx.aarch64?
Comment 56 Lakshmi P Shanmugam CLA 2021-05-18 10:31:53 EDT
(In reply to Thomas Singer from comment #55)
> Which is the right path for building the SWT jar for the M1 processor -
> eclipse.platform.swt.binaries\bundles\org.eclipse.swt.cocoa.macosx.arm64 or
> eclipse.platform.swt.binaries\bundles\org.eclipse.swt.cocoa.macosx.aarch64?

eclipse.platform.swt.binaries\bundles\org.eclipse.swt.cocoa.macosx.aarch64 is the correct path. 

The org.eclipse.swt.cocoa.macosx.arm64 fragment was renamed to aarch64, but looks like the folder still exists, will delete it.
Comment 57 Lakshmi P Shanmugam CLA 2021-05-20 06:33:49 EDT
(In reply to Lakshmi P Shanmugam from comment #56)
> The org.eclipse.swt.cocoa.macosx.arm64 fragment was renamed to aarch64, but
> looks like the folder still exists, will delete it.

Done via Bug 573631.
Comment 58 jeongi an CLA 2021-05-29 02:34:10 EDT
When will it be released?
Comment 59 Lakshmi P Shanmugam CLA 2021-05-31 07:06:39 EDT
(In reply to jeongi an from comment #58)
> When will it be released?

4.20 will be released on June 16. The 4.20 RC1 builds are available for testing - https://download.eclipse.org/eclipse/downloads/drops4/S-4.20RC1-202105262310/
Comment 60 Michal Kleczek CLA 2021-06-23 06:38:00 EDT
There are no macOS AArch64 build on https://www.eclipse.org/downloads/packages/ 

I also could not find Eclipse Installer for macOS AArch64.

Could someone point me to the right downloads page?
Comment 61 Alexander Kurtakov CLA 2021-06-23 06:41:32 EDT
Only Eclipse Platform project released Mac Arm64 this cycle. You can get it from https://download.eclipse.org/eclipse/downloads/drops4/R-4.20-202106111600/ and install the plugins you need on top of it.
Comment 62 Alexandr Bolbat CLA 2021-09-17 03:50:46 EDT
Currently we have got new LTS Java 17 and we have bundle with native support for Apple Silicon -> JDK 17 (arm64) architecture

Is there any possibility that Eclipse bundle will be released for this architecture?
Because currently Eclipse bundle for macOS (x86_64) won't start with JDK 17 (arm64)

Details described here:
https://www.eclipse.org/forums/index.php/m/1844564/#msg_1844564
Comment 63 Jonah Graham CLA 2021-09-17 14:19:51 EDT
(In reply to Alexandr Bolbat from comment #62)

Eclipse for ARM is available today, but only in "SDK" form, you can get it from https://download.eclipse.org/eclipse/downloads/drops4/R-4.21-202109060500/ and install the additional plug-ins you want.

Please see Bug 575680 for the IDE packages feature request that will provide pre-bundled versions of the Eclipse IDE for Mac M1.