How to Install Spring tool suite(STS 4) in Ubuntu 22.04

install-spring-tool-suite
Spread the love

What is Spring Tool Suite ?

Spring Tool Suite (STS 4) is an integrated development environment (IDE) specifically designed for developing Spring-based applications. It is built on top of the Eclipse IDE platform and provides a comprehensive set of tools and features to simplify the development process for Spring projects.

STS 4 offers a range of features that enhance productivity and facilitate the creation of Spring applications. It includes support for various Spring frameworks, such as Spring Boot, Spring MVC, Spring Data, and more. The IDE provides features like intelligent code completion, code navigation, and refactoring capabilities, which help developers write code faster and with fewer errors.

One of the key features of STS 4 is its support for Spring Boot. It offers a dedicated wizard that allows developers to quickly create Spring Boot projects with minimal configuration. The IDE also provides a graphical interface to manage and configure Spring Boot applications, making it easier to work with Spring Boot’s auto-configuration and dependency management capabilities.

In summary, Spring Tool Suite (STS 4) is an IDE tailored for developing Spring applications, providing a range of features and tools to streamline the development process and enhance productivity.

Install Spring tool suite(STS 4)

Step 1 – Open your terminal and run the following commands to update your system.

sudo apt-get update

Step 2 – Download the STS installer package (*.tar.gz) file to your downloads directory.

Visit the official website for the latest package and download linux tar file. 

click here: https://spring.io/tools

Step 3 – Extract tar.gz and Unzip it.

tar -xzf spring-tool-suite-4-4.18.1.RELEASE-e4.27.0-linux.gtk.x86_64.tar.gz

Step 4 – Move the file to “/opt” folder.

Now run the following command to move the STS package to OPT folder.

sudo mv source destination

Example:

sudo mv /Downloads/sts-4.18.1.RELEASE /opt/

Let’s verify the copy action was succesful by running the following commands.

cd /opt/sts-4.18.1.RELEASE/

ls  – It will list the available files and folders under sts-4.18.1.RELEASE folder.

Run the following command to open ide.

./SpringToolSuite4

Step 5 – Create the Menu icon for quick access.

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

Step 6 – Enter the following content and save it.

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

Step 7 – 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.

Also Read: IoT Security Challenges and Solutions


Spread the love

Be the first to comment

Leave a Reply

Your email address will not be published.


*