Skip to content

Developing Kura with Apple M1 chip

Marcello Rinaldo Martina edited this page Oct 2, 2024 · 1 revision

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>

Eclipse not starting

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

Clone this wiki locally