How can I install the Spring Tool Suite in Ubuntu?

  1. Download the STS installer package (*.tar.gz) file to your downloads directory. At the time of this writing, that is...

    spring-tool-suite-3.9.5.RELEASE-e4.8.0-linux-gtk-x86_64.tar.gz
    
  2. Expand the archive...

    tar -xzf spring-tool-suite-3.9.5.RELEASE-e4.8.0-linux-gtk-x86_64.tar.gz
    
  3. Move the STS files to a good place for them to live. I like installing applications that will be possibly shared by multiple users, to the /opt/... directory.

    sudo mv sts-bundle /opt/sts
    
  4. Stealing the rest of this from @Sangimed, because his answer was very good too.

    Create the Menu icon for quick access...

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

    Enter the following content

    [Desktop Entry]
    Name=SpringSource Tool Suite
    Comment=SpringSource Tool Suite
    Exec=/opt/sts/sts-3.9.5.RELEASE/STS
    Icon=/opt/sts/sts-3.9.5.RELEASE/icon.xpm
    StartupNotify=true
    Terminal=false
    Type=Application
    Keywords=Java,Eclipse,Spring,IDE,Development
    Categories=Development;IDE;Java;
    

Now you can just hit the "Windows" key on your keyboard and type "spring" to launch the application, like any other properly installed application on your Desktop.


Extract tar.gz file wherever you want

(for 64 Bit)

sudo tar -xvf spring-tool-suite-3.7.0.RELEASE-e4.5-linux-gtk-x86_64.tar.gz

(or for 32 Bit)

sudo tar -xvf spring-tool-suite-3.7.0.RELEASE-e4.5-linux-gtk.tar.gz

and you can start to use (/sts-bundle/sts-3.7.0.RELEASE/STS).


  1. Extract the file
  2. Go to sts-bundle>sts-3.8.1.RELEASE and click on STS
  3. Start using

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

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