I have installed ubuntu 11.10 on my machine and i recently installed eclipse on it. Well, from the command line it is running fine but when i made shortcut for it on desktop it is giving me error something like this
"A Java Runtime Environment or Java Development Kit must be available in order to run eclipse. No Java Virtual Machine was found after searching the following locations: /home/aaaaa/eclipse/jre/bin/java Java in your current PATH".
I have set PATH environment variable very well and i have also tested "javac" and "java" command through terminal. They both are working fine. Now in order to make my shortcut work what setting i have to make additionally?
Make a script for it, or if one is provided, link to that.
In your script you can export path before executing eclipse.
I'm not sure what the name of the eclipse jar is, but you can put in your script the explicit path of the java executable (/usr/bin/java), and have it run eclipse that way.