Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make Eclipse behave well in the Windows 7 taskbar?

All other apps that can be pinned to the taskbar behave well. But Eclipse doesn't show recently open projects when I right click it. It also doesn't allow to pin some projects inside it. Note that I have the JS version of Eclipse Helios. Which spawns a new and different taskbar icon after loading.

like image 643
Jader Dias Avatar asked Mar 08 '11 15:03

Jader Dias


People also ask

How do I pin eclipse to taskbar?

Launch Eclipse by double-clicking eclipse.exe. Only once the workspace is open select "Pin this program to taskbar" from the taskbar icon.

How do I create a STS shortcut in Windows?

Step 1: Go to the folder which contains the application file. Step 2: Right click on the file and click Create shortcut . Step 3: Now drag the file to desktop.


2 Answers

Specify the latest available Java VM in your eclipse.ini. I.e.:

-vm jdk1.6.0_10\jre\bin\client\jvm.dll 
  1. Make sure they are on separate lines
  2. Anything after the "vmargs" is taken to be vm arguments

(More info)

Or alternatively add the java bin folder to your Windows PATH before the "windows32" folder, because otherwise eclipse uses "javaw.exe" in the win32 folder instead of the JDK one.

like image 160
whlk Avatar answered Sep 23 '22 02:09

whlk


Riccardo's solution from the Eclipse bug report worked for me, but I don't get recently opened projects, etc. from the task bar. Is anyone experiencing that these workarounds restore that behavior?

I have the same problem on Windows 7 x64 with Helios x64, but for me the following workaround works with the option "Always combine, hide labels" for taskbar buttons.

  • Check your "eclipse.ini" for the specified VM and make sure the path points to the bin directory of your JDK or JRE (and not to javaw.exe). For me the argument is "D:/Development/Languages/Java/Development Kit/bin/" without quotes.
  • Unpin Eclipse from the taskbar or delete the shortcut
  • Run "eclipse.exe" from the explorer and choose your workspace
  • Pin Eclipse to the taskbar after the splash screen was loaded and when the main window is shown
like image 35
Jeff Axelrod Avatar answered Sep 25 '22 02:09

Jeff Axelrod