Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make Eclipse behave well in the Windows 10 taskbar and program search?

This question is very similar to its famed windows 7 counterpart, but the same solution no longer works on windows 10 so it seems like the new platform is worthy of its own question.

Of course, everybody who uses eclipse on windows has hit this age old bug at one point of another - documented here - but for those who aren't familiar, the TL;DR is that you get two taskbar icons for eclipse because the eclipse launcher (eclipse.exe) and the eclipse workspace (JVM) are two separate processes and you can't pin the workspace process. It looks like they wont fix this in the near term so we're reliant on workarounds for now.

Has anybody gotten eclipse to work with Windows 10 taskbar? What about start menu search (a.k.a. cortana). The post here walks through start menu pinning but windows search doesn't pick up the shortcut, unfortunately

like image 765
icyitscold Avatar asked Sep 22 '15 22:09

icyitscold


People also ask

How do I make the taskbar look better in Windows 10?

To change the color and transparency of your taskbar, open the Settings menu and go to Personalization > Colors. Scroll to the bottom of the screen and make sure Show color on Start, taskbar, action center, and title bar is turned on. Choose the color you want to use and your taskbar will change to reflect your choice.

How do I add eclipse to my taskbar Windows 10?

Start it from the normal shortcut on your desktop (or wherever). Once it is loaded, then right-click the icon in the taskbar and select pin to taskbar from there. If that doesn't work, run a second copy of eclipse while the first one is still running, and do the same right-click pin option on that one.

How do I organize my taskbar in Windows 10?

Follow these steps to move your taskbar. Right-click an empty space on the taskbar, and then click to uncheck Lock the taskbar. The taskbar must be unlocked in order to move it. Click and drag the taskbar to the top, bottom, or side of your screen.


2 Answers

This is an updated version of icyitscold's answer that doesn't require uninstalling/reinstalling eclipse.

1) Unpin any eclipse icons

2) Run "eclipse.exe -clean" to clear the cache and then close eclipse

3) Modify ./plugins/org.eclipse.epp.package.xxxxx/plugin.xml
The folder varies based on which version of eclipse you are using: j2ee, java, c++ etc.
Change the appName property - call it "MyEclipse" or something.

4) Edit the eclipse.ini to add:

-vm C:/Program Files/Java/jdk1.8.0/jre/bin/server/jvm.dll 

Or wherever your JDK is before the line:

--launcher.appendVmargs 

5) Run eclipse and open a workspace, pin the eclipse icon after it's loaded.


Credit to icyitscold, Ruslan Gainutdinov, Timo Kinnunen

like image 110
Shannon Smith Avatar answered Sep 29 '22 09:09

Shannon Smith


Fix for Eclipse Neon + Oxygen + Photon + 2019‑06

This was pretty simple 2 step process, no editing required.

  1. Close all Eclipse instances and unpin the non-working icon

  2. Open up Eclipse. DO NOT PIN yet. Select a workspace, let the main Eclipse window load. Pin that (right click on the icon -> Pin to taskbar).

That worked perfectly for me.

like image 35
Charles Goodwin Avatar answered Sep 29 '22 08:09

Charles Goodwin