-
Notifications
You must be signed in to change notification settings - Fork 67
"'java' is not recognized" error with Arduino 2.0.3 and maple 2 uploader #88
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
Comments
Hi @clawsoon As stated in #67, the best solution would be to implement a small binary to perform the uart stuff like that we could remove this .jar. |
Hi @fpistm Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3 Poking around, it sounds like it needs a very specific Java version (maybe from an even older Arduino IDE?) What alternate upload method would you recommend? I don't have an STLink, just a USB cable, and some Blue Pills with the Maple stuff on them. I don't know exactly what I'm doing; I just don't want to brick my boards. :-) |
Try to edit this line: and give the full path of the java bin of your Arduino IDE 1.8.19 |
Would the HID bootloader be a more future-proof option? Or would it just not work at all for me? |
Installing 1.8.19 seems to have screwed up my drivers somehow, so now I'm heading down a completely different rabbit hole. Once that's sorted, I'll let you know if your java path workaround works. Thanks. |
HID could be an option |
I got the upload working again using an old install_drivers.bat that uses wdi-simple.exe. Your 1.8.19 java suggestion seems to have worked, though if anyone is reading this in the future I'd suggest installing 1.8.19 before installing 2.0.X, to hopefully avoid the driver issues I experienced. Thanks for your help, @fpistm . |
I close this one as it is the same subject than #67. |
I just installed Arduino 2.0.3 and attempted to upload to a previously working Generic STM32F1 (Blue Pill) board using Maple DFU Bootloader 2.0. I got the error:
'java' is not recognized as an internal or external command,
operable program or batch file.
I assume this error is related to the fact that Arduino is no longer built on Java.
I tried to install my own Java version, but then I got the error reported in this previous bug:
#67
Any hints, fixes or workarounds would be appreciated.
Thanks.
The text was updated successfully, but these errors were encountered: