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

Java error #133

Open chronoss09 opened 1 year ago

chronoss09 commented 1 year ago

Capture d’écran 2023-02-13 124934

Windows 11 and my Java is up date !!!

developersu commented 1 year ago

If you're running jar, go to cmd/powershell and run it via java -jar ns-usbloader-7.0.jar Paste here output. There will be more information.

Or just use installer. It has java runtime inside.

chronoss09 commented 1 year ago

Capture

Masamune3210 commented 1 year ago

Update java, run the java uninstall tool first, it seems that somehow your path has a old version on it somewhere

developersu commented 1 year ago

Yeah, just old JDK. To check you can type java -version. Install JDK 11 or later if you want to use jar instead of exe.

dothackjhe commented 1 year ago

Yeah, just old JDK. To check you can type java -version. Install JDK 11 or later if you want to use jar instead of exe.

I followed this instruction, but I'm getting this error: https://github.com/developersu/ns-usbloader/issues/137

dothackjhe commented 1 year ago

Update java, run the java uninstall tool first, it seems that somehow your path has a old version on it somewhere

I've only one instance of JRE installed after deleting the 32-bit one (JRE got duplicated). But it did not address the issue that OP raised, which I am also experiencing.

DeadlyVoyage commented 1 year ago

@developersu, why did you remove support for Java 8 Runtime? It doesn't make sense for me to install JDK just for this one app when the Java 8 Runtime supports MANY apps, including NS-USBloader v6.1 and lower. So why remove support and make things more complicated?

For anyone else having this issue, you have to either install JDK 11, or use the "Installer-7.0.exe" which will add more unnecessary bloat to your computer, or just keep using NS-USBloader v6.1 which works just fine with Java 8 Runtime. I'm just gonna keep using NS-USBloader v6.1. There is nothing new or notable in v7.0 to justify needing to install JDK 11. Just looks like the usually devs releasing an update just to release an update. SMH

developersu commented 1 year ago

@DeadlyVoyage because I don't know how to code using latest JDK LTE (e.g. Java 17) and make it work with JRE 8. Maybe I miss something and it's possible. If so, please let me know (!). I prefer later versions of Java since this is what I need to learn better to find a job. Also it's kinda easier in some aspects like many nice features added since Java 8 (it has been released at 2014!), but yeah, that's not the main reason.

Soooo the answer is somewhere between "I wanna use latest Java features" and "I don't know how to make it work with JRE 8".

Surely your position make sense. Thank you for the feedback!

DeadlyVoyage commented 1 year ago

@developersu fair enough bro, at least you tried and have a good reason. I can respect that more than some other devs who only care about using the latest version just because it's the "latest version" and doesn't really offer anything new and useful.

Thanks for the explanation and for your hard work, it's much appreciated.