Ubuntu Eclipse Icon创建

时间:2012-10-08 11:02:07

标签: linux eclipse ubuntu

我想在ubuntu上安装eclipse。我做了什么: 我解压缩了eclipse的tar存档。 我试图从命令行启动eclipse - 就像这样 - ./eclipse。有用。 但后来我尝试创建一个桌面图标: gnome-desktop-item-edit~ / Desktop --create-new。 在一个新图标中,我展示了可以从命令行启动的eclipse可执行文件的路径。但是日食并没有开始说明:

A Java Runtime Environment (JRE) or Java Development Kit (JDK)
must be available in order to run Eclipse. No Java virtual machine
was found after searching the following locations:
/home/artem/eclipse/jre/bin/java
java in your current PATH

我也在终端收到一条消息(在某​​个阶段它出现了):

(gnome-desktop-item-edit:8998): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.DSV8LW': No such file or directory

我正在使用Ubuntu 12.04 x32和eclipse Juno。

PS。 PATH变量指向jdk / bin和JAVA_HOME - 指向jdk文件夹

2 个答案:

答案 0 :(得分:0)

你可以进行发布" icon"通过使用符号链接:
ln -s [TARGET DIRECTORY OR FILE] [SHORTCUT]

答案 1 :(得分:0)

您只需使用图形界面

即可

右键点击eclipse。选择"Make link"。您将在文件夹中获得捷径。将快捷方式复制到桌面。完成:))

P.S: 顺便说一句,如果您不喜欢快捷方式的默认图标。他们看起来都一样丑陋。只需右键单击快捷方式,然后单击左侧的小图标,然后选择您喜欢的图像图标(例如:Eclipse图标)。

相关问题