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?