My laptop unfortunately died and i am trying to get Arduino IDE running on a Raspberry Pi 400. I have downloaded the Arm64 version of the IDE (the Pi400 is running a 64-bit PiOs). I have unpacked the archive into /opt/arduino like I did on Linux and ran the install script. I got an icon on the desktop, ut when I licked it, nothing happened.
I ran it from the command prompt and got
./arduino: line 35: /opt/arduino/java/bin/java: No such file or directory
The path and file do exist:
johnc@anika:/opt/arduino/java/bin $ ls -al
total 948
drwxr-xr-x 2 root root 4096 Mar 30 22:06 .
drwxr-xr-x 4 root root 4096 Mar 30 22:06 ..
-rwxr-xr-x 1 root root 70800 Mar 30 22:06 java
-rwxr-xr-x 1 root root 70928 Mar 30 22:06 jjs
-rwxr-xr-x 1 root root 70928 Mar 30 22:06 keytool
-rwxr-xr-x 1 root root 70952 Mar 30 22:06 orbd
-rwxr-xr-x 1 root root 70928 Mar 30 22:06 pack200
-rwxr-xr-x 1 root root 70928 Mar 30 22:06 policytool
-rwxr-xr-x 1 root root 70928 Mar 30 22:06 rmid
-rwxr-xr-x 1 root root 70928 Mar 30 22:06 rmiregistry
-rwxr-xr-x 1 root root 70928 Mar 30 22:06 servertool
-rwxr-xr-x 1 root root 70952 Mar 30 22:06 tnameserv
-rwxr-xr-x 1 root root 221872 Mar 30 22:06 unpack200
WWhy does the IDE not run, and why does it show the file as missing?
One further question - can I not get IDE 2.3.x for the Pi?
Ok, so this is solved with a bit of help. It seems the 64-bit PiOs that I have installed is, in fact, a 64-bit kernel running a 32-bit OS. The userland is 32-bit. The 32-bit version of the IDE 1.8.19 runs Ok.
Arduino does not currently provide builds of the IDE for Linux ARM hosts of any type at this time. The developers are tracking the need to provide such builds here:
If you have a GitHub account, you can subscribe to that thread to get notifications of any new developments related to this subject:
A community member was producing unofficial 3rd party builds of Arduino IDE 2.x for Raspberry Pi for some time. Unfortunately they recently abandoned the effort so the newest version available from them is 2.2.0. In case you would like to give it a try, it is available here:
Note that this build is not produced or supported by the Arduino organization.
Another option would be build Arduino IDE from the source code on your Raspberry Pi. There is information about that here:
Thanks for the information. It looks like that issue on Github has been locked so it remains to be seen whether there will be any updates, but I have subscribed anway.
In the meantime, thanks also for the link to the third party version. I might give it a try.