Can’t pin Eclipse to the taskbar in Windows 7

Mildly annoying problem with a simple solution.

If you use the Eclipse IDE on Windows 7, you may notice that it does not behave nicely on the taskbar.  If you pin it to the taskbar, once your workspace is open, Eclipse will add a second icon to the taskbar (and right-clicking it does not yield any option to pin it).  From what I’ve read, you may have to be using the 64-bit version of Eclipse to experience this issue.

To fix it, you need to add the path to your 64-bit JDK’s bin directory to your system PATH variable.  And, it needs to come before C:\Windows\system32 on your PATH.

The reason for this is Eclipse will execute under C:\Windows\system32\javaw.exe if that is the first potential JVM that it finds.  Eclipse only demonstrates this troublesome taskbar behavior when it is running under javaw.exe.  If you add a JDK path to the PATH variable that it will find first, it will use that JDK’s jvm.dll as the JVM and everything will be fine.

If you need help figuring out how to set your system PATH variable or where your JDK is installed, consult Google.  If you’re using Eclipse, then you must be a programmer, so I am assuming that you know about such things.

That’s all!

15 thoughts on “Can’t pin Eclipse to the taskbar in Windows 7”

  1. Thank’s for this Info. I was trying to get eclipse pinned to the task bar for quite a while. Also the overall performance was increased by using the JDK javaworker.

  2. This didn’t work for me. Now right clicking the Eclipse icon just does nothing? Has anyone else had this happen?

  3. Never mind, just tried it again and it worked! Looks like a restart might have been needed, though I can’t think why.

  4. thanks, that bug was really annoying and I had no idea what was causing it. This solution worked perfectly!

  5. Yeeh it works perfectly for me now. :)

    I’ve simply added the following to the Eclipse-shortcut Target (after the “…/eclipse.exe”):

    -vm “C:\Program Files (x86)\Java\jdk1.6.0_27\jre\bin”

    I set the Virtual Machine (vm) location to the bin-directory of my preffered JDK.

    Thank you!

  6. very very nice article, thanks for the sharing with us.
    My kaspersky, kaspersky antivirus, kaspersky uk Call @ 0800-090-3905 kaspersky support, kaspersky customer service, kaspersky contact, contact kaspersky, kaspersky technical support

Leave a Reply

Your email address will not be published. Required fields are marked *


*