Duplicate Eclipse Icon in Windows 7 (64 bit) Taskbar

Platform: Windows 7 64-bit
Problem: Duplicate Eclipse program icon in Windows Taskbar after pinning Eclipse to Taskbar

Found this problem to be relevant for the 64-bit of Eclipse version. On 32-bit Eclipse didn't find this problem even when installed on 64-bit Windows.

The Solution: Edit eclipse.ini and add the following lines:
-vm
C:\Program Files\Java\jdk1.6.0_21\bin
Your path to your JDK/bin folder might be different than mine which is "C:\Program Files\Java\jdk1.6.0_21\bin".

Now unpin any Eclipse icon you might have pinned on your taskbar. Start Eclipse and wait for it to load your workspace. Now right click the Eclipse icon on your taskbar and pin it. Exit Eclipse and start again to test. You should now have just one instance of the Eclipse icon on your taskbar.

This solution is in reference to the Eclipse bug ID #314805. Please visit https://bugs.eclipse.org/bugs/show_bug.cgi?id=314805 for more details.


Comments


Robert Thanks for your workaround.. It works for me.
SquareWheel Afraid mine just reads "Could not create the Java virtual machine." I'll follow the bug at the tracker though, hopefully more solutions will be posted.
SquareWheel Scratch that, it turns out it had to be on the very first two lines. Thanks for the blog post, wouldn't have solved this nuisance without finding you via Google.
Me thanks for the solution - also the hint that it has to go into the first two lines helped me @ SquareWheel
anon Easier way:
1. Make sure eclipse is not pinned to taskbar.
2. Start eclipse
3. On taskbar eclipse icon right click and choose "Pin this program to task bar".
4. Exit eclipse.
5. Start eclipse from taskbar.
6. Voila!
Dave Thank you!!! This has been bugging me for about a year, finally decided to do something about it today. And I second the comment about putting those additions on the first two lines of eclipse.ini.

Your Name:
Your Email:
Comment: