Page 1 of 1

[solved] application runs momentarily and disappear

PostPosted: Jul 7th, '20, 13:21
by JJF1
1. I successfully installed Arduino IDE on my dual screen Mageia 7 cinnamon desktop
2. The Arduino Desktop icon was displayed when the installation finished
3. Trying to run Arduino by pressing the desktop icon, the application screen showed momentarily and than disappeared.
4. I can (only) run it as root from the Arduino folder pressing " ./arduino " (without the quotation marks) [Arduino executable icon]. It , then, runs OK.

How can I run the application from the self generated Desktop icon as "normal" user?
Please advise
JJF

Re: application runs momentarily and disappear

PostPosted: Jul 7th, '20, 18:35
by doktor5000
JJF1 wrote:4. I can (only) run it as root from the Arduino folder pressing " ./arduino " (without the quotation marks) [Arduino executable icon]. It , then, runs OK. F

What happens when you run that as a regular user, please post the complete output here.

Re: application runs momentarily and disappear

PostPosted: Jul 7th, '20, 20:23
by JJF1
In my previous post I failed to mention that I run "./arduino " from within the folder were arduino executable is located. i.e.: /home/user/Arduino/arduino-1.8.13/
If I run it as root, it started the arduino application normally.

Following is the output when I run it as normal user

./arduino
Picked up JAVA_TOOL_OPTIONS:
Set log4j store directory /home/jacob/.arduino15
Incorrect IDE installation folder: Your copy of the IDE is installed in a subfolder of your sketchbook.
Please move the IDE to another folder.


Apparently, Arduino was installed in this PC running previous Mageia version.

How do I go from here?

JJF

Re: application runs momentarily and disappear

PostPosted: Jul 7th, '20, 20:57
by JJF1
As was obvious from the quote I added in my previous reply, I moved the arduino IDE 1.8.13 to the correct folder and now I can run it as a normal user from the desktop icon
Tks
JJF