-
Notifications
You must be signed in to change notification settings - Fork 65
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
[Windows] remove maple_loader.jar usage #67
Comments
Hi @dadul96 |
Hello @fpistm |
Right, anyway several user does not install Arduino to the default location. |
to remove java dependecy on Windows fixes stm32duino#67 Signed-off-by: Frederic Pillon <[email protected]>
to remove java dependecy on Windows fixes stm32duino#67 Signed-off-by: Frederic Pillon <[email protected]>
to remove java dependecy on Windows fixes stm32duino#67 Signed-off-by: Frederic Pillon <[email protected]>
Thank you for this thread! Fixed my issue :) |
This problem occurs when a second (different) Java version is installed on a windows PC (besides the one provided with the Arduino IDE). Instead of using the provided Java version of the Arduino IDE the
maple_upload.bat
-file uses the Java version found in the environment path (oftentimes this is a different one).This results in the following error message:
To solve this problem the following line should be added to the maple_upload.bat:
if exist "C:\Program Files (x86)\Arduino\java\bin" set PATH=C:\Program Files (x86)\Arduino\java\bin;%PATH%
This line temporarily changes the PATH during the execution of this batch file and ensures that the correct Java version is used.
This issue also has been discussed here.
The text was updated successfully, but these errors were encountered: