I make Eclipse Plugins and I sell them to developers using Eclipse. Most of the visitors to my web site are not Eclipse experts. One of my key challenges is getting them to successfully install and try my software. It sounds simple, but Eclipse plugin installation is somewhat complex and error-prone process.

The safest way to install a plugin in Eclipse is by using the update manager as opposed to using the Dropins folder or manually copying files. It is safer because Eclipse performs more checks to ensure everything is in order. For example, it can check that all the dependencies are met.

Lately, I got several reports from users who failed to install my plugin using the update manager. After some research and with the assistance of some devoted users, I located a major issue: Installing Eclipse plugins on Windows Vista & 7 with User Access Control (UAC) on, fails if Eclipse is installed in the Program Files folder.

It is a very common scenario: many users are already running Windows 7, the UAC is on by default and the Programs Files folder is where most of the applications are installed, especially custom Eclipse distros that come with fancy Installers. It is a frustrating issue because the plugin installation appears to be complete: it will not issue any error message and, after restarting the platform, it will even show up properly in the Installation Details box. However, the plugins and features JARs are not copies, hence the plugin in not installed.

There are several possible work arounds for this issue: (starting from the easiest)

  • Before the installation, start Eclipse with "Run as Administrator" option.
  • Turn off the pesky UAC (for the installation or, better yet, altogether).
  • Install Eclipse in a different folder. Eclipse doesn't have to be in the Program Files folder.
  • Switch to Linux or Mac.

Clearly, the way Eclipse is handling it is bogus and should be fixed. This problem has been around since the days of Vista and Eclipse 3.3. I understand that installing a plugin in this case is an issue, so the least Eclipse should do is fail the process and not mislead the non-suspecting user. If you agree, you might want to vote on this bug (there are several bugs on this topic).

PS. If you're looking for more useful tips on installing Eclipse plugins, check out this article. It was written for Galileo but still applies to Helios.

PS2. I know, I wrote an entire article on Eclipse plugins installation and never once mentioned P2. So, there, I mentioned it.

From http://blog.zvikico.com/2010/08/eclipse-plugin-installation-and-windows-user-access-control.html

The Java Zone is brought to you in partnership with ZeroTurnaround. Check out this 8-step guide to
see how you can increase your productivity by skipping slow application
redeploys and by implementing application profiling, as you code!

Eclipse Plugin Installation and Windows User Access Control的更多相关文章

  1. Windows Azure Virtual Network (10) 使用Azure Access Control List(ACL)设置客户端访问权限

    <Windows Azure Platform 系列文章目录> 本文介绍的是国内由世纪互联运维的China Azure. 我们在创建完Windows Azure Virtual Machi ...

  2. windows访问控制列表 --ACL(Access Control List)

    1.定义 ACL是一个windows中的表示用户(组)权限的列表. Access Control List(ACL) Access Control Entry(ACE) ... 2.分类 ACL分为两 ...

  3. Windows平台上使用ANT编译Hadoop Eclipse Plugin

    一.准备工作:   1.安装JDK 下载页面:http://www.oracle.com/technetwork/java/javase/downloads/index.html JDK6,JDK7都 ...

  4. 【windows 访问控制】七、window 访问控制编辑器(Access Control Editor)

    window 访问控制编辑器(Access Control Editor) 右键(文件.目录.程序)>选择属性>安全>高级   进入访问控制编辑器

  5. Oracle Applications Multiple Organizations Access Control for Custom Code

    档 ID 420787.1 White Paper Oracle Applications Multiple Organizations Access Control for Custom Code ...

  6. The J-Link hardware debugging Eclipse plug-in

    Quicklinks If you already know what are the features of the new plug-in and just want to know how to ...

  7. Eclipse plug-in startup

    Plug-in Startup !SESSION 2013-09-02 16:28:29.546 -----------------------------------------------ecli ...

  8. Browser security standards via access control

    A computing system is operable to contain a security module within an operating system. This securit ...

  9. Access control differentiation in trusted computer system

    A trusted computer system that offers Linux® compatibility and supports contemporary hardware speeds ...

随机推荐

  1. Codeforces Round #445 C. Petya and Catacombs【思维/题意】

    C. Petya and Catacombs time limit per test 1 second memory limit per test 256 megabytes input standa ...

  2. 网络防嗅探工具SniffJoke

    网络防嗅探工具SniffJoke   在渗透测试中,通过网络嗅探,可以获取网络通信主机的各种信息.为了防止嗅探,Kali Linux提供了专用工具SniffJoke.该工具能够自动对用户的网络数据进行 ...

  3. [POI2014]Supercomputer

    题目大意: 给定一个$n(n\le10^6)$个结点的有根树,从根结点开始染色.每次可以染和已染色结点相邻的任意$k$个结点.$q(q\le10^6)$组询问,每次给定$k$,问至少需要染几次? 思路 ...

  4. 浅析Oracle PL/SQL 学习--未完待续

    这是一篇关于Oracle Pl/SQL数据库编程的课程学习分享... 首先说明几点: 学习这门课程之前,已经学过并且掌握一些基础的SQL语句.数据库结构分析.ER图设计等知识: 这里也只是较为大概地将 ...

  5. maven配置memcached.jar

    由于目前java memcached client没有官方的maven repository可供使用,因此使用时需要手动将其安装到本地repository. java memcached client ...

  6. [读书笔记] CSS揭秘-背景与边框

    半透明边框 默认情况下,背景会延伸到边框所在的区域下层.可以通过background-clip属性调整该默认行为. border: 10px solid rgba(0,0,0,.2) backgrou ...

  7. Redis(二)linux下redis安装

    上篇讲解了redis在windows下的安装,接下来看看在linux下如何安装redis(纯菜鸟入门级别)? (1)redis的下载及编译 这里,首先进入存放文件目录(我的云服务器的是:cd /jel ...

  8. 【微信】微信小程序 新建页面目录后,怎么自动生成目中的的四个基本文件呢? 新建目录报错如下VM458:2 未找到 app.json 中的定义的 pages "pages/module/module" 对应的 WXML 文件

    如下图,在使用微信开发者工具过程中,新创建了页面目录,想要页面文件夹中自动生成四个基本文件 但是新创建了一个页面文件夹,里面的四个基本文件并没有展示出来 然后在app.json添加这个路径,ctrl+ ...

  9. iis7文件夹 首页设置

    iis7在默认文档中可以设置首页,一般可以直接设置网站根目录下的页面为首页,但是当页面不在根目录下时,直接按路径添加就不行了,如“admin/default.aspx”.添加完后只有“default. ...

  10. swift初探(供objective c开发人员參考)

    6月初的wwdc苹果推出了一门新的开发语言swift.系统10.9.3以上安装xcode6 beta版就可以体验swift. 苹果公司做了尽可能多的努力让这门语言迅速成为一个工业级的有用编程语言,而不 ...