我知道这是一个愚蠢的问题,但我似乎无法找到 IDE 的 eclipse.ini 文件。我查看了我的安装目录,并在文件资源管理器中搜索了文件本身,但找不到它。谁能帮我这个?
eclipse.ini 文件的位置在哪里?
答案:
In Linux
I give you three possible methods:
The most effective method is using the command
locate
. Write in terminallocate eclipse.ini
Apart from that, as said in @JoeC answer, it should be in the same directory as the
eclipse
executable. A link to theeclipse
executable is found in/usr/bin
, therefore typing in terminal following command will show you the directory of the executablels -l /usr/bin | grep 'eclipse'
The last option is to find the executable directory by following the icon in your Menu Editor (but I think that depends highly on your Linux flavour)
I was facing the same problem. I searched my system completely and found it in "User". User had two more folders, in my laptop it was Lenovo and Public. I found a folder named eclipse in Lenovo, clicked on it and got another folder named java-2022-032 in which the file eclipse.ini was present. Name of file was eclipse and its type was "configuration setting". This is your file. (You can also see the properties to check if its type is .ini or not.)
It should be right beside the executable.