Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-11863

Java Quick Start is not working on MAC M1

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 2.28.0
    • 2.29.0
    • examples-java
    • None

    Description

      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

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Nardini Ivan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: