Arduino IDE on Jetson TX2 won't start

Hello,

I am trying to install and run Arduino IDE on Jetson TX2, but when I run the installation from the folder, it says that it is installed and it creates a icon on desktop which is named arduino-arduinoide.desktop with a weird icon. When I search for Arduino IDE and run it it blinks in the taskbar and it disappears. And when I run sudo ./arduino in the installation folder it says “./arduino: line 35: /home/nvidia/Desktop/arduino-1.8.5/java/bin/java: No such file or directory…”
I have downloaded the ARM version of IDE from Arduino’s website. Can anyone help with this situation?
Thanks

Sounds like you may not have Java installed on your TX2…

Try:

sudo apt-get install default-jdk