Hello guys!
I'am experiencing a java error when i try to upload my sketch with OTA on the IP port. There was this error sometimes but back then my problem was solved if i restarted the ide or the computer. But now , i tried a lot of things. First i deleted the User-appdata-local-Arduino15 folder. I read on the internet it is a good solution. Ofc i doed a backup from the folder first. This didnt helped my problem. Then i reinstalled the IDE completelly after i delete all the arduino folders from the drive. Then i reinstalled python, and bonjure , and the JAVA itself. These didnt helped me too. Then i tried with different IDE versions , with 1.8.5 to 1.8.8. Nothing seems to help. I can upload my sketch , all of them trought a COM port or from the update page with OTA but not on IP from IDE.
The error iam getting is the following:(It's Hungarian)
java.io.IOException: Cannot run program "C:\Users\Mr.Hitec\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/espota.exe": CreateProcess error=2, A rendszer nem találja a megadott fájlt
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:26)
at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129)
at cc.arduino.packages.uploaders.GenericNetworkUploader.uploadUsingPreferences(GenericNetworkUploader.java:99)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77)
at processing.app.SketchController.upload(SketchController.java:732)
at processing.app.SketchController.exportApplet(SketchController.java:703)
at processing.app.Editor$UploadHandler.run(Editor.java:2042)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: CreateProcess error=2, A rendszer nem találja a megadott fájlt
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 8 more
Hiba történt a vázlat feltöltése közben