What permissions do you need to run Eclipse?

I installed Eclipse, and I had problems with the denial of user rights.

I am working on Vista in a Windows domain. My user account is very limited. My boss must give administrator permission at any time when I install an application or establish a new network connection through a firewall.

Here are some of the problems that have occurred:

  • When I start Eclipse, Vista asks me every time if I want to start it. He does not remember my decision.
  • Eclipse does not remember my default workspace.
  • I installed the BIRT plugin. After the second restart, it no longer works. Vista BIRT is not working properly.

What permissions are required to run Eclipse on Windows?

+4
source share
3 answers

This problem occurs when you place the Eclipse application in a directory that is protected by Vista or Windows 7. For example, %ProgramFiles% , %ProgramFiles(x86)% or %ProgramW6432% . Unfortunately, for the full maturity of Eclipse, it still does not completely limit its actions for each user in the user space of the Windows operating system.

If you do not care where your Eclipse application is located, or you do not have administrator rights on your system, try moving the Eclipse application to a directory that is not protected by Windows.

If you have administrator rights on your system and want your Eclipse application to be placed in one of the window directories, you must make the directory writable to users. This will ensure that the Eclipse application works correctly, but be warned that it will also allow users to directly modify the files in the Eclipse application directory. You can reduce this risk by making the directory writable only for the accounts you select.

Please note that when performing any of the above solutions, there is no need to start the Eclipse application with the option “Run as administrator”.

To make the Eclipse application directory writable by users:

  • Right-click on the Eclipse application directory in Windows Explorer.
  • Select "Properties."
  • Click the "Security" tab.
  • Click the "Change ..." button to change the security permissions for the Eclipse folder.
  • If you want to allow only certain user accounts to be written to the Eclipse application directory, click the Add ... button to display these accounts in the Groups or Usernames list.
  • One at a time, select each account that will be granted to access the entry in the Eclipse application directory, and then select the "Change / Allow" check box to enable this check box.
  • Conversely, if you want all users of the system to be able to use Eclipse correctly, select the "Users (your computer_name \ Users)" group from the "Groups or usernames" list, and then select the "Change / Allow" check box so that the check box is selected .
  • After all relevant users have been granted write access to the Eclipse application directory, click OK. Now you can start Eclipse without any problems.
+6
source

tharkun's answer is correct, but I just wanted to post a “more correct” answer for anyone who finds this question in the future.

For some reason, Eclipse needs administrator privileges on Windows 7 and Windows Vista machines. To do this once, right-click the Eclipse executable or shortcut and click Run as Administrator; to make it permanent, go to the properties, compatibility tab and check the box "Run this program as administrator".

Despite the Tarkun position, he may have forgotten that Eclipse has no installer; you just unzip it. No reinstallation required. If you usually start Eclipse and find something wrong and just found this answer, you can safely run Eclipse as an administrator from now on and nothing will be broken as a result of not starting the administrator to this point.

Problems with Eclipse that require administrator mode are not immediately displayed, but, for example, if you check for updates with Eclipse running in non-administrator mode, Eclipse claims that there are no update sites available. Also, some GUI features will have problems.

These problems are probably caused by some advanced UAC features designed to protect your system, such as UAC Virtualization . Eclipse can (and hopefully will) be fixed to write only in user space and "play well" with other Windows applications, but for now we just need to run it as an administrator and hope that it does not take advantage of the added privileges.

As a side element, I just spent a few hours trying to figure out how to get Eclipse to write inside the% AppData% directory, hoping that it will solve this problem and allow Eclipse to run in user mode, but I could not force Eclipse to comply with everything that I tried it. Oh good...

+2
source

eclipse requires write permissions to the application folder

it should be in the folder with write permission to the user, i.e. % LOCALAPPDATA% \ Eclipse,. if u put it in% programfiles% \ Eclipse, it cannot write configuration files or plugins

The application has no installation. it saves configuration files in the default application folder. the official installation path is "c: \ eclipse" and they forgot to mention that write permission is required

https://wiki.eclipse.org/Eclipse/Installation

Uncompress this file to the directory of your choice (for example, "c: \ eclipse" on Windows) and make sure that you have full Read and Execute permissions.

0
source

All Articles