user1769255
user1769255

Reputation: 303

eclipse.ini file not present on Mac

I am trying to alter my eclipse configuration, but the eclipse.ini file is not present in my eclipse installation directory.

I am on Mac os x with eclipse 4.2.1 Juno.

Did the eclipse.ini file get replaced with the config.ini in eclipse/configuration?

Upvotes: 25

Views: 48473

Answers (10)

AppleTree
AppleTree

Reputation: 1

On Mac Catalina

move mat.app into mac ~/Application, then use it directly

Upvotes: -1

Suresh Gannaram
Suresh Gannaram

Reputation: 41

On Mac High Sierra

Go to : Applications > Eclipse (Right-click on the icon and select "Show Package Contents") > Contents > Eclipse

Upvotes: 4

Appleshell
Appleshell

Reputation: 7388

The file should be found at Eclipse.app/Contents/MacOS/eclipse.ini

For example: /Applications/eclipse/Eclipse.app/Contents/MacOS

Alternatively it might be found instead at Eclipse.app/Contents/Eclipse/eclipse.ini (Both possibilities are noted in different parts of the wiki documentation, and it may be that /Eclipse/ is used for newer versions.)

Upvotes: 36

Pierre Thibault
Pierre Thibault

Reputation: 2073

I was using STS and the file was named differently. It was located at /Applications/STS.app/Contents/Eclipse/STS.ini.

Upvotes: 0

ifelse.codes
ifelse.codes

Reputation: 2389

Yes For Eclipse NEON it should be

/Users/username/eclipse/jee-neon/Eclipse.app/Contents/Eclips‌​e/eclipse.ini

Upvotes: 0

Kyle Bridenstine
Kyle Bridenstine

Reputation: 6383

For Eclipse Mars the location moved on Macs to the Eclipse folder.

myComputerName:Eclipse myDriveName$ pwd
/Users/myUser/eclipse/jee-mars2/Eclipse.app/Contents/Eclipse
BYOD-1170:Eclipse ijet-sd$ ll
total 16
drwxr-xr-x   7 ijet-sd  staff   238 Mar 24 13:54 .
drwxr-xr-x   6 ijet-sd  staff   204 Jan 19  2016 ..
-rw-r--r--   1 ijet-sd  staff    60 Sep  2  2015 .eclipseproduct
drwxr-xr-x  12 ijet-sd  staff   408 Mar 24 13:54 configuration
drwxr-xr-x   2 ijet-sd  staff    68 Jan 19  2016 dropins
-rw-r--r--   1 ijet-sd  staff  1113 Mar  1 12:23 eclipse.ini
drwxr-xr-x   3 ijet-sd  staff   102 Jan 19  2016 readme

Upvotes: 0

fIwJlxSzApHEZIl
fIwJlxSzApHEZIl

Reputation: 13290

As of Neon the default install location is not /Applications but /Users/username/eclipse.

My installation was at:

/Users/username/eclipse

The 'app' was at:

/Users/username/eclipse/jee-neon/Eclipse.app

And the 'eclipse.ini' file was at:

/Users/username/eclipse/jee-neon/Eclipse.app/Contents/Eclipse/eclipse.ini

Upvotes: 2

On mac machine do the following to see eclipse.ini file

  1. Right click on eclipse icon as in image.(Note: From which ever folder it was installed)
  2. Select Show Package Contents second option from list.
  3. Select Contents-->MacOS-->eclipse.ini file

enter image description here

Upvotes: 18

donsasikumar
donsasikumar

Reputation: 31

Alternatively, in eclipse installation folder, Right click on 'eclipse' (alias or a symbolic link) -> Show Original -> eclipse.ini

Upvotes: 0

Ashish
Ashish

Reputation: 14707

Here is how you reach that file.

  1. If your eclipse link is in dock. go to the link press the control key and left click and go to option and select show in finder. enter image description here

  2. Once you see the link in finder. go to the link and press the control key and left click and select Show package Content. enter image description here

  3. go to Contents -> MacOS -> eclipse.ini and open in your favorite text editor. enter image description here

Upvotes: 74

Related Questions