cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to run Cloud Connector on M2 or Intel processors - sapcc-2.17.1-macosx version

Nkrish
Contributor
0 Kudos
428

Hi, 

I am running a Mac on M2 and other one on Intel processor.

Installed sapcc-2.17.1-macosx-x64 for Intel / and sapcc-2.17.1-macosx-aarch64  version for M2.

Installed jdk 17 and also tried with jdk 21, I even tried the SAPMachine version as well.

All instances I get the below error:

"Detected mismatch between jdk binaries for arm64 and scc binaries for directory)

Stopping the process. Ensure to use the corresponding binaries either for x86_64 or for arm64

Set env variable NO_CHECK=1 to overcome this check"

I have tried the previous versions of cloud connector on Intel Mac earlier and connected with WEBIDE / and BAS and have no issues earlier. 

Any ideas how I could overcome this? 

I have also checked this blog as well . 

https://community.sap.com/t5/technology-q-a/how-to-install-sap-cloud-connector-on-a-mac-m2-processor...

Thanks 

View Entire Topic
HAL9000
Product and Topic Expert
Product and Topic Expert
0 Kudos

For your machine with M2 processor, you should install the aarch64 / ARM64 versions of both: the Cloud Connector and the SapMachine (17 or 21). The error message indicates that the used architectures do not match.
See also https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/installation-on-mac-os-x

Nkrish
Contributor
0 Kudos
Hello,
Nkrish
Contributor
0 Kudos
Hello, I have installed the ARM64 versions of both the cloud connector and SapMachine. Will give it a try again
Nkrish
Contributor
0 Kudos

Hi,

Thank you.

I have retried , I have attached the screenshots as well.

Nkrish_0-1723721648056.png

Installed : sapcc-2.17.1-macosx-aarch64.tar.gz

I have modified the go.sh as well to point to the correct jdk 

I now get this error : 

libsapscc20jni.dylib' not valid for use in process: library load disa

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:2394)

at java.base/java.lang.Runtime.load0(Runtime.java:755)

at java.base/java.lang.System.load(System.java:1957)

at com.sap.scc.jni.NativeLibrariesInitializer.initialize(NativeLibrariesInitializer.java:36)

at com.sap.scc.jni.SecStoreAccess.main(SecStoreAccess.java:238)

keytool error: java.lang.Exception: Keystore password must be at least 6 characters

java.lang.Exception: Keystore password must be at least 6 characters

at java.base/sun.security.tools.keytool.Main.doCommands(Main.java:1028)

at java.base/sun.security.tools.keytool.Main.run(Main.java:423)

at java.base/sun.security.tools.keytool.Main.main(Main.java:416)

Was not able to create the keystore properly

Could you please advise thank you 

 

 

Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert
0 Kudos

This looks like it is caused by what was mentioned by Markus above:

"Furthermore, you need to provide an exception for the libsapscc20jni.dylib in security settings to be allowed to run, even though it is not notarized."

The dynamic library libsapscc20jni.dylib is located in the lib/native directory of the SCC installation directory.