Location of eclipse.ini file on Mac OS X


There are times when we need to make certain configurational changes for the eclipse, one of such file is eclipse.ini (informal standard for configuration). If you have worked with Eclipse on Windows Operating System then you would see the file inside eclipse folder, but I was not able to locate it on Mac OS X,

The ini file is bundled within the executable eclipse file (icon), to access it, Right-click on Eclipse icon, Show Package Contents, now you would be able to see a directory: Contents, Click on it and you would see MacOS directory, get in it, and you would be able to see the eclipse.ini file.

eclipse.ini
eclipse.ini

You can open this file with any text editor, the file contents look something like this,

-showsplash
org.eclipse.platform
-startup
../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20120913-144807
-product
com.android.ide.eclipse.adt.package.adtproduct
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Xms512m
-Xmx1024m
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts


















Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap