CentOS 7 安装Spring Tool Suite™

1、下载sts到本地,下载地址:

http://download.springsource.com/release/STS/3.9.3.RELEASE/dist/e4.7/spring-tool-suite-3.9.3.RELEASE-e4.7.3-linux-gtk-x86_64.tar.gz

2、进入下载目录,然后解压缩到opt目录

[root[@ou](https://my.oschina.net/u/3278101) Downloads]# tar -xzvf spring-tool-suite-3.9.3.RELEASE-e4.7.3-linux-gtk-x86_64.tar.gz -C /opt

3、使用符号建立软链接

[root@ou Downloads]# ln -s /opt/sts-bundle/sts-3.9.3.RELEASE/STS /usr/bin/sts

4、在应用菜单栏生成启动项

gedit /usr/share/applications/sts.desktop

在sts.desktop文件中输入以下信息后保存。

[Desktop Entry]
Encoding=UTF-8
Name=Spring Tool Suite 
Comment=3.9.3.RELEASE
Exec=/usr/bin/sts
Icon=/opt/sts-bundle/sts-3.9.3.RELEASE/icon.xpm
Terminal=false
StartupNotify=true
Type=Application
Categories=Application;Development;

猜你喜欢

转载自my.oschina.net/ouyushan/blog/1790553