Wednesday, November 13, 2013

A Java Runtime Environment must be available in order to run ... No Java Virtual Machine was found in the path

In some Ubuntu Desktops (while not in all) I have found the below error when trying to run Eclipse or Talend from gnome shortcuts:
A Java Runtime Environment must be available in order to run ... No Java Virtual Machine was found in the path ...
I solved it adding the -vm option to the command, for example:
${path-to-talend-binary} -vm ${path-to-jdk}/bin
Why gnome does not find the path when it is included in the profile of the user? Running "${path-to-talend-binary}" directly from the path does work.

No comments:

Followers