The eclipse icon in ubuntu 12.04 unity does not display the solution. In earlier versions of ubuntu, create a shortcut in the/usr/share/applications directory *. desktop file, which is also feasible under ubuntu12.04
1. Create eclipse in the/usr/share/applications directory. desktop. The content is as follows: [java] [Desktop Entry] Type = Application Name = Eclipse www.2cto.com Comment = Eclipse Icon =/home/lai/Software/eclipse/icon. xpm Exec =/home/lai/Software/eclipse Terminal = false Categories = Development; IDE; Java; it is easy to understand that Icon is the path of the Icon, Exec is the path of the eclipse program.
In previous versions, you can do this later, but to display eclipse on Unity, the following two steps are required:
2. After creating the desktop file, open dash and search for eclipse. The eclipse program appears. Click Open
3. After eclipse is enabled, the eclipse icon will be displayed on the left navigation bar. Right-click and choose lock to the navigation bar.