博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Eclipse Plugin Installation and Windows User Access Control
阅读量:6701 次
发布时间:2019-06-25

本文共 2633 字,大约阅读时间需要 8 分钟。

I make 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 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 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 (there are several bugs on this topic). 

PS. If you're looking for more useful tips on installing Eclipse plugins, check out . 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

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

转载地址:http://gfwlo.baihongyu.com/

你可能感兴趣的文章
C# ArrayList(数组列表)
查看>>
新近碰到的病毒(TR.Spy.Babonock.A)
查看>>
Eliminate Witches!
查看>>
ToString格式化
查看>>
HDU 4819 Mosaic D区段树
查看>>
js小技巧
查看>>
拖动条SeekBar及星级评分条
查看>>
分享20个Android游戏源码,希望大家喜欢哈!
查看>>
Metro Style App开发快速入门 之文件选择总结
查看>>
部分背包问题的贪心算法正确性证明
查看>>
AutoCAD 命令统计魔幻球的实现过程--(2)
查看>>
关于Tool接口--------hadoop接口:extends Configured implements Tool 和 ToolRunner.run
查看>>
开源欣赏wordpress之post.php
查看>>
Fabio 安装和简单使用
查看>>
tp5中的配置机制
查看>>
OpenGL入门笔记(九)
查看>>
phpcms使用session的方法
查看>>
对PostgreSQL数据库的hstore类型建立GisT索引的实验
查看>>
隐马尔可夫模型(七)——隐马尔可夫模型的学习问题(前向后向算法)
查看>>
Docker 部署 SpringBoot 项目整合 Redis 镜像做访问计数Demo
查看>>