I have installed eclipse in Ubuntu 16.04 via Snap. And in the snap folder, I can see eclipse.
ls -al snap/
total 24
drwxr-xr-x 6 croy croy 4096 May 27 14:06 .
drwxr-xr-x 49 croy croy 4096 May 27 14:19 ..
drwxr-xr-x 4 croy croy 4096 May 27 14:04 eclipse
drwxr-xr-x 4 croy croy 4096 May 19 12:24 notepad-plus-plus
drwxr-xr-x 6 croy croy 4096 May 22 18:13 skype
drwxr-xr-x 4 croy croy 4096 May 27 14:06 vscode
I am looking for eclipse.ini
file
And the /snap/eclipse/
folder, there is no file.
ls -al snap/eclipse
total 16
drwxr-xr-x 4 croy croy 4096 May 27 14:04 .
drwxr-xr-x 6 croy croy 4096 May 27 14:06 ..
drwxr-xr-x 2 croy croy 4096 May 27 14:04 12
drwxr-xr-x 2 croy croy 4096 May 27 14:04 common
lrwxrwxrwx 1 croy croy 2 May 27 14:04 current -> 12
There is a symbolic link between 12
& current
folder but I can't see any file in any of the folder.
But If I do - sudo find / -name eclipse.ini
it gives me the following result
/snap/eclipse/12/eclipse.ini
Where/how I can find the eclipse.ini
file to change jvm
argument
The eclipse.ini file should be present in the /snap/eclipse/current directory as shown above. However you won't be able to edit eclipse.ini file. This is because snap applications are by default mounted on another read-only file system. Even sudo permissions do not work.