Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation for Eclipse in system directory #1700

Smedzlatko opened this issue May 25, 2018 · 6 comments


Copy link

commented May 25, 2018

Hi, I am quite struggling with installing lombok to my Eclipse running on Ubuntu 18. Even when running the installer as root, it still complains that it cannot write to /snap/eclipse/12 directory, because of missing permissions. Could someone point me to the correct procedure of installation to a system directory?


This comment has been minimized.

Copy link

commented May 27, 2018

Hi, maybe you need to change the permissions of directory (/ snap / eclipse), try running this command on the linux terminal :
sudo chmod 777 -R /snap/eclipse


This comment has been minimized.

Copy link

commented May 27, 2018

I don't think so. The root just doesn't care about the standard file modifiers, the access is always granted. There may be other kind of permissions missing or a different problem producing a wrong error message, I can't tell. Concerning writing to the directory, I'd try echo > /snap/eclipse/12/foobarbaz as root, maybe the reason becomes clear.

@Smedzlatko Maybe temporarily granting the whole subtree to yourself (chown -R smedzlatko /snap/eclipse), installing Lombok and then changing back might work.


This comment has been minimized.

Copy link

commented May 28, 2018

You can "install" lombok by hand, modifying eclipse.ini. To get the instructions, launch lombok.jar and click on the link "Show me what this installer will do to my IDE installation".

@rspilker rspilker closed this May 28, 2018


This comment has been minimized.

Copy link

commented Jun 21, 2018

I am having this issue as well, is the only current option to install it by hand? (running lombok-1.16.22.jar)


This comment has been minimized.

Copy link

commented Aug 29, 2018

Just to give a little more perspective, the way to get a nice, current version of eclipse on ubuntu is to install it with snap (
Snaps are self-contained and read-only squashfs volumes that ubuntu mounts (squashfs is always read-only, so you can't get around that with chmod) using the snap command. Its especially appealing for eclipse because of how difficult java is to version, and that java versions don't line up with ubuntu releases.

So the problem isn't "we need to install it by hand." It's that we can't install it in a read-only partition.

As I see it, I think we have four options:

  1. We could use overlayfs to add a layer on top that is writeable in order to modify eclipse.ini.
  2. Add an argument to eclipse startup so that it uses a different eclipse.ini.
  3. Install eclipse manually (and then KEEP installing it manually every time we need an upgrade).
  4. Figure out how to make lombok work the same way that all the rest of the eclipse plugins do - where it doesn't need to write to eclipse.ini to work.

I don't really like any of the options except the last one; they all seem like kludges. Unfortunately, I don't know how to do the last one (or if it's possible).


This comment has been minimized.

Copy link

commented Oct 1, 2018

Try this link. I used it to copy my eclipse.ini and add -javaagent:lombok.jar. It's working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
7 participants
You can’t perform that action at this time.