Arduino 1.8.12 released

ARDUINO 1.8.12 2020.02.13

[ide]
* Reverted the bundled Java JRE to the latest freely redistributable Oracle JRE for all
 platforms except:
   - macOS (due to notarization)
   - aarch64 (due to missing graphical support)

 Switching to AdoptJDK demonstrated to be more challenging than expected, bringing in
 some corner case bugs that were not being caught by our testing procedures:
   - https://github.com/arduino/Arduino/labels/OpenJDK

 To guarantee the best user experience we decided to revert to the latest working JRE
 until all the issues are resolved.

* Improved visualization of compiler errors (@matthijskooijman)
* Fixed: "Comparison method violates its original contract" error in library manager
* Serial monitor is no more cleared during upload, so it can be copy/pasted (@PaulStoffregen)

[arduino-builder]
* FIX REGRESSION: library priority selection for bundled libraries (like SD or Ethernet) 
* FIX REGRESSION: use AVR core installed via Board Manager (when present) instead of the one bundled in the IDE
* Improved precompiled libraries handling
* FIX: paths with spaces are now correctly printed in compiler output

ARDUINO 1.8.11 2020.01.27

[ide]
* FIX: Serial plotter do not hang if empty lines are received
* A lot of accessibility improvements in Libs and Board managers GUI for screen readers (thanks @joew46167)
* Sligtly improved support for themes in Libs and Board managers (thanks @matthijskooijman)
* Serial plotter: added serial input text field (thanks @cactorium)
* MacOSX: support for notarization (thanks @PaulStoffregen for the support)
* Fix wrong bracket match rectangle on auto format (thanks @magedrifaat)
* Pluggable discoveries: runtime.platform.path and runtime.hardware.path are now available as variables (thanks @PaulStoffregen)

[arduino-builder]
* FIX: missed library-detection cache (forcing lib detection on each build)
* FIX: Windows: the build folder may reside on a different partition
* FIX: Segfault in arduino-builder with -dump-prefs if no sketch is specified
* FIX: Allow loading of global user-define platform.txt
* FIX: Fixed nil pointer exception on some rare case with multiple libs
* FIX: Print "multiple libraries found for header.h" message only when it really happens
* FIX: Fixed library priorities on some rare circumstances

[hardware]
* updated AVR core to 1.8.2

[wifi-updater]
* updated to 0.10.10

Package size is reduced too !

Thanks.

WinXP no longer be supported?

a_winxp.jpg

Hi @rockn. Arduino IDE 1.8.10 did not work with Windows XP, but the symptoms were different. I haven not heard anything before this about whether XP support was restored in Arduino IDE 1.8.11 or not.

I did find a previous report of the "%1 is not a valid Win32 application" error you're getting (though in a different context) here:

Which was suspected to be caused by the antivirus software.

Try TEMPORARILY disabling your antivirus for a single compilation to see if the problem goes away, then immediately turn the antivirus back on. If the problem doesn't occur with the antivirus off you'll know the antivirus was the cause of the error.

Please let me know what you discover.

pert, tnx, antivirus was active (nod32).

Now v1.8.11 with message for Java Runtime Environment and IDE not start again.

a_winxp_2.jpg

There seems to be a bug in the new version. With version 1.8.10 I was able to program a sketch for the ESP32 with control of an SD card reader and there were no problems. This is no longer possible with version 1.8.11. The IDE no longer loads the correct SD library from the ESP-32 core, but the library for the Arduino and the compilation of the sketch then ends with an error message.

bernhardW:
the compilation of the sketch then ends with an error message.

Please do this:

  • When you encounter an error, you'll see a button on the right side of the orange bar "Copy error messages" in the Arduino IDE (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button..
  • In a forum reply here, click on the reply field.
  • Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
  • Press "Ctrl + V". This will paste the error between the code tags.
  • Move the cursor outside of the code tags before you add any additional text to your reply.

If the text exceeds the forum's 9000 character limit, save it to a .txt file and post it as an attachment. If you click the "Reply" button here, you will see an "Attachments and other settings" link.

Hi Pert,

