Ubuntu11.10下手工安装eclipse3.7.1详细步骤
2011-11-03 00:57
423 查看
1. 先下载eclipse-SDK-3.7.1-linux-gtk.tar.gz http://eclipse.org/downloads
2.解压eclipse-SDK-3.7.1-linux-gtk.tar.gz 到 安装目录 /usr/local/
tar -zxvf eclipse-SDK-3.7.1-linux-gtk.tar.gz /usr/local/
//设置eclipse目录权限为当前用户
sudo chown -R husw:husw eclipse
//如果你要用root启动的话,设置如下
sudo chown -R root:root eclipse
//命令行启动 解压完成即可启动的
sudo /usr/local/eclipse/eclipse
3. 创建Ubuntu的eclipse菜单(可选)
sudo gedit /usr/share/applications/eclipse.desktop
添加如下内容:
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Eclipse3.7.1
Exec=eclipse
TryExec=eclipse
Comment=Eclipse3.7.1,EclipseSDK
Exec=/usr/local/eclipse/eclipse
Icon=/usr/local/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=Application;Development;
此时你已经可以在/usr/share/applications/中看到Eclipse图标
4. 创建启动器
sudo gedit /usr/bin/eclipse
添加如下内容
#!/bin/sh
export MOZILLA_FIVE_HOME="/usr/lib/mozilla/"
export ECLIPSE_HOME="/usr/local/eclipse"
$ECLIPSE_HOME/eclipse $*
添加可执行权限
sudo chmod +x /usr/bin/eclipse
2.解压eclipse-SDK-3.7.1-linux-gtk.tar.gz 到 安装目录 /usr/local/
tar -zxvf eclipse-SDK-3.7.1-linux-gtk.tar.gz /usr/local/
//设置eclipse目录权限为当前用户
sudo chown -R husw:husw eclipse
//如果你要用root启动的话,设置如下
sudo chown -R root:root eclipse
//命令行启动 解压完成即可启动的
sudo /usr/local/eclipse/eclipse
3. 创建Ubuntu的eclipse菜单(可选)
sudo gedit /usr/share/applications/eclipse.desktop
添加如下内容:
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Eclipse3.7.1
Exec=eclipse
TryExec=eclipse
Comment=Eclipse3.7.1,EclipseSDK
Exec=/usr/local/eclipse/eclipse
Icon=/usr/local/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=Application;Development;
此时你已经可以在/usr/share/applications/中看到Eclipse图标
4. 创建启动器
sudo gedit /usr/bin/eclipse
添加如下内容
#!/bin/sh
export MOZILLA_FIVE_HOME="/usr/lib/mozilla/"
export ECLIPSE_HOME="/usr/local/eclipse"
$ECLIPSE_HOME/eclipse $*
添加可执行权限
sudo chmod +x /usr/bin/eclipse
相关文章推荐
- Linux安装JDK及eclipse详细步骤
- SVN服务器端、客户端安装以及集成到eclipse的详细步骤(转)
- 在eclipse中安装groovy插件详细步骤
- Eclipse安装及配置Python插件详细步骤
- 在eclipse中安装groovy插件详细步骤
- SVN服务器端、客户端安装以及集成到eclipse的详细步骤
- Ubuntu 16.04 安装 JDK 及 Eclipse 详细步骤
- 在Ubuntu11.10中安装OpenCV2.3.1的详细步骤
- 在eclipse中安装groovy插件详细步骤
- Eclipse的详细安装步骤
- Ubuntu JDK与Eclipse安装配置的详细步骤
- Ubuntu下安装jdk、eclipse和tomcat详细步骤
- 在eclipse中安装groovy插件详细步骤
- maven+eclipse环境搭建详细步骤和TortoiseGit安装与配置
- CentOS中安装eclipse详细步骤
- SVN服务器端、客户端安装以及集成到eclipse的详细步骤
- [JIRA] 最新Linux安装版本jira6.3.6安装破解以及数据导入的详细步骤
- Mac 安装 nodejs方法(图文详细步骤)
- Centos7.0安装MySql数据库详细步骤
- 新手硬盘安装Ubuntu详细步骤