My apologies in advance for what is probably a really simple question, but I could really use some help getting this to work. I was able to install the Arduino IDE doing:
sudo apt-get install arduino
Unfortunately, that is arduino version 1.0.5. I need the features provided in the newer IDEs. After downloading from https://www.arduino.cc/en/main/software the ARM64 package, and using install.sh, the IDE fails to launch. Launching from a terminal reveals this error:
./arduino: line 35: /opt/arduino-1.8.1/java/bin/java: No such file or directory
The file is there however… Some googling reveals that this is likely due to a mismatch with 32-bit vs 64-bit versions of Java. Most propose doing something like below, but that doesn’t work with Jetson.
sudo apt-get install libc6-i386
Is there a special version of Java or some Path modification that will be necessary?
Thanks for any help you can offer, it is much appreciated!
You’ll have to link in the java executable, which you’ll find at …/jdk1.8.0_121/bin.
Once you add java to your path, the Arduino IDE should find it. I’m not sure if Arduino searches in $PATH or the $JAVA_HOME env var, or both. Best of luck.
Hi. I installed arduino 1.6.10 in TX1. I’m not able to open it. This solution might help me. Im new to Linux. Could you please tell me how do I link the JAVA executable. I mean what are the commands to do it?
Thanks for this post. I am experiencing the same issue, but I still don’t know how to fix it. I am using a Jetson TX2 and trying to install the Arduino IDE. After downloading the IDE on the TX2, the program doesn’t open. Can anyone walk me through the steps to make it work? Thanks!
I am able to install and run the IDE from the command line, but it’s an old version of the IDE. However, I want to use the new version, but I just couldn’t open it. After spending more than one hour, my computer science professor told me that the libraries in the Arduino IDE are only compatible with 32-bit machines. If anyone was able to run the new Arduino IDE, please let me know!
(32-bit and 64-bit ARM hard-float builds available)
You’ll have to link in the java executable, which you’ll find at …/jdk1.8.0_121/bin.
Once you add java to your path, the Arduino IDE should find it. I’m not sure if Arduino searches in $PATH or the $JAVA_HOME env var, or both. Best of luck.
@barrettw@Alick it work but you should remove old java such as java7 java8.
Any final recommendation on updating Arduino 1.0.5 to Latest Arduino. I am using TX2 and trying to install Arduino 1.8.1 but I am getting error as
“./arduino: line 35: /opt/arduino-1.8.1/java/bin/java: No such file or directory”
I am not sure if any of above suggestions are working or not on TX2.
This same symptom is happening when I run my own 32 bit version of java. I think your focus should lie on fixing java (You should be able to run the java command by itself without it saying the same error).
64 bit java ran fine, but then I ran into other problems with the ARM Arduino being 32 bit.
So the next goal for me is to fix java 32 bit running in the 64 bit world. If I’m running the java command by itself: jdk1.8.0_151/bin/java: No such file or directory