developersu / ns-usbloader

Awoo Installer and GoldLeaf uploader of the NSPs (and other files), RCM payload injector, application for split/merge files.
GNU General Public License v3.0
1.87k stars 127 forks source link

Installing ns-usbloader on macos m1 #151

Open ghubcop opened 1 year ago

ghubcop commented 1 year ago

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):

developersu commented 1 year ago

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 commented 1 year ago

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 commented 10 months ago

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