Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing ns-usbloader on macos m1 #151

Open
ghubcop opened this issue Sep 20, 2023 · 3 comments
Open

Installing ns-usbloader on macos m1 #151

ghubcop opened this issue Sep 20, 2023 · 3 comments
Assignees

Comments

@ghubcop
Copy link

ghubcop commented Sep 20, 2023

I installed java sdk on this website: https://www.oracle.com/java/technologies/downloads/#jdk21-mac. Then I downloaded and opened the latest m1 .jar file and nothing happens. It says "Java Application launch failed. Check Console for possible error messages related to .jar". I tried the linux section but I don't really understand how it's supposed to work. What am I missing? Should I downgrade java to jdk 19?

Information about environment (mandatory):

  • MacOS: 13.5 Beta (22G5048d)
  • Java version: 21
@developersu
Copy link
Owner

Well, run it from console java -jar .../app_name.jar and paste output here.
Or install Azul JDK 19. People with m1 macs says it's better.

@izenn
Copy link

izenn commented Nov 10, 2023

just installed this today using java from brew.

open a terminal and then do the following:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install temurin
export JAVA_HOME=`/usr/libexec/java_home -v 21`; java -version
java -jar ns-usbloader-7.0-m1.jar

@secretjupiter
Copy link
Contributor

On M1 Mac you need to manually install libusb, see the release notes of v7.

Simply run the following command (Homebrew is needed):
brew install libusb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants