Where does Eclipse look for eclipse.ini under Linux

后端 未结 6 1216
一个人的身影
一个人的身影 2020-12-02 17:00

I\'ve just been setting up a Ubuntu workstation and wanted to add some settings to eclipse.ini. When I searched for the file I found:

  • /etc/eclipse.ini
6条回答
  •  死守一世寂寞
    2020-12-02 17:32

    Here's how to determine which eclipse.ini file you should use (joomla.org):

    • If you downloaded Eclipse IDE manually from internet the "eclipse.ini" file is just inside the unpacked folder
    • If you installed Eclipse via terminal or software center the location of the file is "/etc/eclipse.ini"
    • In some Linux versions the file can be found at "/usr/share/eclipse/eclipse.ini". Do not use this file if you found a config file at "/etc/eclipse.ini".

    To be sure where your Eclipse folder is, check $ECLIPSE_HOME, and if not specified (these directions at least work for Juno):

    • Open Eclipse as you normally do.
    • Click Help -> About Eclipse SDK
    • Click Installation Details
    • Go to the Configuration tab
    • Find "eclipse.home.location=file:PATH". PATH is where eclipse is installed.

    sources:

    • http://docs.joomla.org/Configuring_Eclipse_IDE_for_PHP_development/Linux:

提交回复
热议问题