You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kyle Weaver (Jira)" <ji...@apache.org> on 2021/04/06 20:42:00 UTC

[jira] [Commented] (BEAM-11863) Java Quick Start is not working on MAC M1

    [ https://issues.apache.org/jira/browse/BEAM-11863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17315840#comment-17315840 ] 

Kyle Weaver commented on BEAM-11863:
------------------------------------

Beam is not expected to work with Mac M1 yet. It will require all our upstream dependencies to first support M1. If you could print the full stack trace using the -e switch to determine which dependency is missing here, that'd help us determine which dependencies are missing.

> Java Quick Start is not working on MAC M1
> -----------------------------------------
>
>                 Key: BEAM-11863
>                 URL: https://issues.apache.org/jira/browse/BEAM-11863
>             Project: Beam
>          Issue Type: Bug
>          Components: examples-java
>         Environment: macOS Big Sur, version 11.2.1
> MacBook Pro (13-inch, M1, 2020)
> openjdk 15.0.2 2021-01-19
> OpenJDK Runtime Environment AdoptOpenJDK (build 15.0.2+7)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 15.0.2+7, mixed mode, sharing
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
> Maven home: /opt/homebrew/Cellar/maven/3.6.3_1/libexec
> Java version: 16, vendor: N/A, runtime: /opt/homebrew/Cellar/openjdk/15.0.1/libexec/openjdk.jdk/Contents/Home
> Default locale: en_IT, platform encoding: UTF-8
> OS name: "mac os x", version: "11.2.1", arch: "aarch64", family: "mac"
>            Reporter: Ivan
>            Priority: P2
>
> I'm trying to replicate the word-count java quick start ([https://beam.apache.org/get-started/quickstart-java/)] running with {{direct-runner Runner }}on my MAC M1 and I get this error along the build
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project word-count-beam: An exception occured while executing the Java class. [FAILED_TO_LOAD_NATIVE_LIBRARY] no native library is found for os.name=Mac and os.arch=aarch64 -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] [http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)