IDE will not run

Run on Release Linux Mint 20.3 Una 64-bit
New version 1.8.19 will not launch. Icon has installed but clicking on it has splash screen but then nothing. I did install version 2 but no luck. I did a complete uninstall and started over with 1.8.19. Old version worked but had no additional boards manager.

Welcome to the forum.

It is based on Ubuntu ? Then it should work.
Download the 64 bit linux versions from here: https://www.arduino.cc/en/software
I probably tested the AppImage from the 2.0 Beta, but I use the normal version in the zip file.
Unpack the arduino-1.8.19-linux64.tar.xz and open a terminal in the new folder. Type: ./arduino
Maybe it says: "Picked up JAVA_TOOL_OPTIONS:", but the terminal should not fill with error messages. If there are error message, can you copy-paste them to show them to us ?
If the Arduino IDE works that way, then make a shortcut to the arduino file and put the shortcut on your desktop.
I do not install something, I want to be able to use different versions.

Do you have Java installed ? Can you remove every Java, default-jre, openjdk packages. The easiest way is to use Synaptic for that. Check also that you did not install any Arduino packages from the repositories.

Try this link, it worked for me (and other methods did not). I also have LM20 in 32 and 64-bit.

Koepel

as per your suggestion

./arduino
Picked up JAVA_TOOL_OPTIONS:
Error reading package indexes folder: /home/rob/.arduino15
(maybe a permission problem?)
java.lang.NullPointerException
at java.util.Objects.requireNonNull(Objects.java:203)
at java.util.Arrays$ArrayList.(Arrays.java:3813)
at java.util.Arrays.asList(Arrays.java:3800)
at cc.arduino.contributions.packages.ContributionsIndexer.get3rdPartyIndexFiles(ContributionsIndexer.java:171)
at cc.arduino.contributions.packages.ContributionsIndexer.parseIndex(ContributionsIndexer.java:113)
at processing.app.BaseNoGui.initPackages(BaseNoGui.java:483)
at processing.app.Base.(Base.java:272)
at processing.app.Base.main(Base.java:150)
still no luck

Koepel
as per your sugjestions

./arduino
Picked up JAVA_TOOL_OPTIONS:
Error reading package indexes folder: /home/rob/.arduino15
(maybe a permission problem?)
java.lang.NullPointerException
at java.util.Objects.requireNonNull(Objects.java:203)
at java.util.Arrays$ArrayList.(Arrays.java:3813)
at java.util.Arrays.asList(Arrays.java:3800)
at cc.arduino.contributions.packages.ContributionsIndexer.get3rdPartyIndexFiles(ContributionsIndexer.java:171)
at cc.arduino.contributions.packages.ContributionsIndexer.parseIndex(ContributionsIndexer.java:113)
at processing.app.BaseNoGui.initPackages(BaseNoGui.java:483)
at processing.app.Base.(Base.java:272)
at processing.app.Base.main(Base.java:150)

Still splash screen and nothing
I have no software called .arduino15 I don't know what that is
I have removed everything that was installed with Java in it or in it's description.
That stopped my machine. So reinstalled mint/mate 20 and tried your /.arduino again but
Still splash screen and then nothing

.arduino15 will be a hidden directory in your home directory

 $ ls -loa

will show you the hidden folders. I have ".arduino" and ".arduino15"

That installation link was the only good/successful procedure I have found. You and I have the same system. Are you sure of every command you make during the installation? Start a document (text) and copy/paste your procedures, commands, and responses. Post the text here between code tags (</>) so it will be easier to read. You will get it right soon. I know it.

A hidden folder in your own home folder that you can not read, that is weird.

Did your run the Arduino IDE the first time as root with sudo ?
Then that hidden folder .arduino15 is created as root. Delete that .arduino15 folder and start the Arduino IDE as a normal user.

I have ".arduino15" and ".arduinoIDE". They have both normal user permissions.

Hi Koepel
Just letting you know that I had to reinstall linux mint. Now I can get the 1.9 IDE up and running. I'm still confused why the board manager would not be there in the 2.1 release. that will stop any esp boards from being able to use it. Or am I missing something?
Thanks again for your input RC Thomas

Did you download the Arduino IDE from here: https://www.arduino.cc/en/software
Someone else had troubles with a flatpak from a unknown source. The repository often has a older version. Network drives might still be a problem. Running the Arduino IDE in a Virtual Machine with a drive outside the VM might be a problem.

Reposting because my last seems not read because replay is about downloading from someware else. Why would that be done?

Just letting you know that I had to reinstall linux mint. Now I can get the 1.9 IDE up and running. I'm still confused why the board manager would not be there in the 2.1 release. that will stop any esp boards from being able to use it. Or am I missing something?
Thanks again for your input RC Thoma

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.