ubuntu18.04下安装eclipse jee

ubuntu18 下安装 eclipse

1.要使用eclipse首先配置jdk以及jre的java环境变量。前边已经写过了这里就不写了详情点击

2.到eclipse官网下载eclipse jee。

ubuntu18 下安装 eclipse

在这里我下载了linux64位压缩包版本的

3.下载完成后将文件移动到 /opt/eclipse-jee文件夹

ubuntu18 下安装 eclipse

4.解压压缩包

tar xzvf eclipse-jee-2018-09-linux-gtk-x86_64.tar.gz

5.创建eclipse桌面快捷图标

(1)编辑eclipse.desktop

cd /usr/share/applications
vim eclipse.desktop

(2)在文件中写入(其中“Exec=”后面为eclipse安装目录下的eclipse程序的位置路径,“Icon=”后面为eclipse安装目录下的图标图片的路径)

按 Ctrl+C 复制代码

 

按 Ctrl+C 复制代码

ubuntu18 下安装 eclipse

6.将eclipse变为可执行文件

chmod u+x eclipse.desktop

7.在/usr/share/applications目录下即可打开eclipse(也可以复制到桌面打开)

ubuntu18 下安装 eclipse

出现问题打不开时 复制jre文件到/opt/eclipse-jee/eclipse/

 

ubuntu18 下安装 eclipse

 

eclipse 安装

相关文章: