Arduino IDE 1.8.5 load error

I am running arduino IDE under Ubunutu Linux 17.10 (64 bit version) using GNOME 3.26.2.

I loaded the Arduino IDE (version 1.8.5 for 64-bit Linux).

First off, no icon was placed on the launch bar or desktop. So, I tried launching the IDE from a terminal window.

It failed to launch. See attached PDF for results. Any suggestions as to what happened and how to remedy are welcomed.

Launch_err.pdf (27.1 KB)

Why are you running it as root? Does your desktop also run as root?

I have never had any problem running the Arduino IDE on Linux - though only on 32 bit (never tried 64 bit). When I was using Puppy Linux everything ran as root and there was no problem.

What version of Java do you have? I am using

java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) Server VM (build 25.91-b14, mixed mode)

but I know it has also worked on earlier versions.

How have you installed the Arduino IDE?

I just download the IDE and extract the zip tar.xz file to somewhere convenient and then double-click the arduino file.

...R

When I was using Puppy Linux everything ran as root and there was no problem.

I got the impression that OP is running it's desktop as non-privileged user but starts the IDE in a root terminal (or console), so the X display is not available.

Why would you post the output as a .pdf. That's just crazy. I shouldn't need to download some file just to read 25 lines of text.

This type of error is encountered when trying to run the Arduino IDE "headless". You can use the Arduino IDE's CLI that way but you won't be able to actually load the GUI without a display.

launching application problem..plj help..nd i run this as a root..

utkarsh6509:
launching application problem..plj help..nd i run this as a root..

You need to give us a lot more information.

...R

i install arduino ide today..and the desktop icon comes easily..but while i click on the shortcut icon on desktop it shows a error...there was a error launching the application..and i am working on a kali linux os..

utkarsh6509:
i install arduino ide today..and the desktop icon comes easily..but while i click on the shortcut icon on desktop it shows a error...there was a error launching the application..and i am working on a kali linux os..

How did you install the IDE?

The way I use it I don't bother with any desktop Icon so you have probably installed yours through a different process.

...R

utkarsh6509:
i am working on a kali linux os..

Kali Linux is for advanced users. Your behavior here indicates you are far from that. Therefore I'm guessing you're a script kiddie.

pert:
Kali Linux is for advanced users.

I had not checked that. I am currently using Linux Mint which is a variation of Ubuntu.

...R