Java error in arduino 1.8.13

Hello,
I have some problems about java error in Arduino. Can I ask you please help me.

I am sure my program is correct because I have tested it with my laptop but now I want to use the Computer and when I upload the program I have received the java error. I have mentioned the error below:

Best regard

The process is quicker and easier if you provide details.

thanks I edit my massage again. Can I ask you please help me.

also I have used windows 7 (Arduino 1.8.13)

Does the file arduino-builder.exe exist at the path shown in the error message?

It's difficult to see because you redacted it, but the path appears to start with \\, which seems a bit odd. Is there anything unusual about the path you have the Arduino IDE installed at?

Thank you for your response. I have used the portable file (because the PC doesn't connect to internet).

but also I have changed the path of file but again I have received the java error!

Please answer my question:

You should be able to see it if you open the path in Windows File Explorer.

Please provide a detailed description of what you mean by that.

I have attached the errors of a simple program. I think now the errors are clear.

...if you can read German, in red, on a black background.

Use cut-and-paste

I have mentioned the errors below:

processing.app.debug.RunnerException
at cc.arduino.Compiler.callArduinoBuilder(Compiler.java:317)
at cc.arduino.Compiler.loadPreferences(Compiler.java:216)
at cc.arduino.Compiler.build(Compiler.java:175)
at processing.app.SketchController.build(SketchController.java:664)
at processing.app.SketchController.exportApplet(SketchController.java:689)
at processing.app.Editor$UploadHandler.run(Editor.java:2055)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Cannot run program "M:\sync\new laser\MK\Newsha_Arduino\arduino-1.8.13_newsha\arduino-builder": CreateProcess error=2, Das System kann die angegebene Datei nicht finden
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:26)
at cc.arduino.Compiler.callArduinoBuilder(Compiler.java:297)
... 6 more
Caused by: java.io.IOException: CreateProcess error=2, Das System kann die angegebene Datei nicht finden
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 8 more

I'll ask yet again:
Does this file exist?:

I solved the problem.

And the solution was . . ?

(For the benefit of any others who had this problem)

some files of Arduino were not installed completely.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.