I want to open all the .java files with Eclipse to edit instead of gedit. I tried the open with menu but eclipse isn't listed there. How to I get this done? I'm using Ubuntu Gnome 13.04 edition. I have not installed Eclipse using apt-get but have downloaded eclipse as a part of ADT-BUNDLE (Tools for Android Development).
I would like to a general method to select other program for running a file that is not listed in Other Applications as there is an option in Windows for browse to any other program.