m1 mac Eclipse launch error

Hello, I’m using mac with chipset Apple M1 Pro.

I’m trying to configure eclipse development envirionment through sdk setup instruction:

(I installed eclipse RAP for x86_64 as suggested.)

After setting Target Definition and API baseline, I tried launch KNIME Analytic Platform and got below error

!SESSION 2023-04-20 11:43:10.933 -----------------------------------------------
eclipse.buildId=unknown
java.version=17.0.6
java.vendor=Eclipse Adoptium
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=ko_KR
Framework arguments: -product org.knime.product.KNIME_PRODUCT
Command-line arguments: -product org.knime.product.KNIME_PRODUCT -data /Users/1113328/eclipse-workspace/…/runtime-KNIME -dev file:/Users/1113328/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/KNIME Analytics Platform/dev.properties -os macosx -ws cocoa -arch x86_64 -consoleLog

!ENTRY org.eclipse.osgi 4 0 2023-04-20 11:43:28.478
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: /Users/1113328/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/com.equo.chromium.cef.cocoa.macosx.x86_64_95.0.6/chromium-4638/libequochro.dylib: dlopen(/Users/1113328/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/com.equo.chromium.cef.cocoa.macosx.x86_64_95.0.6/chromium-4638/libequochro.dylib, 0x0001): tried: ‘/Users/1113328/eclipse-workspace/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/com.equo.chromium.cef.cocoa.macosx.x86_64_95.0.6/chromium-4638/libequochro.dylib’ (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))
at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232)
at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2389)
at java.base/java.lang.Runtime.load0(Runtime.java:755)
at java.base/java.lang.System.load(System.java:1953)
at com.equo.chromium.internal.Engine$1.loadLibrary(Engine.java:73)
at org.cef.SystemBootstrap.loadLibrary(SystemBootstrap.java:36)
at org.cef.CefApp.startup(CefApp.java:569)
at com.equo.chromium.internal.Engine.loadLib(Engine.java:80)
at com.equo.chromium.internal.Engine.(Engine.java:45)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:375)
at com.equo.chromium.ChromiumBrowser.earlyInit(ChromiumBrowser.java:58)
at org.knime.js.cef.CEFEarlyStartup.run(CEFEarlyStartup.java:71)
at org.knime.core.util.IEarlyStartup.executeEarlyStartup(IEarlyStartup.java:104)
at org.knime.product.rcp.KNIMEApplication.start(KNIMEApplication.java:120)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
at org.eclipse.equinox.launcher.Main.main(Main.java:1440)

=======================================================
How can I solve this…?
Please help.

Thanks in advance.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.