user46132: I use arch linux. I installed arduino ide with pacman. When I try to run it, loading window will show for few socends and than program crashes. There are logs:
john@arch-thinkpad ~ [1]> arduino
Picked up JAVA_TOOL_OPTIONS:
Set log4j store directory /home/john/.arduino15
java.lang.NullPointerException
    at processing.app.Base.rebuildProgrammerMenu(Base.java:1705)
    at processing.app.Base.<init>(Base.java:286)
    at processing.app.Base.main(Base.java:150)
john@arch-thinkpad ~ [255]>

john@arch-thinkpad ~> arduino --version
Picked up JAVA_TOOL_OPTIONS:
Loading configuration...
Initializing packages...
Preparing boards...
Arduino: 1.8.13

What should I do to fix it ?
Thank you for your help

user46132: I had to install arduino-avr-core package:
sudo pacman -S arduino-avr-core

Now it works fine

46132: <p>I use arch linux. I installed arduino ide with pacman. When I try to run it, loading window will show for few socends and than program crashes. There are logs:</p>
<pre><code>john@arch-thinkpad ~ [1]&gt; arduino
Picked up JAVA_TOOL_OPTIONS:
Set log4j store directory /home/john/.arduino15
java.lang.NullPointerException
    at processing.app.Base.rebuildProgrammerMenu(Base.java:1705)
    at processing.app.Base.&lt;init&gt;(Base.java:286)
    at processing.app.Base.main(Base.java:150)
john@arch-thinkpad ~ [255]&gt;
</code></pre>
<pre><code>john@arch-thinkpad ~&gt; arduino --version
Picked up JAVA_TOOL_OPTIONS:
Loading configuration...
Initializing packages...
Preparing boards...
Arduino: 1.8.13
</code></pre>
<p>What should I do to fix it ?<br />
Thank you for your help</p>
 46132: <p>I had to install <code>arduino-avr-core</code> package:</p>
<pre><code>sudo pacman -S arduino-avr-core
</code></pre>
<p>Now it works fine</p>
