You are not logged in.
Pages: 1
I tried reinstalling, removing ~/Arduino and ~/.arduino15, but everytime I try to start the IDE, it terminates after the loading window disappears with a traceback.
arduino
Picked up JAVA_TOOL_OPTIONS:
Set log4j store directory /home/leonixyz/.arduino15
java.lang.NullPointerException: Cannot invoke "processing.app.debug.TargetBoard.getContainerPlatform()" because "board" is null
at processing.app.Base.rebuildProgrammerMenu(Base.java:1705)
at processing.app.Base.<init>(Base.java:286)
at processing.app.Base.main(Base.java:150)
I had arduino-cli installed as well, but now I unistalled it. I cannot find anything useful in ~/.config ~/.cache ~/.local
Last edited by leonixyz (2021-01-15 09:51:49)
Offline
What is the output of archlinux-java status
?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Available Java environments:
java-15-openjdk (default)
Offline
Is it this Known issue?
Offline
twelveeighty may be right. But, I have also had problems in which the Arduino IDE wants one JDK, and other programs wand another (Android studio). I don't remember which is which and I am not in front of my Arch Box. I'll try to remember to look into this this evening (UTC-8) [assuming I am not up to my ears in a plumbing repair job in my kitchen ]
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
I just had the same issue. Checking the install path and arduino man page I found that the cause of the issue was that there were no boards defined in the hardware directory, hence the error. The solution is to install the arduino-avr-core package. This should add the neccesary files for the IDE to run.
Offline
Thank you CrunchyPlasma. Installing "arduino-avr-core" was what was needed.
Offline
I have installed arduino-avr-core but still I'm unable to start Arduino.
Offline
Well, I found out that arduino-avr-core was installed, but not its dependencies. That was the problem. Thanks!
Offline
Thanks so much CrunchyPlasma arduino-avr-core fix my problem
Offline
yes installing `arduino-avr-core` solved my problem. now i'm wondering, if it is a requirement then why doesn't the wiki say it at the beginning or rather install it automatically with the `arduino` package.
Offline
Pages: 1