Pin Eclipse Helios to Windows 7 Taskbar
July 15, 2010 48 Comments
Eclipse 3.6 “Helios” has Windows 7 taskbar jump lists and can be pinned to the task bar like a native app but they don’t work out-of-the-box. The jump lists items generate a bonk error dialog complaining that Java cannot be found and the pin this program to taskbar option is missing.
In order for the Windows 7 taskbar features of Eclipse 3.6 to work, eclipse needs to know where Java is installed. That means editing eclipse.ini to add a ”-vm” argument followed by the path to your Java runtime. Eclipse.ini is located in the same directory as eclipse.exe and the “–vm” argument has to be the very first line in eclipse.ini or Eclipse will complain a big error dialog that says the Java VM could not be found and refuse to start.
After adding the path to your Java runtime environment to eclipse.ini, start Eclipse but wait until after Eclipse has finished loading your workspace before attempting to pin it to the taskbar. Once the workspace has been loaded, you can pin the Eclipse icon to the Windows 7 taskbar and it will work like any other app. If you don’t wait until after the Workspace is running, you’ll end up getting a second eclipse icon every time you start Eclipse just like with Eclipse 3.5 and Netbeans 6.8.
This solution is working for me Eclipse 3.6.0 for Windows 64 bit running on Sun (Oracle) Java 1.6.0_20 64-bit on Windows 7 x64 Enterprise.
Via bugs.eclipse.org: bug 314805.
Thank you! This little quirk was driving me mad!
Thanks alot, this helped me aswell running Eclipse Helios PDT on Java 1.6.0_21 Win 7 Profssional x64.
Thank you very much. So annoying.
Thanks for the hint about when to pin Eclipse to the Win 7 taskbar
Thanks a lot, the double icons in the taskbar where driving me crazy.
Thanks a lot! 🙂
Excellent, easy fix! One minor issue is that when you pin it to the taskbar it reverts from the Eclipse EE logo to the standard Eclipse logo. Any insight to this?
Thanks man! Your advice really helped!
It work, thanks a lot!
Pingback: Confluence: Engineering
Thanks! =)
Thanks a lot! 😉
Thank you very much! This was really helpful 🙂
Pingback: eclipse 아이콘을 windows 7 작업 표시줄에 고정시키기 | PointBre's story
Sweet!
Thanks, works like a charm. I hated to search it all the way down to its directory and i’ve kind of lost the habit to place shortcuts on the desktop 🙂
I did this, but instead of getting an eclipse icon, I get a generic windows icon. Any suggestions on how to do this, but also get an eclipse icon?
You can right-click on pinned icons and choose properties to edit the shortcut details. There is a change icon there which you can use to browse for eclipse.exe and select the icon.
FWIW, when you pin something to the taskbar or start menu Explorer creates a shortcut in subdirectories of “%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned” named TaskBar and StartMenu respectively.
Thanks a lot for this. It worked for me on Win 7 x64.
Pingback: Pinning Eclipse to the Windows 7 “start bar” « Twisted Pair Development
Cheers =)
Thanks a bunch. It’s weird that this doesn’t work out of the box.
Thanks 🙂
Thanks, helped me too.
Thanks! You rule dude.
Thank you so much for this!!!
Thanks so much for this thing 🙂 It’s much better now 🙂
If you’re using Indigo, refer to http://kdelchev.com/posts/articles/How_to_pin_Eclipse_Indigo_to_Windows_7_Taskbar.html
—- quote —-
Eclipse Indigo didn’t naturally pin to windows7 taskbar. When run there is no “Pin to taskbar” option. However there is two line solution to fix this.
Posted on Wed, Aug 31st 2011, 15:40
After downloading and extracting Eclipse to some directory, go to it.
Mine is in C:\Program Files\eclipse, there locate and open eclipse.ini file with an simple editor and add theese lines
-vm
C:\Program Files\Java\jre6\bin
The path C:\Program Files\Java\jre6\bin is where Java runtime environment is located. If yours is in other place, change the path relevant to your location.
Note that you have to add the lines one under another! This WILL NOT WORK
-vm C:\Program Files\Java\jre6\bin
Save and close the editor and run Eclipse. Wait until fully loads and right click on the icon. You now have “Pin to taskbar” option, and there is no annoying second icon.
This works on Windows7 64bit.
I am getting second icon now.
Is there anything I can do to get rid of it?
Ignore this, I got it working.
When I pin it I see the standard eclipse icon (the purple moon so to say).
When I unpin it, the icon changes to a gear with the label “Java EE IDE”.
How do I keep the purple moon? even when unpinned 🙂 ?
Thanks
Geez that was starting to irrirate me. Thanks for the heads up about having to wait until the workspace had fully loaded before pinning.
Thanks for summarizing what is in the bug and adding screenshots. This sol’n works for me with Windows 7, 64 bit and Eclipse Indigo.
Thanks for this! Works for Helios / Windows 7 64bit
WOW! Thank you so much for this~~!
This works… Thanks… 🙂
Pingback: Eclipse an die Windows 7 Taskleiste “anheften” | crusy.net
This is excellent, thank you. Works with Juno as well.
Confirmed with Eclipse 4.2.0 Juno on Windows x64. Thanks
Thank you – that’s much better (and faster) solution than the one with changing system variable.
FYI for anyone else that runs into it. My eclipse.ini had “javaw.exe” at the end of the Java bin path, like this:
-vm
C:\Program Files\Java\jdk1.6.0_33\bin\javaw.exe
And the “Pin this program to taskbar” option was not showing up.
Not sure how it got that way, but when I changed the eclipse.ini to just have
C:\Program Files\Java\jdk1.6.0_33\bin
Then it works.
Thanks for the tip!
Thanks, works with all versions of Eclipse as far as I know.
Thanks !
It dont work for me 😦 Win7 64 bit, Eclipse Juno, Java7. I tried both Paths:
C:\Program Files (x86)\Java\jre7\bin
C:\Program Files\Java\jre7\bin
Hey Brian, this helps. Thanks!
Thanks. Works for Eclipse Indigo on Win7 64 bit.
Brian, thank you so much for your article. Worked like a charm. Like others who have posted below it was driving me nuts. Thanks again!
It’s hard to find knowledgeable people about this topic, but you sound like you know what you’re talking
about! Thanks