Hello! I'm facing this issue when installing arduino on an ubuntu 16.06 on a Tegra Tx2 platform, whenever I install it, either from the website or from apt-get, when I try to run Arduino I get the following mesage:
/usr/bin/arduino: line 36: /usr/share/arduino/java/bin/java: No such file or directory
if I type java -version I get
openjdk version "1.8.0_121"
OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13)
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)
if I browse /usr/share/arduino/java/bin/ I can see the file application 'java' in there (I understand this is not the same as the java from the system, potentially a symlink?) I can even open the file on an editor (I know it's a binary, just wanted to make sure the file is there)
and idea how this can be solved?