Linux下安装和使用Eclipse

1.安装JDK
2.下载eclipse 安装文件 链接http://www.eclipse.org/downloads/
3.在一次给这个文件权限
    [root@localhost local]# chmod 755 eclipse-jee-Indigo-linux-gtk.tar.gz
4.解压文件
    [root@localhost local]#  tar -zxvf eclipse-jee-Indigo-linux-gtk.tar.gz

    或者是解压到指定目录

 [root@master Downloads]# tar -zxvf eclipse-java-kepler-R-linux-gtk.tar.gz -C /usr/local

5.运行
     [root@localhost local]# ./eclipse/eclipse
6.创建桌面的快捷方式
   在桌面单机 --》点击create 或者new launcher --->你会看到Type、name、Command、comment、 你对Type 的选择一般默认是Application。 name 就不要解释了吧   Command 你要点击 Browse 选择你安装Eclipse 的目录下的可执行的eclipse 的路径。如我的路径是/usr/local/eclipse/eclipse   最后点击OK 就行了

7.用于调试的tomcat可以在Eclipse里安装

补充:

8.先建 User Library

Preferences->Java->Build Path->User Libraries

new 

Add Jars

扫描二维码关注公众号,回复: 1349329 查看本文章

如下图:



 

猜你喜欢

转载自yeelor.iteye.com/blog/1136359