{"id":24581,"date":"2022-01-05T07:39:02","date_gmt":"2022-01-04T22:39:02","guid":{"rendered":"https:\/\/www.souichi.club\/?p=24581"},"modified":"2022-03-19T17:17:13","modified_gmt":"2022-03-19T08:17:13","slug":"arduino-ide-v20","status":"publish","type":"post","link":"https:\/\/www.souichi.club\/en\/m5stack\/arduino-ide-v20\/","title":{"rendered":"Installed ArduinoIDE2.0 to prevent Log4j vulnerability."},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_79_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69dea66c2b4a8\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #454e5c;color:#454e5c\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #454e5c;color:#454e5c\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69dea66c2b4a8\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.souichi.club\/en\/m5stack\/arduino-ide-v20\/#Arduino_IDE\" >Arduino IDE<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.souichi.club\/en\/m5stack\/arduino-ide-v20\/#Cautions\" >Cautions<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.souichi.club\/en\/m5stack\/arduino-ide-v20\/#Download\" >Download<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.souichi.club\/en\/m5stack\/arduino-ide-v20\/#After_installation\" >After installation<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Arduino_IDE\"><\/span>Arduino IDE<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The Arduino IDE uses Java internally, and is affected by the Log4J vulnerability.<\/p>\n\n\n\n<p>The Arduino IDE I&#8217;m using now is v1.8.13, but I was told that upgrading to v1.8.19 would avoid the Log4j vulnerability for now.<\/p>\n\n\n\n<p>I upgraded to v1.8.13, but since v1.8.x and v2.0 can live together, I took the opportunity to install v2.0, which does not use Java.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Cautions\"><\/span>Cautions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>At this point (December 23, 2021), the following are some of the cautions I have noticed in v2.0.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>The menu is in English only.<\/li><li>Old versions can be used in parallel without modification (new installation image)<\/li><li>Preferences of the previous version are not inherited (you need to redo from File\u2192Preferences)<\/li><li>Additional libraries installed so far are recognized.<\/li><li>Doesn&#8217;t seem to support third party plug-in tools at this time (<a href=\"https:\/\/www.souichi.club\/en\/m5stack\/spiffs\/\" target=\"_blank\" rel=\"noreferrer noopener\">SPIFFS didn&#8217;t support it<\/a>).<\/li><li>Of course, the user interface will change.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Download\"><\/span>Download<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Download 2.0 <a href=\"https:\/\/www.arduino.cc\/en\/software#future-version-of-the-arduino-ide\" target=\"_blank\" rel=\"noreferrer noopener\">from this page<\/a>.<\/p>\n\n\n\n<p>I selected &#8220;Windows Win 10 and newer, 64 bits&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a class=\"r_image\" href=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-06.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-06.png?resize=946%2C471&#038;ssl=1\" alt=\"Arduino IDE 2.0\" class=\"wp-image-24465\" width=\"946\" height=\"471\" srcset=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-06.png?w=1891&amp;ssl=1 1891w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-06.png?resize=768%2C382&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-06.png?resize=1536%2C764&amp;ssl=1 1536w\" sizes=\"auto, (max-width: 946px) 100vw, 946px\" \/><\/a><\/figure>\n\n\n\n<p>The Arduino IDE is a free tool with no functional limitations, and I have been grateful to use it for free until now.<\/p>\n\n\n\n<p>If you want to use it for free, you can download the installer file by clicking &#8220;JUST DOWNLOAD&#8221;.<\/p>\n\n\n\n<p>I decided to make a donation in honor of the developers of v2.0 and their quick response to the Log4j vulnerability.<\/p>\n\n\n\n<p>I selected $10 and clicked &#8220;CONTRIBUTE &amp; DOWNLOAD&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a class=\"r_image\" href=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-07.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-07.png?resize=946%2C470&#038;ssl=1\" alt=\"Download\" class=\"wp-image-24466\" width=\"946\" height=\"470\" srcset=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-07.png?w=1891&amp;ssl=1 1891w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-07.png?resize=768%2C381&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-07.png?resize=1536%2C763&amp;ssl=1 1536w\" sizes=\"auto, (max-width: 946px) 100vw, 946px\" \/><\/a><\/figure>\n\n\n\n<p>I could choose to donate by PayPal or card.<\/p>\n\n\n\n<p>If you check the box &#8220;Cover the transaction free of 3% + $0.30, so all of my donation goes to Arduino&#8221;, the fee will be added to the donation amount.<\/p>\n\n\n\n<p>I wanted to show my generosity, so I checked the box and made a donation via PayPal.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a class=\"r_image\" href=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-08.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-08.png?resize=946%2C437&#038;ssl=1\" alt=\"Donate via PayPal\" class=\"wp-image-24467\" width=\"946\" height=\"437\" srcset=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-08.png?w=1891&amp;ssl=1 1891w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-08.png?resize=768%2C355&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-08.png?resize=1536%2C710&amp;ssl=1 1536w\" sizes=\"auto, (max-width: 946px) 100vw, 946px\" \/><\/a><\/figure>\n\n\n\n<p>When the payment was finished by PayPal, a thank you page was displayed.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a class=\"r_image\" href=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-09.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-09.png?resize=946%2C436&#038;ssl=1\" alt=\"\u5bc4\u4ed8\u306e\u304a\u793c\u30da\u30fc\u30b8\" class=\"wp-image-24468\" width=\"946\" height=\"436\" srcset=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-09.png?w=1891&amp;ssl=1 1891w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-09.png?resize=768%2C354&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-09.png?resize=1536%2C707&amp;ssl=1 1536w\" sizes=\"auto, (max-width: 946px) 100vw, 946px\" \/><\/a><\/figure>\n\n\n\n<p>After that, a dialog box will appear to download arduino-ide_2.0.0-rc3_Windows_64bit.exe, so I saved it to my computer and ran it<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"After_installation\"><\/span>After installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The following is the screenshot after installation and startup.<\/p>\n\n\n\n<p>The user interface has changed quite a bit from 1.8x.<\/p>\n\n\n\n<p>Also, as I mentioned earlier, it is not an upgrade of the old version, but a different application, so the settings made in the old version are not carried over.<\/p>\n\n\n\n<p>I changed the settings so that they would be the same while running both versions and comparing them.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a class=\"r_image\" href=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-10.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-10.png?resize=632%2C356&#038;ssl=1\" alt=\"Screen after startup\" class=\"wp-image-24469\" width=\"632\" height=\"356\" srcset=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-10.png?w=1264&amp;ssl=1 1264w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-10.png?resize=768%2C433&amp;ssl=1 768w\" sizes=\"auto, (max-width: 632px) 100vw, 632px\" \/><\/a><\/figure>\n\n\n\n<p>Also, for now, the only language available is English.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a class=\"r_image\" href=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-11.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-11.png?resize=663%2C458&#038;ssl=1\" alt=\"Environment settings\" class=\"wp-image-24470\" width=\"663\" height=\"458\" srcset=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-11.png?w=1325&amp;ssl=1 1325w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-11.png?resize=768%2C531&amp;ssl=1 768w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/a><\/figure>\n\n\n\n<p>The libraries that I had added so far were recognized, so I was able to compile them as is.<\/p>\n\n\n\n<p>However, the way it looks is quite different and it is displayed on the left instead of the new Window.<\/p>\n\n\n\n<p>Also, it took quite a while to display the additional libraries, but I think the display speed has become faster.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a class=\"r_image\" href=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-13.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-13.png?resize=666%2C461&#038;ssl=1\" alt=\"Library Manager\" class=\"wp-image-24495\" width=\"666\" height=\"461\" srcset=\"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-13.png?w=1331&amp;ssl=1 1331w, https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-13.png?resize=768%2C532&amp;ssl=1 768w\" sizes=\"auto, (max-width: 666px) 100vw, 666px\" \/><\/a><\/figure>\n\n\n\n<p>This concludes this article.<\/p>\n\n\n<div class=\"postscript_balloon\">Finally.<\/div>\n\n\n<p>I hope this article will be useful to someone somewhere.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Arduino IDE uses Log4j internally, and is affected by the Log4Shell vulnerability. I took the opportunity to install v2.0 which does not use Java.<\/p>\n","protected":false},"author":5,"featured_media":24469,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"en_US","_original_post":"https:\/\/www.souichi.club\/?p=24463","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[238],"tags":[],"class_list":["post-24581","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-m5stack","en-US"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.souichi.club\/wp-content\/uploads\/arduino-ide-v20-10.png?fit=1264%2C712&ssl=1","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/posts\/24581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/comments?post=24581"}],"version-history":[{"count":6,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/posts\/24581\/revisions"}],"predecessor-version":[{"id":24591,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/posts\/24581\/revisions\/24591"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/media\/24469"}],"wp:attachment":[{"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/media?parent=24581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/categories?post=24581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.souichi.club\/wp-json\/wp\/v2\/tags?post=24581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}