Install Spring Tool Suite on Ubuntu

This post is about installing Spring Tool Suite (STS) on Ubuntu. The Spring Tool Suite is an Eclipse-based development environment that is customized for developing Spring applications.

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 nano /usr/share/applications/STS.desktop
Step 4:Enter the following content
[Desktop Entry]
Name=SpringSource Tool Suite
Comment=SpringSource Tool Suite
Exec=/home/harishshan/springsource/sts-3.4.0-RELEASE/STS
Icon=/home/harishshan/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"

Comments

  1. Thanks for the helpful quick access template!

    ReplyDelete
  2. Thanks man, this worked perfect! in Linux Solus.

    ReplyDelete
  3. Mine is not working. Can't find the execution field

    ReplyDelete
    Replies
    1. Looks like as of STS4 they now use SpringToolSuite4 as the exec instead of STS

      Delete
    2. For STS4, change this line:
      Exec=/folder_unzipped_into/sts-{version}-RELEASE/SpringToolSuite4

      Delete
  4. I use Ubuntu 18.04 and Ihave two very basic questions:
    - what is Quick Menu?
    - do I have to restart my machine to have all this working?

    ReplyDelete
  5. 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

    ReplyDelete
  6. I am sorry, where is this "Quick Menu " to check if the installation was successful, do you mean the command line

    ReplyDelete

Post a Comment

Popular posts from this blog

Install Hadoop 2.5.1 on Windows 7 - 64Bit Operating System

How to fix Kindle wrong time left in chapter book