Eclipse installation error for linux environment

had getting !
This error pop-up while developing embedded linux environment on Ubantu 19.04 version by this command :
owner@ubuntu:~/eclipse/neon-3/eclipse$ eclipse
How to fix this error ?
(This command given here: Configure Eclipse - Getting Started with Toradex)

Thank you in Advance !

1743-screenshot-from-2019-08-20-14-17-29.png

HI @lshreyash and Welcome to the Toradex Community!

Could you provide the version of the hardware and software of your module?

Concerning your issue, you should check the displayed log file!

Best regards,
Jaski

Hello @lshreyash,

Can you provide the log file please. The one to which the error message is referring to?
/home/owner/workspace/.metadata/.log

Also I like to mention that ubuntu greater than 16.04LTS is using Java 11 not java 8 anymore.
But Eclipse neon-3 uses java version 8.

I suggest using a newer version of eclipse for C/C++.

you will than of course find the eclipse under a different path. whatever the name of the newest downloaded version is. like: “eclipse/201906R/eclipse/” instead of “eclipse/neon-3/eclipse/”

Best Regards,

Matthias

I am only setup embedded linux environment and i getting error while installing Eclipse IDE Software(Eclipse Neon (4.6) version) before using colibri VF61 board and iris carrier board

Hi @lshreyash,

Did you check the answer of @matthias.tx below?

After installing the latest Eclipse IDE, now i am able to open the IDE. Now when i follow the procedure to build an application as mentioned in step by step guide Configure Eclipse - Getting Started with Toradex

I face the following error

20:15:04 **** Build of configuration Debug for project Test ****
make all
Cannot run program “make”: Unknown reason
Error: Program “make” not found in PATH
PATH=[/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/usr/games:/usr/local/games:/snap/bin]
20:15:04 Build Failed. 1 errors, 0 warnings. (took 2ms)

I also see that whenever i make a new program in eclipse, i have to set all the flags and command variable everytime. Is it normal or i have to check something else.

i get the below message when i launch eclipse from terminal.

Warning: NLS missing message: OverrideMethods_label in: org.eclipse.cdt.ui.refactoring.actions.Messages
Warning: Nashorn engine is planned to be removed from a future JDK release
Unable to find full path for “g++”
Unable to find full path for “gcc”
Unable to find full path for “g++”
log4j:WARN No appenders could be found for logger (com.spotify.docker.client.DockerConfigReader).
log4j:WARN Please initialize the log4j system properly.

@matthias.tx , I am also facing the same problem when trying to setup eclipse by following step by step guide for configuring eclipse. However,the path shown in error does not exist and so the log file.

I am installing eclipse from the same link which you gave in answer. There is no other way to trouble shoot.

I am trying to use linux for the first time and these small problems with no hints take away my enthusiasm.

Hi Nadim, can you tell me which eclipse you downloaded ? which version.
Maybe provide the exact same link.
Also please check which version of Java your machine is using.

My Ubuntu is Ubuntu 20.04 LTS, Eclipse is 2019 version.

When i check Java version i get following reply in terminal.
openjdk version “11.0.7” 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-3ubuntu1)
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-3ubuntu1, mixed mode, sharing)

I hope all the utilities are installed proper.

I want to build a simple c,C++ program to run on my hardware and display a basic GUI on the touchscreen attached to my board

Hello Nadim,

I think your Ubuntu version is very new.
In our tutorial we mention the following
Note: On versions newer than Ubuntu 16.04 LTS, you must choose to either replace Java 11 by Java 8 or use a newer version of Eclipse.
So use an older version of ubuntu or download a newer version of eclipse that is working with JDK 11.0.7

I cannot change Ubuntu. The only option I am left with is installing eclipse. Anyways my current eclipse is 2019. Anyways I will install eclipse 2020 and check.

Hello Nadmin,

ok