Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I install the Spring Tool Suite in Ubuntu?

How do I install STS on Ubuntu? I already downloaded the compressed STS tar.gz file from spring.io.

like image 706
syraz37 Avatar asked Jul 27 '15 20:07

syraz37


People also ask

How do I download spring Tool Suite in Ubuntu?

Go to the STS download page at http://spring.io/tools/sts/all , choose linux and your architecture(x86-x64). Once the download is finished, go to the downloaded directory and extract the . zip file into a convenient directory of your choice. Open the extracted sts-bundle directory, right click STS then just click run.

How do you install a spring tool suite from a jar?

Download SpringToolSuite as per the operating system to the local machine. Move the downloaded JAR file to the corresponding folder. Unzip this JAR file and open the corresponding folder. Click on the SpringToolSuite4 Application file.

How do I download spring boot Ubuntu?

Ubuntu users can run sudo apt-get install maven . Spring Boot dependencies use the org. springframework. boot groupId .


1 Answers

Step 1: Download the latest Spring Tool Suite for Linux from STS official website: http://spring.io/tools/sts/all

Step 2: Extract into any folder which you prefer. My extracted Spring Tool Suite locations is /home/harishshan/springsource

Step 3: Create the Menu icon for quick access

sudo vim /usr/share/applications/STS.desktop 

Step 4: Enter the following content

[Desktop Entry] Name=SpringSource Tool Suite Comment=SpringSource Tool Suite Exec=~/springsource/sts-3.4.0-RELEASE/STS Icon=~/springsource/sts-3.4.0-RELEASE/icon.xpm StartupNotify=true Terminal=false Type=Application Categories=Development;IDE;Java; 

Step 5: Now you can check from Quick Menu by typing "Spring"

Note: Small additional update for Ubuntu 18.04 & STS 4+ use Absolute path instead of relative. Use Exec=/home/harishshan/springsource/sts-3.4.0-RELEASE/STS Icon=/home/harishshan/springsource/sts-3.4.0-RELEASE/icon.xpm dont'use Exec=~somedir/harishshan/springsource/sts-3.4.0-RELEASE/STS Icon=~somedir/springsource/sts-3.4.0-RELEASE/icon.xpm

Source : http://harishshan.blogspot.fr/2014/05/install-spring-tool-suite-on-ubuntu.html

like image 65
Sangimed Avatar answered Sep 22 '22 07:09

Sangimed