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.
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.
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.