- Locate the Eclipse executable, i.e., eclipse.exe
- Right-click on eclipse.exe and choose "Create shortcut" to create a shortcut for eclipse.exe.
- The shortcut will be named as "eclipse - Shortcut". Rename it as "eclipse"
- Right-click on the shortcut and choose "Properties"
- Add a command line argument to "Target" for the shortcut resembling
-vm "C:\Program Files\Java\jdk1.7.0_55\jre\bin\server\jvm.dll"
Note that you must change "jdk1.7.0_55" to match version of your JDK. - In Windows 8.1, search "system environment variables" and choose "Edit system environment variables". Add your JDK's bin path to the PATH environment variable, e.g.,
C:\Program Files\Java\jdk1.7.0_55\bin
Note in the above, change "jdk1.7.0_55" to match version of your JDK. - Launch Eclipse by double-clicking on the shortcut
- Once Eclipse pass the choosing Workspace stage and fully loaded, right-click the eclipse icon on the taskbar, choose "Pin this program to taskbar"
The above solution is hinted in a post of the threat. The post also points to a relevant Eclipse bug report and the report also helps me to come out the solution.
By the way, pinning a program results a shortcut is created in the directory of
%USERPROFILE%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
No comments:
Post a Comment