Where to find STS.ini file?

Solution 1:

If this build is based on Eclipse 4.5 the ini file will be in the 'Contents/Eclipse' folder of the package.

Solution 2:

I think for newer version (on STS 4.5.1 at least) it is renamed to SpringToolSuite4.ini.

You should probably be able to add your configuration opening the file with an editor like Notepad++.

Solution 3:

An easy way to locate the STS .ini file in Mac is as follows:

Go to Finder ➡️ Click Applications ➡️ Locate and right-click STS App ➡️ Click Show Package Contents ➡️ Navigate to Contents/Eclipse where you can find the .ini file (e.g. in STS 4, it is SpringToolSuite4.ini).

enter image description here