在Ubuntu 7.10上安装Eclipse 3.3.1之前,请确保已经正确安装JDK。
Download Eclipse SDK from its main site (Choose Eclipse Classic) :
http://www.eclipse.org/downloads/Extract the eclipse download and move to /opt.
如果想把eclipse目录的更改为root拥有,可以执行下面的命令
sudo chown -R root:root /opt/eclipse
当然也可以不用。
Then create an eclipse executable
sudo touch /usr/bin/eclipse
sudo chmod 755 /usr/bin/eclipse
Create the file
sudoedit /usr/bin/eclipse
With the content:
#!/bin/sh
export MOZILLA_FIVE_HOME=”/usr/lib/mozilla/”
export ECLIPSE_HOME=”/opt/eclipse”
$ECLIPSE_HOME/eclipse $*
If you use gnome, create a shortcut
sudoedit /usr/share/applications/eclipse.desktop
With the content :
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse IDE
Exec=eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true
在桌面或者启动面板上添加图标:
在桌面(右键单击桌面->创建启动器)或面板(右键单击面板->添加到面板 ->定制应用程序启动器)上创建一个新的启动器,然后添加下列数据:
名称:Eclipse Platform
命令:eclipse
图标:/opt/eclipse/icon.xpm在Ubuntu 7.10下安装JDK 6u3Ubuntu 7.10正式版新特性认识相关资讯 ubuntu 7.10
- DELL Inspiron 1520在Ubuntu7.10下 (07/08/2008 06:41:09)
- 使用Ubuntu 7.10的 LIVE CD破解 (04/29/2008 05:37:50)
- Ubuntu 7.10下为KDE 4.0安装中文支 (01/26/2008 23:50:31)
| - Sony PSP上运行Linux,PSP版Ubuntu (06/19/2008 18:54:58)
- Ubuntu 7.10中安装skype(配图) (03/05/2008 20:51:50)
- Ubuntu 7.10 下C语言代码检查辅助 (01/23/2008 16:50:18)
|
本文评论 查看全部评论 (0)