Installing ns-usbloader on macos m1
ghubcop opened this issue · 3 comments
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
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.
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
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