Where does Eclipse look for eclipse.ini under Linux

后端 未结 6 1222
一个人的身影
一个人的身影 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:13

    You probably have already found this out, chances are when you installed Eclipse the installation created (or you did manually) a file /usr/bin/eclipse which if you check it probably looks like the following:

    #!/bin/sh
    export ECLIPSE_HOME="/opt/eclipse"
    
    $ECLIPSE_HOME/eclipse $*
    

    especially if you followed instructions similar to the ones like these on If-not-true-then-false

    On the other hand if you have installed from a package, I suspect you will find that eclipse ends up in /usr/bin, most likely a symbolic link to /usr/lib/eclipse/eclipse (or at least I found it on my Fedora system after using yum to install eclipse).

提交回复
热议问题