Go Down

Topic: I cant get the IDE to run on Ubuntu 18.10 and 19.04 - SOLVED (Read 614 times) previous topic - next topic

BobTrex

Hi

I am pretty new to Linux so pardon my ignorance.

I have followed the installation instructions on two machines, one with Ubuntu 18.10 and one with the newly released 19.04. Both are Intel architecture and 64bit installation. 
Both the installation went ok and the desktop icon is created.  However when i click the IDE icon the IDE does not start up and there is no error message.


Any help appreciated.

Thanks and Regard

pert

I've ran Arduino IDE 1.8.9 on both those versions of Ubuntu so it's definitely possible.

Make sure you used the "Linux 64 bits" link from the download page, and not the "Linux ARM 64 bits" link. That has been causing some confusion lately.

If that doesn't solve the problem, start Arduino from the terminal and then post here any output that is printed. Hopefully that will give us some information about the problem.

BobTrex

Thanks for the reply.  Yes got the Linux 64 bit version download.
What script do you run to start from terminal ?  will give a try tonight.
Many Thanks

BobTrex

Hi

Tried this and it looks like some kind of java issue.  Appreciate any help.

rob@Rob-cube1:~$ uname -a
Linux Rob-cube1 5.0.0-13-generic #14-Ubuntu SMP Mon Apr 15 14:59:14 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
rob@Rob-cube1:~$ arduino
/usr/local/bin/arduino: line 35: /home/rob/Downloads/arduino-1.8.9/java/bin/java: cannot execute binary file: Exec format error

BobTrex

Java has execute permission.
rob@Rob-cube1:~/Downloads/arduino-1.8.9/java/bin$ ls -g
total 940
-rwxrwxr-x 1 rob  70800 Dec  6 11:04 java
-rwxr-xr-x 1 rob  70928 Dec  6 11:04 jjs
-rwxr-xr-x 1 rob  70928 Dec  6 11:04 keytool
-rwxr-xr-x 1 rob  70952 Dec  6 11:04 orbd
-rwxr-xr-x 1 rob  70928 Dec  6 11:04 pack200
-rwxr-xr-x 1 rob  70928 Dec  6 11:04 policytool
-rwxr-xr-x 1 rob  70928 Dec  6 11:04 rmid
-rwxr-xr-x 1 rob  70928 Dec  6 11:04 rmiregistry
-rwxr-xr-x 1 rob  70928 Dec  6 11:04 servertool
-rwxr-xr-x 1 rob  70952 Dec  6 11:04 tnameserv
-rwxr-xr-x 1 rob 221872 Dec  6 11:04 unpack200
rob@Rob-cube1:~/Downloads/arduino-1.8.9/java/bin$

gbafamily

Try running the IDE from command line. This should eliminate problems with using the wrong arduino executable.

Code: [Select]
cd ~/Downloads/arduino-1.8.9
./arduino &

BobTrex

Well it turns out that I did have the ARM executable installed.  Uninstalled , deleted and installed the Linux files and running ok now.

Thanks very much for the help.

pert

You're welcome. I'm glad to hear it's working now. Enjoy!
Per

Go Up