Skip to content

Developing Kura with Apple M1 chip

Pierantonio Merlino edited this page Jun 5, 2025 · 2 revisions

Live document to report issues and fixes to have Eclipse Kura development environment working on Apple’s M1 chips.

Kura Build

There are some issue with the resolution on the AI bundle. This can be overcome by simply adding the following changes:

diff --git a/kura/org.eclipse.kura.ai.triton.server/pom.xml b/kura/org.eclipse.kura.ai.triton.server/pom.xml
index e3348154e..c44cdf6e4 100644
--- a/kura/org.eclipse.kura.ai.triton.server/pom.xml
+++ b/kura/org.eclipse.kura.ai.triton.server/pom.xml
@@ -49,9 +49,9 @@
                 <artifactId>protobuf-maven-plugin</artifactId>
                 <version>${protobuf-maven-plugin.version}</version>
                 <configuration>
-                    <protocArtifact>com.google.protobuf:protoc:${protoc.version}:exe:${os.detected.classifier}</protocArtifact>
+                    <protocArtifact>com.google.protobuf:protoc:${protoc.version}:exe:osx-x86_64</protocArtifact>
                     <pluginId>grpc-java</pluginId>
-                    <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
+                    <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:osx-x86_64</pluginArtifact>
                 </configuration>
                 <executions>
                     <execution>

Indeed, the aarch64 executable is present on the gprc repo, but it's a copy of the x86_64 version. So, to make the build work, install Rosetta [1] and leave the pom file as is. The maven plugin will download the x86_64 version and run it using Rosetta.

Eclipse not starting

See https://stackoverflow.com/questions/70725347/the-application-eclipse-can-t-be-opened-macos-monterey

[1]: to install Rosetta use: softwareupdate --install-rosetta

Clone this wiki locally