Where's the location of the eclipse.ini file?

I know this is a silly question, but I can't seem to locate the eclipse.ini file for the IDE. I've looked in my installation directory as well as searched for the file itself in file explorer and can't find it. Can anyone help me with this?


Solution 1:

It should be right beside the executable.

enter image description here

Solution 2:

enter image description here

For MacOs Users:

  • Search for Eclipse in finder.
  • Right-click or secondary click or Control-click on Eclipse App as shown on the picture. Click on "Show package contents"
  • you can find the eclipse.ini under Contents>Eclipse folder.

enter image description here

Solution 3:

In Linux

I give you three possible methods:

  • The most effective method is using the command locate. Write in terminal

    locate eclipse.ini

  • Apart from that, as said in @JoeC answer, it should be in the same directory as the eclipse executable. A link to the eclipse executable is found in /usr/bin , therefore typing in terminal following command will show you the directory of the executable

    ls -l /usr/bin | grep 'eclipse'

  • The last option is to find the executable directory by following the icon in your Menu Editor (but I think that depends highly on your Linux flavour)