thank you for quick answer.
Unfortunately, I immediately uninstalled the new version and work again with the old version, so I can no longer copy the numerous error messages. In this case, however, they are also not important. It is crucial that the new version loads the wrong SD libraries, the error messages are only secondary consequences of this faulty behavior. They say nothing about the reason why the wrong library is loaded.

bernhardW:
It is crucial that the new version loads the wrong SD libraries

I agree. I am able to reproduce the problem and have submitted a bug report:

bernhardW:
the error messages are only secondary consequences of this faulty behavior. They say nothing about the reason why the wrong library is loaded.

Maybe not to you, but to me they provide valuable information.

The version 1.8.11 UI goes haywire on my Ubuntu 19.10 machine. Re-installing 1.8.10 seems to fix it.

It's difficult for me to give much more information because the UI is completely non-functional, i.e. no menus etc. All I get is the two sections, with a huge cursor in the bottom one.

JulianNicholls:
Re-installing 1.8.10 seems to fix it.

Just to be sure I understand, do you mean that the problem is fixed when you use 1.8.10? Or do you mean that after re-installing 1.8.10, the problem goes away when using 1.8.11?

@pert: Thank you very much!

@pert
No, I mean that reverting to version 1.8.10 is fine.

I have installed 1.8.11 twice, once overwriting the previous 1.8.10 installation,and once into an empty folder because i thought I'd screwed up the installation the first time, but it was exactly the same both times.

@JulianNicholls you can submit a bug report about this here:

that will bring the issue to the attention of the Arduino IDE's developers.

UPDATE: @JulianNicholls's bug report:

After instalation, I could not launch because it could not load "keywords.txt".

Even after re-installing Arduino or using the previous version it did not work at all!

leexande:
After instalation, I could not launch because it could not load "keywords.txt".

Even after re-installing Arduino or using the previous version it did not work at all!

Please post the full and exact error message you're getting.

HELP! What does this mean?

Arduino: 1.8.11 (Windows Store 1.8.28.0) (Windows 10), Board: "Arduino Uno"

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.28.0_x86__mdqgnx93n4wtt\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.28.0_x86__mdqgnx93n4wtt\hardware -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.28.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.28.0_x86__mdqgnx93n4wtt\hardware\tools\avr -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.28.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\256tsejalbo\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10811 -build-path C:\Users\256TSE~1\AppData\Local\Temp\arduino_build_416855 -warnings=default -build-cache C:\Users\256TSE~1\AppData\Local\Temp\arduino_cache_689997 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.28.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.28.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.28.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.28.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.28.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.28.0_x86__mdqgnx93n4wtt\hardware\tools\avr -verbose C:\Users\256tsejalbo\Documents\IPES STEAM\IPES STEAM Toolkit\Temp F_Display\Temp_F_Display\Temp_F_Display.ino
loading hardware from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.28.0_x86__mdqgnx93n4wtt\hardware: following possible symlink C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.28.0_x86__mdqgnx93n4wtt\hardware: Access is denied.

Error compiling for board Arduino Uno.

Mrs_TSe:

loading hardware from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.28.0_x86__mdqgnx93n4wtt\hardware: following possible symlink C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.28.0_x86__mdqgnx93n4wtt\hardware: Access is denied.

This sort of error could be caused by your antivirus software. Try TEMPORARILY disabling your antivirus for a single compilation to see if the problem goes away, then turn the antivirus back on. If the problem doesn't occur with the antivirus off you will need to adjust the settings of your antivirus to whitelist the appropriate file, folder, or process so it doesn't interfere with compilation.

Hi, I still can't use it on macOS Catalina 10.15.3. Serial port is not recognized. Is it supported? If so, how to fix it? Thank you.

CORRECTION: It works. Excuse me for my incorrect post. The problem was a microUSB connector on two boards I tested with my prototype. When I replaced it with the third board, serial port appeared.

On Raspberry Pi 4b 2Gb Arduino IDE 1.8.11 Linux ARM, on Raspbian Buster updated.
This error:

I Uninstall with sudo ./uninstall.sh but the problem keep. How to solve or is a bug, No firewall, no antivirus, Raspbian buster just installed from noobs lite and updated. If i put the link to json my chromium can show me.

Any clue?