ns-usbloader icon indicating copy to clipboard operation
ns-usbloader copied to clipboard

Installing ns-usbloader on macos m1

Open ghubcop opened this issue 1 year ago • 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

ghubcop avatar Sep 20 '23 22:09 ghubcop

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.

developersu avatar Sep 21 '23 07:09 developersu

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

izenn avatar Nov 10 '23 20:11 izenn

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

secretjupiter avatar Jan 28 '24 20:01 secretjupiter