ubuntu下eclipse配置

1、官方下载:http://www.eclipse.org/downloads/

2、解压到指定目录:/opt
tar -zxvf eclipse-* -C /opt

(1)如果想把eclipse目录的更改为root拥有,可以执行下面的命令
sudo chown -R root:root /opt/eclipse

(2)在/usr/bin目录下创建一个启动脚本eclipse:
sudo gedit /usr/bin/eclipse

然后在该文件中添加以下内容:
#!/bin/sh
export MOZILLA_FIVE_HOME=”/usr/lib/mozilla/”
export ECLIPSE_HOME=”/opt/eclipse/eclipse”

$ECLIPSE_HOME $*

(3)让修改该脚本的权限,让它变成可执行,执行下面的命令:
sudo chmod +x /usr/bin/eclipse

3、在桌面或者gnome菜单中添加eclipse启动图标

(1)在桌面或者启动面板上添加图标:
在桌面(右键单击桌面->创建启动器)或面板(右键单击面板->添加到面板 ->定制应用程序启动器)上创建一个新的启动器,然后添加下列数据:

名称:Eclipse Platform
命令:eclipse
图标: /opt/eclipse/icon.xpm

(2)在Applications(应用程序)菜单上添加一个图标
用文本编辑器在/usr/share/applications目录里新建一个名为eclipse.desktop的启动器,如下面的命令:

sudo vi /usr/share/applications/eclipse.desktop
或者
sudo gedit /usr/share/applications/eclipse.desktop

然后在文件中添加下列内容:

[Desktop Entry]
Encoding=UTF-8
Name=Eclipse Platform
Comment=Eclipse IDE
Exec=eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
StartupNotify=true
Type=Application
Categories=Application;Development;

保存文件。完成整个安装过程。可以双击桌面eclipse的图标来运行eclipse。

 


4,SVN插件地址:
    Subversive svn官方插件
    http://www.polarion.com/products/svn/subversive/download.php?utm_source=eclipse.org&utm_medium=link&utm_campaign=subversive#svncon
        * http://download.eclipse.org/technology/subversive/0.7/update-site/ - [required] Subversive plug-in
        * http://community.polarion.com/projects/subversive/download/eclipse/2.0/update-site/ - [required] Subversive SVN Connectors
        * http://community.polarion.com/projects/subversive/download/integrations/update-site/ - [optional] Subversive Integrations
    Subclipse 更新快(推荐)
    http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA
        Links for 1.6.x Release:
        Changelog: http://subclipse.tigris.org/subclipse_1.6.x/changes.html
        Eclipse update site URL: http://subclipse.tigris.org/update_1.6.x
        Zipped downloads: http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240

5,Aptana编辑器:
If you are already an Eclipse user, you can install Aptana as a plug-in directly into your current Eclipse configuration.

 

Aptana Studio 2.0.5 Eclipse Plugin, All Platforms

download address:   http://download.aptana.com/tools/studio/plugin/install/studio

for more information: http://www.aptana.com




6,tomcat插件安装
http://www.eclipsetotale.com/tomcatPlugin.html#A3

Installation

    *

      This plugin does not contain Tomcat.
      (Download and install Tomcat before using this plugin).
      This is a design choice not to include Tomcat in the plugin distribution, this way the same plugin version can works with any Tomcat version.
    *

      Download tomcatPluginVxxx.zip
    *

      Unzip it in :
      - Eclipse_Home/dropins for Eclipse 3.4, 3.5 and 3.6
      - Eclipse_Home/plugins for Eclipse 2.1, 3.0, 3.1, 3.2 and 3.3
    *

      Plugin activation for Eclipse 3.x :
      - launch eclipse once using this option : -clean
      - if Tomcat icons are not shown in toolbar : select menu 'Window>Customize Perspective...>Commands', and check 'Tomcat' in 'Available command groups'
    *

      Set Tomcat version and Tomcat home : Workbench -> Preferences, select Tomcat and set Tomcat version and Tomcat home (Tomcat version and Tomcat home are the only required fields, other settings are there for advanced configuration).
    *

      This plugin launches Tomcat using the default JRE checked in Eclipe preferences window.
      To set a JDK as default JRE for Eclipse open the preference window : Window -> Preferences -> Java -> Installed JREs.
      This JRE must be a JDK (This is a Tomcat prerequisite).
    *

      The plugin sets itself Tomcat classpath and bootclasspath. Use Preferences -> Tomcat ->JVM Settings, only if you need specific settings.

   
到tomcat根目录下修改:
conf下:
    tomcat-users.xml context.xml server.xml web.xml 权限为可写
workCatalina/localhost下:
    所有文件权限可写

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值