THIS APP CAN'T RUN ON YOUR PC

antonjung
Posts: 9
Joined: Tue Apr 23, 2024 8:59 am

THIS APP CAN'T RUN ON YOUR PC

Postby antonjung » Thu Aug 22, 2024 12:13 pm

I have installed aurduino ide 1.8.18 on a windows 11 machine. I can run the ide ok but when I try to compile or verify a sketch I get a big blue box which says "THIS APP CAN'T RUN ON YOUR PC" To find a version for your PC, check with the software publisher

I have tried running as administrator and also without virus protection - no joy

Any ideas ?

aliarifat794
Posts: 172
Joined: Sun Jun 23, 2024 6:18 pm

Re: THIS APP CAN'T RUN ON YOUR PC

Postby aliarifat794 » Thu Aug 22, 2024 3:23 pm

The Arduino IDE relies on Java, and an outdated or corrupted Java installation might cause issues.

lbernstone
Posts: 826
Joined: Mon Jul 22, 2019 3:20 pm

Re: THIS APP CAN'T RUN ON YOUR PC

Postby lbernstone » Thu Aug 22, 2024 6:49 pm

Please go into Arduino preferences and set "show verbose compilation" during output and upload. Then try to compile again, and copy paste the result here (you can Ctrl-A Ctrl-C to copy all the output in that small window).

antonjung
Posts: 9
Joined: Tue Apr 23, 2024 8:59 am

Re: THIS APP CAN'T RUN ON YOUR PC

Postby antonjung » Fri Aug 23, 2024 7:27 am

