Sitelet https://github.com/usb4java/usb4java/issues/86
Skip to content

Mac M1 Laptops not Supported #86

Description

@ScottPierce

Environment:

  • OS: Mac M1 Laptop - Monterey 12.0.1
  • Java version Azul Zulu 15.0.5
  • usb4java version 1.3.0

Bug description
When running this library on the new M1 Max Macbook Pros you get the following exception:
Caused by: org.usb4java.LoaderException: Native library not found in classpath: /org/usb4java/darwin-aarch64/libusb4java.dylib

This doesn't seem to be a supported CPU architecture.

Activity

  1. rupeshsaxena commented on Oct 4, 2022

    @rupeshsaxena

    Try building the source for this CPU architecture. Hope that helps.

  2. tobidelbruck commented on Feb 7, 2024

    @tobidelbruck

    See marian-m12l/studio#244 . The ioexpander poster there uploaded the libusb4java jar 1.3 for M1 silicon on Oct 24 2021. As far as I can tell you can add this jar inside the main libusb4java jar to get the M1 dynlib for OS X M1 silicon. I haven't tried it yet however.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions