44

我似乎无法正确地将快捷方式固定到朱诺。我在早期版本的 Eclipse 中从来没有遇到过这个问题。

我已经尝试过这种方法如何使 Eclipse 在 Windows 7 任务栏中表现良好? 但这对我没有用。

发生的情况是,当我运行 eclipse.exe 时,任务栏中会显示新的闪亮 Juno 图标,但是当它完成加载并且我可以选择工作区时,图标会切换到“Java EE IDE”图标并固定该图标不会'不工作。

有人遇到同样的问题吗?

4

13 回答 13

46

我面临着同样的问题。我做了几件事:

1.将此添加到eclipse.ini的开头

-vm
C:/Program Files/Java/jre6/bin/server

2.更新了eclipse定义——使用eclipse中的更新检查。我仍然没有得到 pin 选项(图标显示 Java EE)

3.Updated Windows 并重新启动我的系统。

瞧!有效!希望它也适合你!

于 2012-07-09T19:25:46.393 回答
25

我遇到了同样的问题,首先是新的 eclipse juno 图标,然后是 windows 任务栏中的旧 eclipse ide ee 图标。我所做的是在 eclipse 插件文件夹中搜索 png 文件,并尝试识别新图标和旧图标。

我发现旧的来自我计算机上的 eclipse-juno\plugins\org.eclipse.epp.package.jee_1.5.0.20120131-1544,而新的位于 eclipse-juno\plugins\org.eclipse。平台_4.2.0.v201206081400。

在 epp jee 文件夹中,我为 javaee-ide_x16、_x32 和 _48 png 文件创建了备份,然后从 org.eclipse.platform 文件夹中将图标 eclipse_16、_32 和 _48 png 文件复制到 epp jee 文件夹并将它们重命名为 javaee- ide_x16、_x32 和 _48。

之后我重新启动了 eclipse juno,任务栏图标是新的闪亮图标。

希望这会有所帮助,干杯

于 2012-07-17T14:01:39.163 回答
6

如果您创建指向可执行文件的快捷方式,您可以将快捷方式固定到任务栏。

于 2012-10-10T01:36:11.943 回答
3

ganeshk的解决方案对我不起作用。然后我在Eclipse Bugzilla上找到了简单的解决方案。

您需要 固定一个正在运行的 Eclipse 实例,然后它会按预期运行。

于 2013-02-26T15:54:37.353 回答
3

接受的答案有效。但是,它也更改了出现在About Eclipse面板上的功能图标,然后与Eclipse.org功能的图标发生冲突。

为了在Eclipse Packaging Project的 About 面板上获得正确的Java EE IDE图标,请编辑位于图标所在文件夹中的about.ini文件,并更新“ featureImage= ”以指向旧的 _x32 图标。

干杯!

于 2013-09-09T10:28:56.417 回答
2

做一个小实验,如果您进行基本的 Eclipse 安装,似乎会出现闪亮的 Juno 图标,但是如果您安装 Java 或 Java EE 版本(这是您似乎拥有的版本,Olle),那么该图标会软件加载后立即覆盖在任务栏上。我也很失望,我的任务栏上没有闪亮的新图标,但我需要 Java 插件,我不愿意手动安装它们以获得漂亮的图标。

于 2012-07-11T16:04:59.393 回答
1

这对我有用:

1 - 在桌面上复制/粘贴可执行文件“eclipse.exe”

2 - 固定到任务栏

3 - 删除桌面可执行文件

4 - 右键单击​​任务栏中的 eclipse 图标 > 右键单击​​列表中的 eclipse 图标 > 属性

5 - 更改可执行文件的路径(目标:..../eclipse.exe)并更改目录(开始于:)

奇怪,但它对我有用!

于 2014-08-26T10:11:08.263 回答
1

这对我很有用...但一开始不是...因为我将这些行添加到 eclipse.ini 的末尾...您必须将其添加为第一行

http://androblip.huiges.nl/2011/10/11/how-to-get-eclipse-to-pin-to-taskbar-in-windows-7/

于 2013-08-10T14:26:14.363 回答
1

首先,您是否验证了您的安装确实使用了 eclipse.ini 中指向的 VM(通过在 about 对话框 -> 安装详细信息 -> 配置中检查它)并且它确实是 JVM 的 DLL 版本,而不是可执行文件?

您能否通过 Juno 的经典(甚至仅平台二进制)下载验证它是否适合您?这听起来可能很愚蠢,但是您在启动后使用另一个图标(因为您选择了 Juno 包)对它的注释让我认为 Windows 可能会以某种方式被这些不同的图标混淆。

于 2012-07-05T19:55:05.457 回答
1

http://rianjs.net/2010/11/how-to-pin-eclipse-to-the-windows-7-taskbar

这对我有用。(带有 Eclipse Juno 4.2 和 jre7 的 Windows 7)

于 2012-12-17T11:37:16.010 回答
0

您可以通过右键单击资源管理器窗口中显示的可执行文件来固定它。

于 2012-07-09T21:11:12.460 回答
0

I had another Eclipse (3.7.2) already pinned in the task bar. That shortcut was pointing to the same VM as the new Eclipse (4.2.0). I had to unpin the 3.7.2 and then REBOOT the operational system. Otherwise Windows would not allow me to pin the new Eclipse. The right click even started, so no options to pin was displayed!

If I let the old pin to the 3.7.2 in the task bar and then started the 4.2.0, after loading my workspace the active icon in the task bar always changed to the 3.7.2 pin. So.. well, I think you need to unpin your old Eclipse (if the case), reboot your OS and then you open and pin your new Eclipse. Perhaps restart the explorer.exe would do the trick?

Just one note, I removed the pin to the 3.7.2. Don't know if you can have multiples pins to multiples Eclipses with the same -vm argument.

--- Edit ---
Nope, restarting the "explorer.exe" doesn't work. =)

于 2012-07-12T13:17:14.417 回答
-1

如果您已经安装了 eclipse 在您的计算机中搜索 eclipse.exe 文件,然后创建一个快捷方式或将其固定在任务栏上。

如果你还没有安装 Eclispse。从(http://eclipse.org/)下载正确的版本并安装。

于 2015-05-23T08:21:13.580 回答