Output from compile in verbose mode ...

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Test Engineer\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Test Engineer\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Test Engineer\Desktop\New Dialler Files\Sketches\libraries -fqbn=esp32:esp32:esp32da:PartitionScheme=defaultffat,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,LoopCore=1,EventsCore=1,DebugLevel=none,EraseFlash=none -vid-pid=10C4_EA60 -ide-version=10818 -build-path C:\Users\TESTEN~1\AppData\Local\Temp\arduino_build_408277 -warnings=none -build-cache C:\Users\TESTEN~1\AppData\Local\Temp\arduino_cache_758816 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.riscv32-esp-elf-gdb.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gdb-11.2_20220823.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp-elf-gdb.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp-elf-gdb-11.2_20220823.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.mklittlefs.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mklittlefs-3.0.0-gnu12-dc7f933.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.riscv32-esp-elf-gcc.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.dfu-util.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.dfu-util-0.11.0-arduino5.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.mkspiffs.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.openocd-esp32.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.openocd-esp32-v0.11.0-esp32-20221026.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.esptool_py.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.esptool_py-4.5.1.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -verbose C:\Users\Test Engineer\Desktop\New Dialler Files\Sketches\dialler\dialler.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Test Engineer\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Test Engineer\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Test Engineer\Desktop\New Dialler Files\Sketches\libraries -fqbn=esp32:esp32:esp32da:PartitionScheme=defaultffat,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,LoopCore=1,EventsCore=1,DebugLevel=none,EraseFlash=none -vid-pid=10C4_EA60 -ide-version=10818 -build-path C:\Users\TESTEN~1\AppData\Local\Temp\arduino_build_408277 -warnings=none -build-cache C:\Users\TESTEN~1\AppData\Local\Temp\arduino_cache_758816 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.riscv32-esp-elf-gdb.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.riscv32-esp-elf-gdb-11.2_20220823.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp-elf-gdb.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.xtensa-esp-elf-gdb-11.2_20220823.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp-elf-gdb\11.2_20220823 -prefs=runtime.tools.mklittlefs.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.mklittlefs-3.0.0-gnu12-dc7f933.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\mklittlefs\3.0.0-gnu12-dc7f933 -prefs=runtime.tools.riscv32-esp-elf-gcc.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.riscv32-esp-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.dfu-util.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.dfu-util-0.11.0-arduino5.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\arduino\tools\dfu-util\0.11.0-arduino5 -prefs=runtime.tools.mkspiffs.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.mkspiffs-0.2.3.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3 -prefs=runtime.tools.xtensa-esp32-elf-gcc.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s3-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s3-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.openocd-esp32.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.openocd-esp32-v0.11.0-esp32-20221026.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\openocd-esp32\v0.11.0-esp32-20221026 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.xtensa-esp32s2-elf-gcc-esp-2021r2-patch5-8.4.0.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\xtensa-esp32s2-elf-gcc\esp-2021r2-patch5-8.4.0 -prefs=runtime.tools.esptool_py.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -prefs=runtime.tools.esptool_py-4.5.1.path=C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.5.1 -verbose C:\Users\Test Engineer\Desktop\New Dialler Files\Sketches\dialler\dialler.ino
Using board 'esp32da' from platform in folder: C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11
Using core 'esp32' from platform in folder: C:\Users\Test Engineer\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11
cmd /c if exist "C:\\Users\\Test Engineer\\Desktop\\New Dialler Files\\Sketches\\dialler\\partitions.csv" COPY /y "C:\\Users\\Test Engineer\\Desktop\\New Dialler Files\\Sketches\\dialler\\partitions.csv" "C:\\Users\\TESTEN~1\\AppData\\Local\\Temp\\arduino_build_408277\\partitions.csv"
cmd /c if not exist "C:\\Users\\TESTEN~1\\AppData\\Local\\Temp\\arduino_build_408277\\partitions.csv" if exist "C:\\Users\\Test Engineer\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.11\\variants\\esp32da\\partitions.csv" COPY "C:\\Users\\Test Engineer\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.11\\variants\\esp32da\\partitions.csv" "C:\\Users\\TESTEN~1\\AppData\\Local\\Temp\\arduino_build_408277\\partitions.csv"
cmd /c if not exist "C:\\Users\\TESTEN~1\\AppData\\Local\\Temp\\arduino_build_408277\\partitions.csv" COPY "C:\\Users\\Test Engineer\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.11\\tools\\partitions\\default_ffat.csv" "C:\\Users\\TESTEN~1\\AppData\\Local\\Temp\\arduino_build_408277\\partitions.csv"
1 file(s) copied.
cmd /c IF EXIST "C:\\Users\\Test Engineer\\Desktop\\New Dialler Files\\Sketches\\dialler\\bootloader.bin" ( COPY /y "C:\\Users\\Test Engineer\\Desktop\\New Dialler Files\\Sketches\\dialler\\bootloader.bin" "C:\\Users\\TESTEN~1\\AppData\\Local\\Temp\\arduino_build_408277\\dialler.ino.bootloader.bin" ) ELSE ( IF EXIST "C:\\Users\\Test Engineer\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.11\\variants\\esp32da\\bootloader.bin" ( COPY "C:\\Users\\Test Engineer\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.11\\variants\\esp32da\\bootloader.bin" "C:\\Users\\TESTEN~1\\AppData\\Local\\Temp\\arduino_build_408277\\dialler.ino.bootloader.bin" ) ELSE ( "C:\\Users\\Test Engineer\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esptool_py\\4.5.1/esptool.exe" --chip esp32 elf2image --flash_mode dio --flash_freq 80m --flash_size 4MB -o "C:\\Users\\TESTEN~1\\AppData\\Local\\Temp\\arduino_build_408277\\dialler.ino.bootloader.bin" "C:\\Users\\Test Engineer\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.11\\tools\\sdk\\esp32\\bin\\bootloader_qio_80m.elf" ) )
Access is denied.
exit status 1
Error compiling for board ESP32-WROOM-DA Module.

lbernstone
Posts: 826
Joined: Mon Jul 22, 2019 3:20 pm

Re: THIS APP CAN'T RUN ON YOUR PC

Postby lbernstone » Fri Aug 23, 2024 6:23 pm

Looks to me like you don't have access to esptool.exe at
C:\\Users\\Test Engineer\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\esptool_py\\4.5.1/esptool.exe"
This is likely a windows permission issue or anti-virus. Anti-virus is far more likely to be throwing up a separate box about this. Try finding that program in explorer and see if you get the same error double clicking on it.

Who is online

Users browsing this forum: No registered users and 49 guests